]>
Commit | Line | Data |
---|---|---|
dfa07b2b PZ |
1 | Summary: PLD automatic update notification and upgrade wizard |
2 | Summary(pl): Program powiadamiania o aktualizacjach w PLD | |
3 | Name: LinuxUpdate | |
4 | Version: 0.1 | |
5 | Release: 1 | |
6 | Epoch: 0 | |
7 | License: GPL | |
8 | Group: X11/Applications | |
9 | Vendor: Patryk Zawadzki <patrys@pld-linux.org> | |
10 | Source0: http://wirusy.room-303.com/%{name}.tar.gz | |
11 | Requires: perl-Gtk2 | |
fbad15ef | 12 | Requires: perl-Gtk2-TrayIcon |
dfa07b2b PZ |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | ||
17 | %description -l pl | |
18 | ||
19 | %prep | |
20 | %setup -q -n %{name} | |
21 | ||
22 | %build | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | # create directories if necessary | |
27 | install -d $RPM_BUILD_ROOT{,/usr/share/pixmaps/LinuxUpdate,%{_bindir}} | |
28 | cp *.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/LinuxUpdate | |
29 | cp LinuxUpdate $RPM_BUILD_ROOT%{_bindir} | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %pre | |
35 | ||
36 | %post | |
37 | ||
38 | %preun | |
39 | ||
40 | %postun | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %dir /usr/share/pixmaps/LinuxUpdate | |
45 | %attr(644,root,root) /usr/share/pixmaps/LinuxUpdate/*.xpm | |
46 | %attr(755,root,root) %{_bindir}/* |