150 lines
4.7 KiB
RPMSpec
150 lines
4.7 KiB
RPMSpec
%global appname org.gnome.Characters
|
|
|
|
Name: gnome-characters
|
|
Version: 3.21.91.1
|
|
Release: 1%{?dist}
|
|
Summary: Character map application for GNOME
|
|
# Files from gtk-js-app are licensed under 3-clause BSD.
|
|
# Other files are GPL 2.0 or later.
|
|
License: BSD and GPLv2+
|
|
URL: https://wiki.gnome.org/Design/Apps/CharacterMap
|
|
Source0: https://download.gnome.org/sources/gnome-characters/3.21/%{name}-%{version}.tar.xz
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=770472
|
|
Patch0: 0001-build-Fix-appdata-installation.patch
|
|
|
|
# This package uses GtkWidget template, which was added in Gjs 1.43.3.
|
|
BuildRequires: gjs-devel >= 1.43.3, gtk3-devel, intltool, desktop-file-utils
|
|
BuildRequires: libappstream-glib, gobject-introspection-devel
|
|
Requires: gjs >= 1.43.3
|
|
|
|
# This package contains libunistring modules from Gnulib. If a recent
|
|
# enough version of libunistring is installed on the system, it will
|
|
# be used instead. However, as of today, the libunistring package in
|
|
# F22 is older and we try to avoid unnecessary dependency.
|
|
|
|
# BuildRequires: libunistring-devel
|
|
Provides: bundled(gnulib)
|
|
|
|
%description
|
|
Characters is a simple utility application to find and insert unusual
|
|
characters.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%make_install
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
%find_lang %{appname}
|
|
|
|
%check
|
|
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{appname}.desktop
|
|
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
touch --no-create %{_datadir}/icons/gnome &>/dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/gnome &>/dev/null || :
|
|
|
|
|
|
%files -f %{appname}.lang
|
|
%doc NEWS README
|
|
%license COPYING COPYINGv2
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/dbus-1/services/%{appname}.BackgroundService.service
|
|
%{_datadir}/appdata/%{appname}.appdata.xml
|
|
%{_datadir}/applications/%{appname}.desktop
|
|
%{_datadir}/dbus-1/services/%{appname}.service
|
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/scalable/categories/characters*.svg
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}-symbolic.svg
|
|
%{_datadir}/%{appname}
|
|
%{_datadir}/gnome-shell/search-providers/%{appname}.search-provider.ini
|
|
%{_libdir}/%{appname}
|
|
|
|
|
|
%changelog
|
|
* Sat Aug 27 2016 Kalev Lember <klember@redhat.com> - 3.21.91.1-1
|
|
- Update to 3.21.91.1
|
|
|
|
* Wed Apr 13 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
|
|
- Update to 3.20.1
|
|
|
|
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
|
|
- Update to 3.20.0
|
|
|
|
* Mon Mar 14 2016 Kalev Lember <klember@redhat.com> - 3.19.92-1
|
|
- Update to 3.19.92
|
|
|
|
* Tue Feb 16 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
|
|
- Update to 3.19.90
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Mon Dec 14 2015 Kalev Lember <klember@redhat.com> - 3.19.3-1
|
|
- Update to 3.19.3
|
|
|
|
* Sun Oct 11 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
|
|
- Update to 3.18.1
|
|
|
|
* Fri Oct 09 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.18.0-3
|
|
- Disable the search provider by default.
|
|
|
|
* Tue Sep 29 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.18.0-2
|
|
- Add symbolic icon and X-GNOME-Utilities desktop category.
|
|
|
|
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
|
|
- Update to 3.18.0
|
|
|
|
* Mon Aug 31 2015 Kalev Lember <klember@redhat.com> - 3.17.91-1
|
|
- Update to 3.17.91
|
|
|
|
* Fri Aug 21 2015 Matthias Clasen <mclasen@redhat.com> - 3.17.90-2
|
|
- Force-update the icon cache for the gnome theme. This is necessary
|
|
because icons were moved from gnome to hicolor, and if we don't update
|
|
the gnome icon cache, it hides the icons in lower hicolor theme.
|
|
This is a one-shot fix, and should be removed in the next package
|
|
update.
|
|
|
|
* Tue Aug 18 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
|
|
- Update to 3.17.90
|
|
|
|
* Wed Jul 29 2015 Daiki Ueno <dueno@redhat.com> - 3.17.4.1-1
|
|
- Update to 3.17.4.1
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Tue May 12 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-1
|
|
- Update to 3.16.2
|
|
|
|
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
|
|
- Update to 3.16.1
|
|
|
|
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
|
- Update to 3.16.0
|
|
|
|
* Tue Mar 17 2015 Daiki Ueno <dueno@redhat.com> - 3.15.92-1
|
|
- Initial packaging for Fedora
|