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 |
#
|
|
10 |
# Owner:dcarbery
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use brltty = brltty.spec
|
|
15 |
|
|
16 |
Name: SUNWbrltty
|
|
17 |
Summary: Braille support
|
|
18 |
Version: %{brltty.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
12016
|
20 |
SUNW_Copyright: %{name}.copyright
|
9397
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
Requires: SUNWugen
|
10642
|
23 |
Requires: SUNWcslr
|
10572
|
24 |
%if %option_with_fox
|
|
25 |
Requires: FSWxorg-clientlibs
|
|
26 |
Requires: FSWxwrtl
|
|
27 |
%else
|
9397
|
28 |
Requires: SUNWxwrtl
|
|
29 |
Requires: SUNWxwplt
|
10572
|
30 |
%endif
|
10220
|
31 |
Requires: SUNWPython
|
|
32 |
Requires: SUNWPython-extra
|
10633
|
33 |
Requires: SUNWgnome-a11y-libs
|
9397
|
34 |
BuildRequires: SUNWugenu
|
10642
|
35 |
BuildRequires: SUNWcslr
|
10220
|
36 |
BuildRequires: SUNWPython-devel
|
|
37 |
BuildRequires: SUNWPython-extra
|
10633
|
38 |
BuildRequires: SUNWgnome-a11y-libs-devel
|
9397
|
39 |
|
|
40 |
%include default-depend.inc
|
|
41 |
|
|
42 |
%package -n SUNWbrltty-root
|
|
43 |
Summary: %{summary} - / filesystem
|
|
44 |
SUNW_BaseDir: /
|
|
45 |
%include default-depend.inc
|
|
46 |
|
|
47 |
%package -n SUNWbrltty-devel
|
|
48 |
Summary: %{summary} - development files
|
|
49 |
SUNW_BaseDir: %{_basedir}
|
|
50 |
%include default-depend.inc
|
|
51 |
|
|
52 |
%prep
|
|
53 |
rm -rf %name-%version
|
|
54 |
mkdir %name-%version
|
|
55 |
%brltty.prep -d %name-%version
|
|
56 |
|
|
57 |
%build
|
|
58 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
59 |
export CFLAGS="%optflags -I%{_includedir}"
|
|
60 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
61 |
export LDFLAGS="%_ldflags"
|
|
62 |
|
|
63 |
%brltty.build -d %name-%version
|
|
64 |
|
|
65 |
%install
|
|
66 |
%brltty.install -d %name-%version
|
|
67 |
|
11164
|
68 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/man3
|
|
69 |
|
9397
|
70 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
71 |
|
|
72 |
%clean
|
|
73 |
rm -rf $RPM_BUILD_ROOT
|
|
74 |
|
|
75 |
%files
|
|
76 |
%defattr (-, root, bin)
|
|
77 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
78 |
%{_bindir}/brltty*
|
10216
|
79 |
%{_bindir}/vstp
|
9397
|
80 |
%{_bindir}/xbrlapi
|
|
81 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
82 |
%{_libdir}/libbrlapi.so.*
|
|
83 |
%{_libdir}/libbrlapi.so
|
|
84 |
%{_libdir}/brltty/libbrltty*.so
|
11186
|
85 |
%{_libdir}/brltty/rw
|
10222
|
86 |
%{_libdir}/python?.?/vendor-packages
|
9397
|
87 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
88 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
89 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
90 |
%{_mandir}/man1/*
|
|
91 |
|
|
92 |
%files root
|
|
93 |
%defattr(-, root, sys)
|
|
94 |
%dir %attr (0755, root, sys) %{_sysconfdir}
|
|
95 |
%{_sysconfdir}/brltty/*
|
|
96 |
|
|
97 |
%files devel
|
|
98 |
%defattr(-, root, bin)
|
|
99 |
%dir %attr (0755, root, bin) %{_includedir}
|
10216
|
100 |
%{_includedir}/brlapi*.h
|
9397
|
101 |
%{_includedir}/brltty/*.h
|
|
102 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
103 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
104 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
105 |
|
|
106 |
|
|
107 |
%changelog
|
12016
|
108 |
* Thu Apr 03 2008 - [email protected]
|
|
109 |
- Add SUNW_Copyright.
|
11164
|
110 |
* Mon Nov 12 2007 - [email protected]
|
|
111 |
- Remove brlapi manpages.
|
10642
|
112 |
* Thu Oct 11 2007 - [email protected]
|
|
113 |
- Add 'Build/Requires: SUNWcslr' to fix 6615512.
|
|
114 |
* Wed Oct 10 2007 - [email protected]
|
10633
|
115 |
- Update Build/Requires after running check-deps.pl script.
|
10572
|
116 |
* Fri Sep 28 2007 - [email protected]
|
|
117 |
- add option to build with FOX instead of Nevada X
|
10218
|
118 |
* Wed Jul 25 2007 - [email protected]
|
10220
|
119 |
- Update %files for new tarball. Add Build/Requires SUNWPython-extra and
|
|
120 |
SUNWPython/-devel to ensure python bindings are built (for use with orca).
|
9397
|
121 |
* Thu Oct 05 2006 - [email protected]
|
|
122 |
- Add Requires SUNWxwplt to partially fix 6454451.
|
|
123 |
* Sat Aug 12 2006 - [email protected]
|
|
124 |
- delete some unnecessary env variables
|
|
125 |
* Thu May 04 2006 - [email protected]
|
|
126 |
- merge -share pkg(s) into the base pkg(s)
|
|
127 |
* Tue Apr 04 2006 - [email protected]
|
|
128 |
- Fix installation of devel vs non-devel libraries.
|
|
129 |
* Thu Feb 23 2006 - [email protected]
|
|
130 |
- Anal-rententive version name change to match ../brltty.spec (3.7.2)
|
|
131 |
* Fri Feb 17 2006 - [email protected]
|
|
132 |
- Update Build/Requires after running check-deps.pl script.
|
|
133 |
* Fri Oct 28 2005 - [email protected]
|
|
134 |
- Update packaging for new source tarball. Add prerequisite packages.
|
|
135 |
* Fri Sep 09 2005 - <[email protected]>
|
|
136 |
- add unpackaged files to %files
|
|
137 |
* Thu Aug 25 2005
|
|
138 |
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed.
|
|
139 |
* Mon Aug 22 2005
|
|
140 |
- Adjustments needed to make the package proto maps equivalent to what gets
|
|
141 |
installed via "make install"
|
|
142 |
* Tue Aug 16 2005 - [email protected]
|
|
143 |
- initial version
|