]> git.pld-linux.org Git - packages/PhotoClip.git/blob - PhotoClip.spec
8e72dc35225c51c8c0da3586d96997b88b80dc43
[packages/PhotoClip.git] / PhotoClip.spec
1 Summary:        Simple image viewer for GNUstep
2 Summary(pl):    Prosta przegl±darka obrazków dla ¶rodowiska GNUstep
3 Name:           PhotoClip
4 Version:        0.2.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://www.vaisburd.net/PhotoClip/%{name}-%{version}.tar.gz
9 # Source0-md5:  b4af33ab977cafb352b68005183174d9
10 URL:            http://www.vaisburd.net/PhotoClip/
11 BuildRequires:  gnustep-gui-devel >= 0.8.7
12 Requires:       gnustep-gui >= 0.8.7
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/%{_lib}/GNUstep
16
17 %define         libcombo        gnu-gnu-gnu
18 %define         gsos            linux-gnu
19 %ifarch %{ix86}
20 %define         gscpu           ix86
21 %else
22 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
23 %define         gscpu           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
24 %endif
25
26 %description
27 This is PhotoClip, a simple image viewer application for GNUstep.
28
29 %description -l pl
30 To jest PhotoClip - prosta przegl±darka obrazków dla ¶rodowiska
31 GNUstep.
32
33 %prep
34 %setup -q -n %{name}
35
36 %build
37 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
38 %{__make} \
39         OPTFLAG="%{rpmcflags}" \
40         messages=yes
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
45
46 %{__make} install \
47         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %dir %{_prefix}/System/Applications/PhotoClip.app
56 %attr(755,root,root) %{_prefix}/System/Applications/PhotoClip.app/PhotoClip
57 %dir %{_prefix}/System/Applications/PhotoClip.app/Resources
58 %{_prefix}/System/Applications/PhotoClip.app/Resources/*.desktop
59 %{_prefix}/System/Applications/PhotoClip.app/Resources/*.plist
60 %{_prefix}/System/Applications/PhotoClip.app/Resources/*.tiff
61 %dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}
62 %dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}
63 %dir %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo}
64 %attr(755,root,root) %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo}/PhotoClip
65 %{_prefix}/System/Applications/PhotoClip.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
This page took 0.05314 seconds and 2 git commands to generate.