9397
|
1 |
#
|
|
2 |
# spec file for package SUNWsolaris-devel-docs
|
|
3 |
#
|
11381
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: dcarbery
|
|
9 |
#
|
|
10 |
%include Solaris.inc
|
|
11 |
|
|
12 |
Name: SUNWsolaris-devel-docs
|
|
13 |
Summary: Developer documentation
|
|
14 |
Version: %{default_pkg_version}
|
11390
|
15 |
# NOTE: If the version is bumped the new tarball must be uploaded to the
|
|
16 |
# Sun Download Center. Contact GNOME RE for assistance.
|
11381
|
17 |
%define tarball_version 0.11
|
9397
|
18 |
Source: http://dlc.sun.com/osol/jds/downloads/extras/devguide-%{tarball_version}.tar.bz2
|
12024
|
19 |
SUNW_Copyright: %{name}.copyright
|
9397
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
BuildRequires: SUNWgnome-common-devel
|
9451
|
23 |
BuildRequires: SUNWgnome-base-libs-devel
|
9397
|
24 |
%include default-depend.inc
|
|
25 |
|
|
26 |
%if 0
|
|
27 |
%if %build_l10n
|
|
28 |
%package de
|
|
29 |
Summary: %{summary} - German documentation
|
|
30 |
SUNW_BaseDir: %{_basedir}
|
|
31 |
%include default-depend.inc
|
|
32 |
Requires: %{name}
|
|
33 |
|
|
34 |
%package es
|
|
35 |
Summary: %{summary} - Spanish documentation
|
|
36 |
SUNW_BaseDir: %{_basedir}
|
|
37 |
%include default-depend.inc
|
|
38 |
Requires: %{name}
|
|
39 |
|
|
40 |
%package fr
|
|
41 |
Summary: %{summary} - French documentation
|
|
42 |
SUNW_BaseDir: %{_basedir}
|
|
43 |
%include default-depend.inc
|
|
44 |
Requires: %{name}
|
|
45 |
|
|
46 |
%package ja
|
|
47 |
Summary: %{summary} - Japanese documentation
|
|
48 |
SUNW_BaseDir: %{_basedir}
|
|
49 |
%include default-depend.inc
|
|
50 |
Requires: %{name}
|
|
51 |
|
|
52 |
%package zhCN
|
|
53 |
Summary: %{summary} - Simplified Chinese documentation
|
|
54 |
SUNW_BaseDir: %{_basedir}
|
|
55 |
%include default-depend.inc
|
|
56 |
Requires: %{name}
|
|
57 |
%endif
|
|
58 |
%endif
|
|
59 |
|
|
60 |
%prep
|
|
61 |
%setup -q -n devguide-%{tarball_version}
|
|
62 |
|
|
63 |
%build
|
|
64 |
./configure --prefix=%{_prefix}
|
|
65 |
make
|
|
66 |
|
|
67 |
%install
|
|
68 |
rm -rf $RPM_BUILD_ROOT
|
|
69 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
70 |
|
|
71 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
72 |
|
|
73 |
%clean
|
|
74 |
rm -rf $RPM_BUILD_ROOT
|
|
75 |
|
|
76 |
%files
|
|
77 |
%defattr (-, root, bin)
|
|
78 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
79 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
80 |
%{_datadir}/doc/soldevex/html/developer_guide.html
|
|
81 |
%{_datadir}/doc/soldevex/html/images
|
|
82 |
%{_datadir}/doc/soldevex/html/content
|
|
83 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
84 |
%{_datadir}/applications/*.desktop
|
|
85 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
86 |
%{_datadir}/pixmaps/*.png
|
|
87 |
|
|
88 |
%if 0
|
|
89 |
%files
|
|
90 |
%defattr (-, root, bin)
|
|
91 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
92 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
93 |
%{_datadir}/doc/soldevex/html/C/developer_guide.html
|
|
94 |
%{_datadir}/doc/soldevex/html/C/images
|
|
95 |
%{_datadir}/doc/soldevex/html/C/content
|
|
96 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
97 |
%{_datadir}/applications/*.desktop
|
|
98 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
99 |
%{_datadir}/pixmaps/*.png
|
|
100 |
|
|
101 |
%if %build_l10n
|
|
102 |
%files de
|
|
103 |
%defattr (-, root, bin)
|
|
104 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
105 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
106 |
%{_datadir}/doc/soldevex/html/de/developer_guide.html
|
|
107 |
%{_datadir}/doc/soldevex/html/de/images
|
|
108 |
%{_datadir}/doc/soldevex/html/de/content
|
|
109 |
|
|
110 |
%files es
|
|
111 |
%defattr (-, root, bin)
|
|
112 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
113 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
114 |
%{_datadir}/doc/soldevex/html/es/developer_guide.html
|
|
115 |
%{_datadir}/doc/soldevex/html/es/images
|
|
116 |
%{_datadir}/doc/soldevex/html/es/content
|
|
117 |
|
|
118 |
%files fr
|
|
119 |
%defattr (-, root, bin)
|
|
120 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
121 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
122 |
%{_datadir}/doc/soldevex/html/fr/developer_guide.html
|
|
123 |
%{_datadir}/doc/soldevex/html/fr/images
|
|
124 |
%{_datadir}/doc/soldevex/html/fr/content
|
|
125 |
|
|
126 |
%files ja
|
|
127 |
%defattr (-, root, bin)
|
|
128 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
129 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
130 |
%{_datadir}/doc/soldevex/html/ja/developer_guide.html
|
|
131 |
%{_datadir}/doc/soldevex/html/ja/images
|
|
132 |
%{_datadir}/doc/soldevex/html/ja/content
|
|
133 |
|
|
134 |
%files zhCN
|
|
135 |
%defattr (-, root, bin)
|
|
136 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
137 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
138 |
%{_datadir}/doc/soldevex/html/zh_CN/developer_guide.html
|
|
139 |
%{_datadir}/doc/soldevex/html/zh_CN/images
|
|
140 |
%{_datadir}/doc/soldevex/html/zh_CN/content
|
|
141 |
%endif
|
|
142 |
%endif
|
|
143 |
|
|
144 |
%changelog
|
12024
|
145 |
* Thu Apr 03 2008 - [email protected]
|
|
146 |
- Add SUNW_Copyright.
|
11381
|
147 |
* Thu Jan 03 2008 - [email protected]
|
|
148 |
- Bump to 0.11.
|
11263
|
149 |
* Thu Nov 29 2007 - [email protected]
|
|
150 |
- Bump to 0.10 for SXDE 1/08.
|
11210
|
151 |
* Fri Nov 16 2007 - [email protected]
|
|
152 |
- Bump to 0.9 for SXDE 1/08.
|
9788
|
153 |
* Wed Apr 25 2007 - [email protected]
|
|
154 |
- bump to 0.5, delete patch
|
9451
|
155 |
* Mon Mar 05 2007 - [email protected]
|
|
156 |
- Add Build/Requires SUNWgnome-base-libs/-devel for aclocal.
|
9397
|
157 |
* Wed Feb 28 2007 - [email protected]
|
|
158 |
- Add BuildRequires SUNWgnome-common-devel for intltoolize.
|
|
159 |
* Tue Feb 06 2007 - [email protected]
|
|
160 |
- Added SUNWsolaris-devel-docs-01-g11n-desktop.diff for i18n. CR 6517955. Add
|
|
161 |
associated l10n packages.
|
|
162 |
* Fri Dec 8 2006 - [email protected]
|
|
163 |
- bump to 0.2, update %files
|
|
164 |
* Wed Dec 6 2006 - [email protected]
|
|
165 |
- use a tarball instead of individual Sources.
|
|
166 |
* Wed Dec 06 2006 - [email protected]
|
|
167 |
- Initial spec.
|