]> git.pld-linux.org Git - packages/PhotoClip.git/blob - PhotoClip.spec
- tabs in preamble
[packages/PhotoClip.git] / PhotoClip.spec
1 Summary:        Simple image viewer for GNUstep
2 Summary(pl.UTF-8):      Prosta przeglądarka obrazków dla środowiska GNUstep
3 Name:           PhotoClip
4 Version:        0.2.3
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:  9d0b652f1db8a7d0a73183bf45e48420
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.UTF-8
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.127226 seconds and 3 git commands to generate.