]> git.pld-linux.org Git - packages/Zipper.git/blob - Zipper.spec
- tabs in preamble
[packages/Zipper.git] / Zipper.spec
1 Summary:        File archive viewer application for GNUstep
2 Summary(pl.UTF-8):      Przeglądarka plików archiwów dla GNUstepa
3 Name:           Zipper
4 Version:        1.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://xanthippe.dyndns.org/Zipper/%{name}-%{version}.tar.gz
9 # Source0-md5:  db9d9e88bd71fce128890adfd01b70c6
10 Patch0:         %{name}-initwitharguments.patch
11 URL:            http://xanthippe.dyndns.org/Zipper/
12 BuildRequires:  Renaissance-devel
13 BuildRequires:  gnustep-gui-devel >= 0.9.1
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/%{_lib}/GNUstep
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
24 %define         gscpu           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
25 %endif
26
27 %description
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
40 %description -l pl.UTF-8
41 Zipper to narzędzie do oglądania zawartości i rozpakowywania
42 skompresowanych archiwów.
43
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.
51
52 %prep
53 %setup -q -n %{name}
54 %patch0 -p1
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
This page took 0.044412 seconds and 3 git commands to generate.