From: aredridel Date: Wed, 15 Oct 2003 04:53:48 +0000 (+0000) Subject: - added X-Git-Tag: auto/ac/PhotoClip-0_2_2-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FPhotoClip.git;a=commitdiff_plain;h=56570b46e53b1356d2d24652f1bb9c8979ccd760 - added Changed files: PhotoClip.spec -> 1.1 --- 56570b46e53b1356d2d24652f1bb9c8979ccd760 diff --git a/PhotoClip.spec b/PhotoClip.spec new file mode 100644 index 0000000..87e60dd --- /dev/null +++ b/PhotoClip.spec @@ -0,0 +1,65 @@ +Summary: Simple image viewer for GNUstep +Summary(pl): Prosta przegl±darka obrazków dla ¶rodowiska GNUstep +Name: PhotoClip +Version: 0.2 +Release: 1 +License: GPL +Group: X11/Applications/Graphics +Source0: http://www.vaisburd.net/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: e1db43878df7d3c0deac59835e2e8151 +URL: http://www.vaisburd.net/%{name}/ +BuildRequires: gnustep-gui-devel >= 0.8.7 +Requires: gnustep-gui >= 0.8.7 +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 +This is PhotoClip, a simple image viewer application for GNUstep. + +%description -l pl +To jest PhotoClip - prosta przegl±darka obrazków dla ¶rodowiska +GNUstep. + +%prep +%setup -q + +%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 + +%files +%defattr(644,root,root,755) +%doc README +%dir %{_prefix}/System/Applications/PhotoClip.app +%attr(755,root,root) %{_prefix}/System/Applications/PhotoClip.app/PhotoClip +%dir %{_prefix}/System/Applications/PhotoClip.app/Resources +%{_prefix}/System/Applications/PhotoClip.app/Resources/*.desktop +%{_prefix}/System/Applications/PhotoClip.app/Resources/*.plist +%{_prefix}/System/Applications/PhotoClip.app/Resources/*.tiff +%dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu} +%dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos} +%dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo} +%attr(755,root,root) %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo}/PhotoClip +%{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp