font-manager/font-manager.spec

91 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: font-manager
Version: 0.9.0
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: libgraphene-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpango-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libwebkitgtk-6.0-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/com.github.FontManager.FontManager.desktop
%{_datadir}/applications/com.github.FontManager.FontViewer.desktop
%{_metainfodir}/com.github.FontManager.FontManager.metainfo.xml
%{_metainfodir}/com.github.FontManager.FontViewer.metainfo.xml
%{_datadir}/dbus-1/services/com.github.FontManager.FontManager.service
%{_datadir}/dbus-1/services/com.github.FontManager.FontViewer.service
%{_datadir}/glib-2.0/schemas/com.github.FontManager.FontManager.gschema.xml
%{_datadir}/glib-2.0/schemas/com.github.FontManager.FontViewer.gschema.xml
%{_datadir}/gnome-shell/search-providers/com.github.FontManager.FontManager.SearchProvider.ini
%{_datadir}/icons/hicolor/scalable/apps/com.github.FontManager.FontManager.svg
%{_datadir}/icons/hicolor/scalable/apps/com.github.FontManager.FontViewer.svg
%{_mandir}/man1/font-manager.1*
%doc COPYING
%changelog
* Fri Jul 05 2024 Automatic Build System <autodist@openmamba.org> 0.9.0-1mamba
- automatic version update by autodist
* 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