]> git.pld-linux.org Git - packages/ViewIt.git/blame - ViewIt.spec
- tabs in preamble
[packages/ViewIt.git] / ViewIt.spec
CommitLineData
bd566ca4 1Summary: Previewer for GNUstep
a078fc23 2Summary(pl.UTF-8): Program do podglądania plików dla GNUstepa
bd566ca4 3Name: ViewIt
4Version: 0.5
5Release: 1
6License: GPL
7Group: X11/Applications/Graphics
8Source0: http://mac.wms-network.de/gnustep/viewit/%{name}-%{version}.tar.gz
6e0adef9 9# Source0-md5: 217309a8f51a804b18200da03a0f892d
bd566ca4 10URL: http://mac.wms-network.de/gnustep/viewit/viewit.html
11BuildRequires: gnustep-gui-devel >= 0.8.7
12Requires: gnustep-gui >= 0.8.7
b13ee15c 13Requires: ghostscript
bd566ca4 14BuildRoot: %{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
5e8b179b 24%define appdir %{_libdir}/GNUstep/System/Applications/%{name}.app
bd566ca4 25
26%description
5e8b179b 27ViewIt is a simple file previewer application for GNUstep.
28
356f8f73
JR
29%description -l pl.UTF-8
30ViewIt jest prostą aplikacją do podglądania plików przeznaczoną dla
5e8b179b 31GNUstepa.
bd566ca4 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
43rm -rf $RPM_BUILD_ROOT
f756a043 44. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
bd566ca4 45
46%{__make} install \
47 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
5ccf2a8f 54%doc README
bd566ca4 55%dir %{appdir}
56%attr(755,root,root) %{appdir}/%{name}
bd566ca4 57%dir %{appdir}/Resources
58%{appdir}/Resources/*.desktop
59%{appdir}/Resources/*.plist
60%{appdir}/Resources/*.tiff
61%{appdir}/Resources/*.gorm
f756a043 62#%{appdir}/Resources/Scripts
bd566ca4 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
f756a043 68%attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/*
This page took 0.075071 seconds and 4 git commands to generate.