]>
Commit | Line | Data |
---|---|---|
16479c5c | 1 | Summary: File archive viewer application for GNUstep |
42310f0f | 2 | Summary(pl.UTF-8): Przeglądarka plików archiwów dla GNUstepa |
16479c5c | 3 | Name: Zipper |
548c211f | 4 | Version: 1.1 |
5 | Release: 1 | |
16479c5c | 6 | License: GPL |
7 | Group: X11/Applications | |
f79fa535 | 8 | Source0: http://xanthippe.dyndns.org/Zipper/%{name}-%{version}.tar.gz |
548c211f | 9 | # Source0-md5: db9d9e88bd71fce128890adfd01b70c6 |
eef57922 | 10 | Patch0: %{name}-initwitharguments.patch |
16479c5c | 11 | URL: http://xanthippe.dyndns.org/Zipper/ |
16479c5c | 12 | BuildRequires: Renaissance-devel |
f79fa535 | 13 | BuildRequires: gnustep-gui-devel >= 0.9.1 |
16479c5c | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
59cad5b7 | 16 | %define _prefix /usr/%{_lib}/GNUstep |
16479c5c | 17 | |
18 | %define libcombo gnu-gnu-gnu | |
19 | %define gsos linux-gnu | |
20 | %ifarch %{ix86} | |
21 | %define gscpu ix86 | |
22 | %else | |
23 | # also s/alpha.*/alpha/, but we use only "alpha" arch for now | |
2ded9c72 | 24 | %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/') |
16479c5c | 25 | %endif |
26 | ||
27 | %description | |
f79fa535 JB |
28 | Zipper is a tool for inspecting the contents of a compressed archive |
29 | and for extracting. | |
30 | ||
31 | I know that there's a GNUstep port of the famous OpenUp application | |
32 | but I must admit that for a living I have to use Windoze at work. | |
33 | After a while I got quite used to Winzip's UI. Although I don't like | |
34 | some of its features, what I really like is the content listing of an | |
35 | archive without actually having to unpack it. This is what Zipper | |
36 | currently tries to mimic. This has also the advantage that you don't | |
37 | have to unpack archives from networked volumes to your local disk just | |
38 | to view what's in it. | |
39 | ||
093f697b JR |
40 | %description -l pl.UTF-8 |
41 | Zipper to narzędzie do oglądania zawartości i rozpakowywania | |
42 | skompresowanych archiwów. | |
f79fa535 | 43 | |
093f697b JR |
44 | Autor jest świadom istnienia GNUstepowego portu słynnej aplikacji |
45 | OpenUp, ale jako że w pracy musi używać Windows, przyzwyczaił się do | |
46 | interfejsu Winzipa. Mimo że nie lubi niektórych jego cech, podoba mu | |
47 | się sposób wyświetlania zawartości archiwów bez potrzeby | |
48 | rozpakowywania ich. Właśnie to próbuje naśladować Zipper. Ma także tę | |
49 | zaletę, że nie trzeba rozpakowywać archiwów z woluminów sieciowych na | |
50 | dysk lokalny tylko w celu sprawdzenia co jest w środku. | |
16479c5c | 51 | |
52 | %prep | |
53 | %setup -q -n %{name} | |
eef57922 | 54 | %patch0 -p1 |
16479c5c | 55 | |
56 | %build | |
57 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
58 | %{__make} \ | |
59 | OPTFLAG="%{rpmcflags}" \ | |
60 | messages=yes | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
65 | ||
66 | %{__make} install \ | |
67 | GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %dir %{_prefix}/System/Applications/Zipper.app | |
78 | %attr(755,root,root) %{_prefix}/System/Applications/Zipper.app/Zipper | |
79 | %dir %{_prefix}/System/Applications/Zipper.app/Resources | |
80 | %{_prefix}/System/Applications/Zipper.app/Resources/*.desktop | |
81 | %{_prefix}/System/Applications/Zipper.app/Resources/*.plist | |
82 | %{_prefix}/System/Applications/Zipper.app/Resources/*.tiff | |
83 | %{_prefix}/System/Applications/Zipper.app/Resources/*.gsmarkup | |
84 | %dir %{_prefix}/System/Applications/Zipper.app/%{gscpu} | |
85 | %dir %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos} | |
86 | %dir %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo} | |
87 | %attr(755,root,root) %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo}/Zipper | |
88 | %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp |