- added
[packages/HelpViewer.git] / HelpViewer.spec
1 Summary:        Online help viewer for GNUstep
2 Name:           HelpViewer
3 Version:        0.3
4 Release:        1
5 License:        GPL
6 Group:          X11/Applications
7 Source0:        http://www.roard.com/helpviewer/download/%{name}-%{version}.tgz
8 # Source0-md5:  9e3c1c07cdbe0187ce6e0152d3e8870d
9 URL:            http://www.roard.com/helpviewer/
10 BuildRequires:  gnustep-gui-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _prefix         /usr/lib/GNUstep
14
15 %define         libcombo        gnu-gnu-gnu
16 %define         gsos            linux-gnu
17 %ifarch %{ix86}
18 %define         gscpu           ix86
19 %else
20 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
21 %define         gscpu           %{_target_cpu}
22 %endif
23
24 %define         gstriple        %{gscpu}/%{gsos}/%{libcombo}
25 %define         gsservicedir    %{_prefix}/System/Library/Services
26
27 %description
28 HelpViewer is an online help viewer for GNUstep programs.
29
30 %prep
31 %setup -q
32
33 #find . -type d -name CVS | xargs rm -rf
34
35 %build
36 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
37 %{__make} \
38         debug=no \
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 debug=no \
47         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post   -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
54
55 %files
56 %defattr(644,root,root,755)
57
58 %dir %{_prefix}/System/Applications/HelpViewer.app
59 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/HelpViewer
60 %dir %{_prefix}/System/Applications/HelpViewer.app/Resources
61 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.desktop
62 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.plist
63 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.tiff
64
65 %dir %{_prefix}/System/Applications/HelpViewer.app
66 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}
67 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}
68 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}
69 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/HelpViewer
70 %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/*.openapp
71 %{_prefix}/System/Applications/HelpViewer.app/HelpViewer
72 %dir %{_prefix}/System/Applications/HelpViewer.app/Resources
73 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.plist
74 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.desktop
75 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.tiff
76 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}
77 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}
78 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}/%{libcombo}
79 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/HelpViewer
80 %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/*.openapp
81
82 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.help
83 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.gorm
84 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.png
This page took 0.059036 seconds and 3 git commands to generate.