X-Git-Url: https://git.pld-linux.org/?p=packages%2Fxfce4-timer-plugin.git;a=blobdiff_plain;f=xfce4-timer-plugin.spec;h=b7cda135bcc834e8a5e473d690ab27191935912e;hp=756d63d71ca82c6375d5e95a2ef5bbca94b20d75;hb=HEAD;hpb=5b06a5b2e5f2495f6ff94a1fb026e6802f855d0b diff --git a/xfce4-timer-plugin.spec b/xfce4-timer-plugin.spec index 756d63d..b7cda13 100644 --- a/xfce4-timer-plugin.spec +++ b/xfce4-timer-plugin.spec @@ -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