]>
Commit | Line | Data |
---|---|---|
f4790051 | 1 | # TODO: change avfs-static to avfs-devel |
4a5df9f0 | 2 | # |
3 | # Conditional build: | |
4 | %bcond_without avfs # build without A Virtual Filesystem (avfs) support | |
5 | # | |
254718ae | 6 | %define doc_version 2.10.0 |
4a5df9f0 | 7 | %define doc_release 2 |
254718ae | 8 | %define doc_dir %{name}-%{doc_version}.%{doc_release}-doc |
07b5c90a | 9 | Summary: A file manager for X in AMIGA style |
ffb9a0cb | 10 | Summary(pl.UTF-8): Zarządca plików dla X w amigowskim stylu |
07b5c90a | 11 | Name: worker |
7bd45672 | 12 | Version: 2.17.1 |
07b5c90a | 13 | Release: 1 |
f4790051 | 14 | License: GPL v2+ |
c7c91bbf | 15 | Group: Applications/File |
07b5c90a | 16 | Source0: http://www.boomerangsworld.de/worker/downloads/%{name}-%{version}.tar.bz2 |
7bd45672 | 17 | # Source0-md5: bcde4611e2c566f6fa782fc905d72780 |
254718ae | 18 | Source1: http://www.boomerangsworld.de/worker/downloads/%{name}-%{doc_version}.%{doc_release}-doc.tar.bz2 |
4a5df9f0 | 19 | # Source1-md5: d7df227f6dd43a26651dc07590699148 |
07b5c90a | 20 | Source2: %{name}-48.png |
21 | Source3: %{name}-32.png | |
22 | Source4: %{name}-16.png | |
6aff0436 | 23 | Source5: %{name}.desktop |
07b5c90a | 24 | URL: http://www.boomerangsworld.de/worker/ |
4a5df9f0 | 25 | %{?with_avfs:BuildRequires: avfs-static >= 0.9.5} |
07b5c90a | 26 | BuildRequires: bzip2-devel |
d749ce79 | 27 | BuildRequires: libstdc++-devel |
f4790051 | 28 | BuildRequires: xorg-lib-libX11-devel |
07b5c90a | 29 | BuildRequires: zlib-devel |
204ce89b | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
07b5c90a | 31 | |
32 | %description | |
204ce89b | 33 | Worker is a graphical filemanager for the X Window System. It uses the |
34 | classical two-panel-view of the files and directories. It has many | |
35 | intern operations while any extern program can also be used for | |
36 | operate on the selected items. You can easily add actions to filetypes | |
37 | or buttons with the builtin configuration program. | |
07b5c90a | 38 | |
78c091aa JR |
39 | %description -l pl.UTF-8 |
40 | Woker jest graficznym zarządcą plików dla X Window System. Używa | |
41 | klasycznego widoku dwóch paneli z listą plików i katalogów. Wiele | |
42 | operacji potrafi wykonać samodzielnie, ale może też wykorzystać | |
43 | zewnętrzne programy do działania na zaznaczonych elementach. Nowe | |
44 | opcje można łatwo dodawać przy użyciu wbudowanego programu | |
4a5df9f0 | 45 | konfiguracyjnego. |
07b5c90a | 46 | |
47 | %prep | |
07b5c90a | 48 | %setup -q -a 1 |
49 | ||
50 | %build | |
4a5df9f0 | 51 | %configure \ |
52 | %{!?with_avfs:--with-avfs=no} | |
53 | ||
07b5c90a | 54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
6aff0436 | 58 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} |
c7c91bbf | 59 | |
07b5c90a | 60 | %{__make} install \ |
61 | DESTDIR=$RPM_BUILD_ROOT | |
c7c91bbf | 62 | |
07b5c90a | 63 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
64 | install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir} | |
65 | install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir} | |
6aff0436 | 66 | install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir} |
07b5c90a | 67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
ffc1eab6 | 73 | %doc README NEWS AUTHORS ChangeLog %{doc_dir}/English %{doc_dir}/Deutsch %{doc_dir}/pics %{doc_dir}/index.html |
07b5c90a | 74 | %attr(755,root,root) %{_bindir}/* |
c7c91bbf JB |
75 | %dir %{_datadir}/worker |
76 | %attr(755,root,root) %{_datadir}/worker/scripts | |
6aff0436 | 77 | %{_desktopdir}/*.desktop |
c7c91bbf | 78 | %{_datadir}/worker/catalogs |
07b5c90a | 79 | %{_datadir}/worker/config-* |
80 | %{_mandir}/man1/worker.1* | |
b4a8f11c | 81 | %lang(fr) %{_mandir}/fr/man1/worker.1* |
6e69c2ba | 82 | %lang(it) %{_mandir}/it/man1/worker.1* |
07b5c90a | 83 | %{_pixmapsdir}/* |