]> git.pld-linux.org Git - packages/ViewIt.git/blob - ViewIt.spec
- tabs in preamble
[packages/ViewIt.git] / ViewIt.spec
1 Summary:        Previewer for GNUstep
2 Summary(pl.UTF-8):      Program do podglądania plików dla GNUstepa
3 Name:           ViewIt
4 Version:        0.5
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
9 # Source0-md5:  217309a8f51a804b18200da03a0f892d
10 URL:            http://mac.wms-network.de/gnustep/viewit/viewit.html
11 BuildRequires:  gnustep-gui-devel >= 0.8.7
12 Requires:       gnustep-gui >= 0.8.7
13 Requires:       ghostscript
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         libcombo        gnu-gnu-gnu
17 %define         gsos            linux-gnu
18 %ifarch %{ix86}
19 %define         gscpu           ix86
20 %else
21 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
22 %define         gscpu           %{_target_cpu}
23 %endif
24 %define         appdir  %{_libdir}/GNUstep/System/Applications/%{name}.app
25
26 %description
27 ViewIt is a simple file previewer application for GNUstep.
28
29 %description -l pl.UTF-8
30 ViewIt jest prostą aplikacją do podglądania plików przeznaczoną dla
31 GNUstepa.
32
33 %prep
34 %setup -q -n %{name}
35
36 %build
37 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
38 %{__make} \
39         OPTFLAG="%{rpmcflags}" \
40         messages=yes
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
45
46 %{__make} install \
47         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %dir %{appdir}
56 %attr(755,root,root) %{appdir}/%{name}
57 %dir %{appdir}/Resources
58 %{appdir}/Resources/*.desktop
59 %{appdir}/Resources/*.plist
60 %{appdir}/Resources/*.tiff
61 %{appdir}/Resources/*.gorm
62 #%{appdir}/Resources/Scripts
63 %dir %{appdir}/%{gscpu}
64 %dir %{appdir}/%{gscpu}/%{gsos}
65 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
66 %attr(755,root,root) %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/%{name}
67 %{appdir}/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
68 %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/*
This page took 0.096745 seconds and 3 git commands to generate.