From 18582a8b08a35403dbfa4f78fd9c035cdababd27 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sat, 22 Feb 2014 09:13:22 +0100 Subject: [PATCH] Added translation files to spec-file template --- gnome-shell-extension-panel-osd.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnome-shell-extension-panel-osd.spec b/gnome-shell-extension-panel-osd.spec index 6bdee90..2f49797 100644 --- a/gnome-shell-extension-panel-osd.spec +++ b/gnome-shell-extension-panel-osd.spec @@ -5,7 +5,7 @@ Name: gnome-shell-extension-panel-osd Version: 0 -Release: 0.1.%(date +%Y%m%d).%{checkout}%{?dist} +Release: 0.2.%(date +%Y%m%d).%{checkout}%{?dist} Summary: An extension to show the notification messages below the top-panel instead of above the message tray Group: User Interface/Desktops @@ -34,12 +34,24 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} +%find_lang %{name} -%files +%postun +if [ $1 -eq 0 ] ; then + %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi + +%posttrans +%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + +%files -f %{name}.lang %doc AUTHORS COPYING README.md +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.openweather.gschema.xml %{_datadir}/gnome-shell/extensions/%{uuid}/ %changelog +* Sat Feb 22 2014 Jens Lody +- Added translation files, needed for newest upstream. * Sun Jan 26 2014 Jens Lody - Initial package for Fedora of the panel-osd-extension fork