font-manager/font-manager.spec

87 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: font-manager
Version: 0.8.9
Release: 1mamba
Summary: A simple font management application for GTK Desktop Environments
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://fontmanager.github.io/
Source: https://github.com/FontManager/font-manager.git/%{version}/font-manager-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpango-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libwebkit2gtk-4.1-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
%description
A simple font management application for GTK Desktop Environments.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name} --with-gnome || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/font-manager
%{_libdir}/font-manager/libfontmanager.so
%{_libdir}/font-manager/libfontmanager.so.*
%{_libexecdir}/font-manager/font-viewer
%{_datadir}/applications/org.gnome.FontManager.desktop
%{_datadir}/applications/org.gnome.FontViewer.desktop
%{_datadir}/dbus-1/services/org.gnome.FontManager.service
%{_datadir}/dbus-1/services/org.gnome.FontViewer.service
%{_datadir}/glib-2.0/schemas/org.gnome.FontManager.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.FontViewer.gschema.xml
%{_datadir}/gnome-shell/search-providers/org.gnome.FontManager.SearchProvider.ini
%{_datadir}/metainfo/org.gnome.FontManager.appdata.xml
%{_datadir}/metainfo/org.gnome.FontViewer.appdata.xml
%{_datadir}/help/C/font-manager
%{_datadir}/icons/hicolor/*/apps/org.gnome.Font*.png
%{_mandir}/man1/font-manager.1*
%doc COPYING
%changelog
* Sun May 26 2024 Automatic Build System <autodist@openmamba.org> 0.8.9-1mamba
- automatic version update by autodist
* Sat Sep 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-1mamba
- package created using the webbuild interface