]> git.pld-linux.org Git - packages/xfce4-timer-plugin.git/blob - xfce4-timer-plugin.spec
3a93f3ca43bda99627fcd764c3a3accee15f0826
[packages/xfce4-timer-plugin.git] / xfce4-timer-plugin.spec
1 Summary:        Xfce panel timer plugin
2 Summary(pl.UTF-8):      Wtyczka panelu Xfce odliczająca czas
3 Name:           xfce4-timer-plugin
4 Version:        1.7.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e0df5b6be30993719d084fc4f78a6218
10 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  intltool
14 BuildRequires:  libtool
15 BuildRequires:  libxfce4ui-devel
16 BuildRequires:  pkgconfig
17 BuildRequires:  xfce4-dev-tools >= 4.14.0
18 BuildRequires:  xfce4-panel-devel >= 4.14.0
19 Requires:       xfce4-panel >= 4.14.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This is a simple plugin that lets the user run an alarm at a specified
24 time or at the end of a specified countdown period.
25
26 %description -l pl.UTF-8
27 Wtyczka ta pozwala na powiadamianie o zdefiniowanym wcześniej
28 zdarzeniu, bądź po upływie określonego odcinka czasu.
29
30 %prep
31 %setup -q
32
33 %build
34 %{__libtoolize}
35 %{__aclocal}
36 %{__autoconf}
37 %{__autoheader}
38 %{__automake}
39 %configure \
40         --disable-static
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfcetimer.la
49 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ur_PK}
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %update_icon_cache hicolor
58
59 %postun
60 %update_icon_cache hicolor
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog README TODO
65 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfcetimer.so
66 %{_iconsdir}/hicolor/*x*/apps/xfce4-timer-plugin.png
67 %{_iconsdir}/hicolor/scalable/apps/xfce4-timer-plugin.svg
68 %{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop
This page took 0.058718 seconds and 2 git commands to generate.