]> git.pld-linux.org Git - packages/xfce4-timer-plugin.git/blobdiff - xfce4-timer-plugin.spec
- rel 2
[packages/xfce4-timer-plugin.git] / xfce4-timer-plugin.spec
index 2eb31b7b85748a046aaaadccf519bffa93eaed3b..3d7ceaa41ae1ab868f46efd7c394ba4a0dc4a7b4 100644 (file)
@@ -1,18 +1,19 @@
 Summary:       Xfce panel timer plugin
 Summary(pl.UTF-8):     Wtyczka panelu Xfce odliczająca czas
 Name:          xfce4-timer-plugin
-Version:       0.6.1
+Version:       0.6.4
 Release:       2
 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/0.6/%{name}-%{version}.tar.bz2
+# Source0-md5: c2f9e113dcda742cd1559129b79f609b
+Patch0:                %{name}-libxfce4ui.patch
 URL:           http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: intltool
 BuildRequires: libtool
-BuildRequires: libxfcegui4-devel >= 4.2.0
+BuildRequires: libxfce4ui-devel
 BuildRequires: pkgconfig
 BuildRequires: xfce4-dev-tools >= 4.4.0
 BuildRequires: xfce4-panel-devel >= 4.4.0
@@ -29,6 +30,7 @@ zdarzeniu, bądź po upływie określonego odcinka czasu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__intltoolize}
@@ -47,15 +49,22 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/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
+%{_iconsdir}/hicolor/*x*/apps/xfce4-timer.png
This page took 0.080798 seconds and 4 git commands to generate.