From: aredridel Date: Sat, 15 May 2004 00:37:23 +0000 (+0000) Subject: - added X-Git-Tag: auto/ac/Zipper-0_8-1~2 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?p=packages%2FZipper.git;a=commitdiff_plain;h=16479c5c032cfe067fb7df73aa37478fec9f8377 - added Changed files: Zipper.spec -> 1.1 --- 16479c5c032cfe067fb7df73aa37478fec9f8377 diff --git a/Zipper.spec b/Zipper.spec new file mode 100644 index 0000000..0365f67 --- /dev/null +++ b/Zipper.spec @@ -0,0 +1,72 @@ +Summary: File archive viewer application for GNUstep +Name: Zipper +Version: 0.6 +Release: 1 +License: GPL +Group: X11/Applications +Source0: http://xanthippe.dyndns.org/Zipper/%{name}-%{version}.tar.gz +# Source0-md5: 6a385fd38e9e7a9c40efb259ff809482 +URL: http://xanthippe.dyndns.org/Zipper/ +BuildRequires: gnustep-gui-devel >= 0.9.1 +BuildRequires: Renaissance-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/%{_lib}/GNUstep + +%define libcombo gnu-gnu-gnu +%define gsos linux-gnu +%ifarch %{ix86} +%define gscpu ix86 +%else +# also s/alpha.*/alpha/, but we use only "alpha" arch for now +%define gscpu %{_target_cpu} +%endif + +%description +Zipper is a tool for inspecting the contents of a compressed archive and for +extracting. + +I know that there's a GNUstep port of the famous OpenUp application but I must +admit that for a living I have to use Windoze at work. After a while I got +quite used to Winzip's UI. Although I don't like some of its features, what I +really like is the content listing of an archive without actually having to +unpack it. This is what Zipper currently tries to mimic. This has also the +advantage that you don't have to unpack archives from networked volumes to your +local disk just to view what's in it. + +%prep +%setup -q -n %{name} + +%build +. %{_prefix}/System/Library/Makefiles/GNUstep.sh +%{__make} \ + OPTFLAG="%{rpmcflags}" \ + messages=yes + +%install +rm -rf $RPM_BUILD_ROOT +. %{_prefix}/System/Library/Makefiles/GNUstep.sh + +%{__make} install \ + GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%dir %{_prefix}/System/Applications/Zipper.app +%attr(755,root,root) %{_prefix}/System/Applications/Zipper.app/Zipper +%dir %{_prefix}/System/Applications/Zipper.app/Resources +%{_prefix}/System/Applications/Zipper.app/Resources/*.desktop +%{_prefix}/System/Applications/Zipper.app/Resources/*.plist +%{_prefix}/System/Applications/Zipper.app/Resources/*.tiff +%{_prefix}/System/Applications/Zipper.app/Resources/*.gsmarkup +%dir %{_prefix}/System/Applications/Zipper.app/%{gscpu} +%dir %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos} +%dir %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo} +%attr(755,root,root) %{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo}/Zipper +%{_prefix}/System/Applications/Zipper.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp