]> git.pld-linux.org Git - packages/ImageViewer.git/blob - ImageViewer.spec
- tabs in preamle
[packages/ImageViewer.git] / ImageViewer.spec
1 Summary:        Simple image viewer for GNUstep
2 Summary(pl.UTF-8):      Prosta przeglądarka obrazków dla środowiska GNUstep
3 Name:           ImageViewer
4 Version:        0.6.3
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://www.nice.ch/~phip/%{name}-%{version}.tar.gz
9 # Source0-md5:  89dc35241be2e4c60c80d51adb110c65
10 Patch0:         %{name}-pass-arguments.patch
11 URL:            http://www.nice.ch/~phip/softcorner.html#img
12 BuildRequires:  gnustep-gui-devel >= 0.8.7
13 Requires:       gnustep-gui >= 0.8.7
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 This is ImageViewer, a simple image viewer application for GNUstep.
29
30 %description -l pl.UTF-8
31 To jest ImageViewer - prosta przeglądarka obrazków dla środowiska
32 GNUstep.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
40 %{__make} \
41         OPTFLAG="%{rpmcflags}" \
42         messages=yes
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
47
48 %{__make} install \
49         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc ChangeLog README
57 %dir %{_prefix}/System/Applications/ImageViewer.app
58 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/ImageViewer
59 %dir %{_prefix}/System/Applications/ImageViewer.app/Resources
60 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.desktop
61 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.plist
62 %{_prefix}/System/Applications/ImageViewer.app/Resources/*.tiff
63 %{_prefix}/System/Applications/ImageViewer.app/Resources/English.lproj
64 %lang(fr) %{_prefix}/System/Applications/ImageViewer.app/Resources/French.lproj
65 %lang(de) %{_prefix}/System/Applications/ImageViewer.app/Resources/German.lproj
66 %lang(hu) %{_prefix}/System/Applications/ImageViewer.app/Resources/Hungarian.lproj
67 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}
68 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}
69 %dir %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}
70 %attr(755,root,root) %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/ImageViewer
71 %{_prefix}/System/Applications/ImageViewer.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
This page took 0.051661 seconds and 3 git commands to generate.