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