diff --git a/README.md b/README.md index 3d8be69..7e54add 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # font-manager +A simple font management application for GTK Desktop Environments. + diff --git a/font-manager.spec b/font-manager.spec new file mode 100644 index 0000000..c184847 --- /dev/null +++ b/font-manager.spec @@ -0,0 +1,109 @@ +Name: font-manager +Version: 0.8.8 +Release: 1mamba +Summary: A simple font management application for GTK Desktop Environments +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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: libsoup2-devel +BuildRequires: libsqlite-devel +BuildRequires: libwebkit2gtk-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} || 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 +%lang(am) %{_datadir}/help/am/font-manager +%lang(af) %{_datadir}/help/ar/font-manager +%lang(ca) %{_datadir}/help/ca/font-manager +%lang(de) %{_datadir}/help/de/font-manager +%lang(eo) %{_datadir}/help/eo/font-manager +%lang(es) %{_datadir}/help/es/font-manager +%lang(fr) %{_datadir}/help/fr/font-manager +%lang(hr) %{_datadir}/help/hr/font-manager +%lang(id) %{_datadir}/help/id/font-manager +%lang(it) %{_datadir}/help/it/font-manager +%lang(ja) %{_datadir}/help/ja/font-manager +%lang(nb_NO) %{_datadir}/help/nb_NO/font-manager +%lang(nl) %{_datadir}/help/nl/font-manager +%lang(oc) %{_datadir}/help/oc/font-manager +%lang(pl) %{_datadir}/help/pl/font-manager +%lang(pt_BR) %{_datadir}/help/pt_BR/font-manager +%lang(ro) %{_datadir}/help/ro/font-manager +%lang(ru) %{_datadir}/help/ru/font-manager +%lang(si) %{_datadir}/help/si/font-manager +%lang(sl) %{_datadir}/help/sl/font-manager +%lang(sv) %{_datadir}/help/sv/font-manager +%lang(tr) %{_datadir}/help/tr/font-manager +%lang(uk) %{_datadir}/help/uk/font-manager +%lang(zh_Hans) %{_datadir}/help/zh_Hans/font-manager +%lang(zh_Hant) %{_datadir}/help/zh_Hant/font-manager +%lang(zh_Hant_HK) %{_datadir}/help/zh_Hant_HK/font-manager +%{_datadir}/icons/hicolor/*/apps/org.gnome.Font*.png +%{_mandir}/man1/font-manager.1* +%doc COPYING + +%changelog +* Sat Sep 10 2022 Silvan Calarco 0.8.8-1mamba +- package created using the webbuild interface