author | an230044 |
Mon, 27 Apr 2009 10:20:06 +0000 | |
branch | opensolaris-2008-11 |
changeset 14400 | 9bcbbac16a07 |
parent 13673 | 9761924fc246 |
child 15838 | c1dd143e78aa |
child 18815 | 27b19603232e |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWbrltty |
|
3 |
# |
|
4 |
# includes module(s): brltty |
|
5 |
# |
|
10572 | 6 |
# Copyright 2007 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
12967
5f4e5ac840fa
* SUNWgnome-config.spec: Update Owner Comment, to confirm with all other
mattman
parents:
12763
diff
changeset
|
10 |
# Owner: dcarbery |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
12763 | 14 |
%ifarch amd64 sparcv9 |
15 |
%include arch64.inc |
|
16 |
%use brltty_64 = brltty.spec |
|
17 |
%endif |
|
18 |
||
19 |
%include base.inc |
|
9397 | 20 |
%use brltty = brltty.spec |
21 |
||
22 |
Name: SUNWbrltty |
|
23 |
Summary: Braille support |
|
24 |
Version: %{brltty.version} |
|
25 |
SUNW_BaseDir: %{_basedir} |
|
12016 | 26 |
SUNW_Copyright: %{name}.copyright |
9397 | 27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
28 |
Requires: SUNWugen |
|
10642 | 29 |
Requires: SUNWcslr |
10572 | 30 |
%if %option_with_fox |
31 |
Requires: FSWxorg-clientlibs |
|
32 |
Requires: FSWxwrtl |
|
33 |
%else |
|
9397 | 34 |
Requires: SUNWxwrtl |
35 |
Requires: SUNWxwplt |
|
10572 | 36 |
%endif |
10220 | 37 |
Requires: SUNWPython |
38 |
Requires: SUNWPython-extra |
|
10633 | 39 |
Requires: SUNWgnome-a11y-libs |
9397 | 40 |
BuildRequires: SUNWugenu |
10642 | 41 |
BuildRequires: SUNWcslr |
10220 | 42 |
BuildRequires: SUNWPython-devel |
43 |
BuildRequires: SUNWPython-extra |
|
10633 | 44 |
BuildRequires: SUNWgnome-a11y-libs-devel |
9397 | 45 |
|
46 |
%include default-depend.inc |
|
47 |
||
48 |
%package -n SUNWbrltty-root |
|
49 |
Summary: %{summary} - / filesystem |
|
50 |
SUNW_BaseDir: / |
|
51 |
%include default-depend.inc |
|
52 |
||
53 |
%package -n SUNWbrltty-devel |
|
54 |
Summary: %{summary} - development files |
|
55 |
SUNW_BaseDir: %{_basedir} |
|
56 |
%include default-depend.inc |
|
57 |
||
58 |
%prep |
|
59 |
rm -rf %name-%version |
|
60 |
mkdir %name-%version |
|
12763 | 61 |
|
62 |
%ifarch amd64 sparcv9 |
|
63 |
mkdir %name-%version/%_arch64 |
|
64 |
%brltty_64.prep -d %name-%version/%_arch64 |
|
65 |
%endif |
|
66 |
||
67 |
mkdir %name-%version/%base_arch |
|
68 |
%brltty.prep -d %name-%version/%base_arch |
|
9397 | 69 |
|
70 |
%build |
|
71 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
72 |
export CFLAGS="%optflags -I%{_includedir}" |
|
73 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
74 |
export LDFLAGS="%_ldflags" |
|
75 |
||
12763 | 76 |
%ifarch amd64 sparcv9 |
77 |
%brltty_64.build -d %name-%version/%_arch64 |
|
78 |
%endif |
|
79 |
||
80 |
%brltty.build -d %name-%version/%base_arch |
|
9397 | 81 |
|
82 |
%install |
|
12763 | 83 |
|
84 |
%ifarch amd64 sparcv9 |
|
85 |
%brltty_64.install -d %name-%version/%_arch64 |
|
86 |
%endif |
|
87 |
||
88 |
%brltty.install -d %name-%version/%base_arch |
|
9397 | 89 |
|
11164 | 90 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/man3 |
91 |
||
9397 | 92 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
93 |
||
94 |
%clean |
|
95 |
rm -rf $RPM_BUILD_ROOT |
|
96 |
||
97 |
%files |
|
98 |
%defattr (-, root, bin) |
|
13673 | 99 |
%doc(bzip2) -d %{base_arch}/brltty-%{brltty.version} README |
100 |
%doc(bzip2) -d %{base_arch}/brltty-%{brltty.version} COPYING |
|
101 |
%doc(bzip2) -d %{base_arch}/brltty-%{brltty.version} COPYING-API |
|
102 |
%doc -d %{base_arch}/brltty-%{brltty.version}/Documents CONTRIBUTORS |
|
103 |
%doc -d %{base_arch}/brltty-%{brltty.version}/Documents HISTORY |
|
104 |
%doc(bzip2) -d %{base_arch}/brltty-%{brltty.version}/Documents ChangeLog |
|
105 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
9397 | 106 |
%dir %attr (0755, root, bin) %{_bindir} |
107 |
%{_bindir}/brltty* |
|
10216 | 108 |
%{_bindir}/vstp |
9397 | 109 |
%{_bindir}/xbrlapi |
110 |
%dir %attr (0755, root, bin) %{_libdir} |
|
111 |
%{_libdir}/libbrlapi.so.* |
|
112 |
%{_libdir}/libbrlapi.so |
|
113 |
%{_libdir}/brltty/libbrltty*.so |
|
11186 | 114 |
%{_libdir}/brltty/rw |
10222 | 115 |
%{_libdir}/python?.?/vendor-packages |
9397 | 116 |
%dir %attr(0755, root, sys) %{_datadir} |
117 |
%dir %attr(0755, root, bin) %{_mandir} |
|
118 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
119 |
%{_mandir}/man1/* |
|
12763 | 120 |
%ifarch amd64 sparcv9 |
121 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64} |
|
122 |
%{_bindir}/%{_arch64}/brltty* |
|
123 |
%{_bindir}/%{_arch64}/vstp |
|
124 |
%{_bindir}/%{_arch64}/xbrlapi |
|
125 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64} |
|
126 |
%{_libdir}/%{_arch64}/libbrlapi.so.* |
|
127 |
%{_libdir}/%{_arch64}/libbrlapi.so |
|
128 |
%{_libdir}/%{_arch64}/brltty/libbrltty*.so |
|
129 |
%{_libdir}/%{_arch64}/brltty/rw |
|
130 |
%endif |
|
9397 | 131 |
|
132 |
%files root |
|
133 |
%defattr(-, root, sys) |
|
134 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
|
135 |
%{_sysconfdir}/brltty/* |
|
136 |
||
137 |
%files devel |
|
138 |
%defattr(-, root, bin) |
|
139 |
%dir %attr (0755, root, bin) %{_includedir} |
|
10216 | 140 |
%{_includedir}/brlapi*.h |
9397 | 141 |
%{_includedir}/brltty/*.h |
142 |
%dir %attr(0755, root, sys) %{_datadir} |
|
143 |
%dir %attr(0755, root, bin) %{_mandir} |
|
144 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
145 |
||
146 |
||
147 |
%changelog |
|
13673 | 148 |
* Fri Sep 19 2008 - [email protected] |
149 |
- Add %doc part to %files |
|
12763 | 150 |
* Mon Jul 07 2008 - [email protected] |
151 |
- Fix 6697334. Add 64 bit libraries support. |
|
12016 | 152 |
* Thu Apr 03 2008 - [email protected] |
153 |
- Add SUNW_Copyright. |
|
11164 | 154 |
* Mon Nov 12 2007 - [email protected] |
155 |
- Remove brlapi manpages. |
|
10642 | 156 |
* Thu Oct 11 2007 - [email protected] |
157 |
- Add 'Build/Requires: SUNWcslr' to fix 6615512. |
|
158 |
* Wed Oct 10 2007 - [email protected] |
|
10633 | 159 |
- Update Build/Requires after running check-deps.pl script. |
10572 | 160 |
* Fri Sep 28 2007 - [email protected] |
161 |
- add option to build with FOX instead of Nevada X |
|
10218 | 162 |
* Wed Jul 25 2007 - [email protected] |
10220 | 163 |
- Update %files for new tarball. Add Build/Requires SUNWPython-extra and |
164 |
SUNWPython/-devel to ensure python bindings are built (for use with orca). |
|
9397 | 165 |
* Thu Oct 05 2006 - [email protected] |
166 |
- Add Requires SUNWxwplt to partially fix 6454451. |
|
167 |
* Sat Aug 12 2006 - [email protected] |
|
168 |
- delete some unnecessary env variables |
|
169 |
* Thu May 04 2006 - [email protected] |
|
170 |
- merge -share pkg(s) into the base pkg(s) |
|
171 |
* Tue Apr 04 2006 - [email protected] |
|
172 |
- Fix installation of devel vs non-devel libraries. |
|
173 |
* Thu Feb 23 2006 - [email protected] |
|
174 |
- Anal-rententive version name change to match ../brltty.spec (3.7.2) |
|
175 |
* Fri Feb 17 2006 - [email protected] |
|
176 |
- Update Build/Requires after running check-deps.pl script. |
|
177 |
* Fri Oct 28 2005 - [email protected] |
|
178 |
- Update packaging for new source tarball. Add prerequisite packages. |
|
179 |
* Fri Sep 09 2005 - <[email protected]> |
|
180 |
- add unpackaged files to %files |
|
181 |
* Thu Aug 25 2005 |
|
182 |
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed. |
|
183 |
* Mon Aug 22 2005 |
|
184 |
- Adjustments needed to make the package proto maps equivalent to what gets |
|
185 |
installed via "make install" |
|
186 |
* Tue Aug 16 2005 - [email protected] |
|
187 |
- initial version |