a5ad70762a7d793625b226a6ad89858d4b36244f
[packages/HelpViewer.git] / HelpViewer.spec
1 Summary:        Online help viewer for GNUstep
2 Summary(pl):    Przegl±darka pomocy online dla GNUstepa
3 Name:           HelpViewer
4 Version:        0.3
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.roard.com/helpviewer/download/%{name}-%{version}.tgz
9 # Source0-md5:  9e3c1c07cdbe0187ce6e0152d3e8870d
10 URL:            http://www.roard.com/helpviewer/
11 BuildRequires:  gnustep-gui-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/%{_lib}/GNUstep
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           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
23 %endif
24
25 %define         gstriple        %{gscpu}/%{gsos}/%{libcombo}
26
27 %description
28 HelpViewer is an online help viewer for GNUstep programs.
29
30 %description -l pl
31 HelpViewer to przegl±darka pomocy online dla programów z GNUstepa.
32
33 %prep
34 %setup -q
35
36 %build
37 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
38 %{__make} \
39         debug=no \
40         OPTFLAG="%{rpmcflags}" \
41         messages=yes
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
46
47 %{__make} install debug=no \
48         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files
57 %defattr(644,root,root,755)
58
59 %dir %{_prefix}/System/Applications/HelpViewer.app
60 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/HelpViewer
61 %dir %{_prefix}/System/Applications/HelpViewer.app/Resources
62 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.desktop
63 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.plist
64 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.tiff
65
66 %dir %{_prefix}/System/Applications/HelpViewer.app
67 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}
68 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}
69 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}
70 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/HelpViewer
71 %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/*.openapp
72 %{_prefix}/System/Applications/HelpViewer.app/HelpViewer
73 %dir %{_prefix}/System/Applications/HelpViewer.app/Resources
74 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.plist
75 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.desktop
76 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.tiff
77 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}
78 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}
79 %dir %{_prefix}/System/Applications/HelpViewer.app/%{gscpu}/%{gsos}/%{libcombo}
80 %attr(755,root,root) %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/HelpViewer
81 %{_prefix}/System/Applications/HelpViewer.app/%{gstriple}/*.openapp
82
83 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.help
84 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.gorm
85 %{_prefix}/System/Applications/HelpViewer.app/Resources/*.png
This page took 0.043312 seconds and 2 git commands to generate.