]> git.pld-linux.org Git - packages/ImageViewer.git/blob - ImageViewer.spec
- fixed build on amd64, release 2
[packages/ImageViewer.git] / ImageViewer.spec
1 Summary:        Simple image viewer for GNUstep
2 Summary(pl):    Prosta przegl±darka obrazków dla ¶rodowiska GNUstep
3 Name:           ImageViewer
4 Version:        0.6.2
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://www.nice.ch/~phip/%{name}-%{version}.tar.gz
9 # Source0-md5:  f729146b8c55357a35cf419fbab9bcc5
10 URL:            http://www.nice.ch/~phip/softcorner.html#img
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 ImageViewer, a simple image viewer application for GNUstep.
28
29 %description -l pl
30 To jest ImageViewer - 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 ChangeLog README
55 %dir %{_prefix}/System/Applications/ImageViewer.app
56 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/ImageViewer
57 %dir %{_prefix}/System/Applications/ImageViewer.app/Resources
58 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.desktop
59 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.plist
60 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.tiff
61 %{_prefix}/System/Applications/ImageViewer.app/Resources/English.lproj
62 %lang(fr) %{_prefix}/System/Applications/ImageViewer.app/Resources/French.lproj
63 %lang(de) %{_prefix}/System/Applications/ImageViewer.app/Resources/German.lproj
64 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}
65 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}
66 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}
67 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/ImageViewer
68 %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
This page took 0.069058 seconds and 3 git commands to generate.