]> git.pld-linux.org Git - packages/xfce4-timer-plugin.git/blobdiff - xfce4-timer-plugin.spec
- up to 1.7.2
[packages/xfce4-timer-plugin.git] / xfce4-timer-plugin.spec
index 756d63d71ca82c6375d5e95a2ef5bbca94b20d75..b7cda135bcc834e8a5e473d690ab27191935912e 100644 (file)
@@ -1,21 +1,22 @@
 Summary:       Xfce panel timer plugin
 Summary(pl.UTF-8):     Wtyczka panelu Xfce odliczająca czas
 Name:          xfce4-timer-plugin
-Version:       0.6.1
-Release:       2
+Version:       1.7.2
+Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://goodies.xfce.org/releases/xfce4-timer-plugin/%{name}-%{version}.tar.bz2
-# Source0-md5: ba5ae0e25f69517338f74a27fbaf4ca2
+Source0:       http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/%{name}-%{version}.tar.bz2
+# Source0-md5: 7ef3c9ed6829ce810b26801f5ab6907a
 URL:           http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: intltool
 BuildRequires: libtool
+BuildRequires: libxfce4ui-devel
 BuildRequires: pkgconfig
-BuildRequires: xfce4-dev-tools >= 4.4.0
-BuildRequires: xfce4-panel-devel >= 4.4.0
-Requires:      xfce4-panel >= 4.4.0
+BuildRequires: xfce4-dev-tools >= 4.14.0
+BuildRequires: xfce4-panel-devel >= 4.14.0
+Requires:      xfce4-panel >= 4.14.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,7 +31,6 @@ zdarzeniu, bądź po upływie określonego odcinka czasu.
 %setup -q
 
 %build
-%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -45,16 +45,24 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfcetimer.la
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie,ur_PK}
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-timer
-%{_datadir}/xfce4/panel-plugins/xfce4-timer.desktop
+%doc AUTHORS ChangeLog README.md TODO
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfcetimer.so
+%{_iconsdir}/hicolor/*x*/apps/xfce4-timer-plugin.png
+%{_iconsdir}/hicolor/scalable/apps/xfce4-timer-plugin.svg
+%{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop
This page took 0.165918 seconds and 4 git commands to generate.