author | gman |
Tue, 04 Apr 2006 02:56:34 +0000 | |
changeset 6998 | e195f4d91247 |
parent 6997 | 4b9b4e9c2117 |
child 7210 | 9f8c789896d1 |
permissions | -rw-r--r-- |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
1 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
2 |
# spec file for package SUNWbrltty |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
3 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
4 |
# includes module(s): brltty |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
5 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
7 |
# This file and all modifications and additions to the pristine |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
8 |
# package are under the same license as the package itself. |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
9 |
# |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
10 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
11 |
%include Solaris.inc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
12 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
13 |
%use brltty = brltty.spec |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
14 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
15 |
Name: SUNWbrltty |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
16 |
Summary: Braille Support |
6827 | 17 |
Version: %{brltty.version} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
18 |
SUNW_BaseDir: %{_basedir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
6204
6bd2d0e47874
* SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents:
6102
diff
changeset
|
20 |
Requires: SUNWugen |
6786 | 21 |
Requires: SUNWxwrtl |
6204
6bd2d0e47874
* SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents:
6102
diff
changeset
|
22 |
BuildRequires: SUNWugenu |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
23 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
24 |
%include default-depend.inc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
25 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
26 |
%package -n SUNWbrltty-root |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
27 |
Summary: Braille Support - platform dependent, / filesystem |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
28 |
SUNW_BaseDir: / |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
29 |
%include default-depend.inc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
30 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
31 |
%package -n SUNWbrltty-share |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
32 |
Summary: Braille Support - platform independent, /usr/share |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
33 |
SUNW_BaseDir: %{_basedir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
34 |
%include default-depend.inc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
35 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
36 |
%package -n SUNWbrltty-devel |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
37 |
Summary: Braille Support - developer files, platform dependent, /usr |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
38 |
SUNW_BaseDir: %{_basedir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
39 |
%include default-depend.inc |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
40 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
41 |
%prep |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
42 |
rm -rf %name-%version |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
43 |
mkdir %name-%version |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
44 |
%brltty.prep -d %name-%version |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
45 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
46 |
%build |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
47 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
48 |
export MSGFMT="/usr/bin/msgfmt" |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
49 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
50 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
51 |
export CFLAGS="%optflags -I%{_includedir}" |
6102 | 52 |
export LDFLAGS="%_ldflags" |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
53 |
export RPM_OPT_FLAGS="$CFLAGS" |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
54 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
55 |
%brltty.build -d %name-%version |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
56 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
57 |
%install |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
58 |
%brltty.install -d %name-%version |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
59 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5785
diff
changeset
|
60 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
61 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
62 |
%clean |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
63 |
rm -rf $RPM_BUILD_ROOT |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
64 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
65 |
%files |
5899 | 66 |
%defattr(0644, root, root) |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
67 |
%defattr (-, root, other) |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
68 |
%dir %attr (0755, root, bin) %{_bindir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
69 |
%{_bindir}/brltty* |
6204
6bd2d0e47874
* SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents:
6102
diff
changeset
|
70 |
%{_bindir}/xbrlapi |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
71 |
%dir %attr (0755, root, bin) %{_libdir} |
6997 | 72 |
%{_libdir}/libbrlapi.so.* |
6998 | 73 |
%{_libdir}/libbrlapi.so |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
74 |
%{_libdir}/brltty/libbrltty*.so |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
75 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
76 |
%files root |
5899 | 77 |
%defattr(0644, root, root) |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
78 |
%{_sysconfdir}/brlapi.key |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
79 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
80 |
%dir %attr (0755, root, root) %{_sysconfdir}/brltty |
5785 | 81 |
%{_sysconfdir}/brltty/* |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
82 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
83 |
%files share |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
84 |
%defattr (-, root, sys) |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
85 |
%dir %attr(0755, root, bin) %{_mandir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
86 |
%dir %attr(0755, root, bin) %{_mandir}/* |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
87 |
%{_mandir}/*/* |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
88 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
89 |
%files devel |
5899 | 90 |
%defattr(0644, root, root) |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
91 |
%dir %attr (0755, root, bin) %{_includedir} |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
92 |
%dir %attr (0755, root, root) %{_includedir}/brltty |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
93 |
%{_includedir}/brltty/*.h |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
94 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
95 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
96 |
%changelog |
6997 | 97 |
* Tue Apr 04 2006 - [email protected] |
98 |
- Fix installation of devel vs non-devel libraries. |
|
6824 | 99 |
* Thu Feb 23 2006 - [email protected] |
100 |
- Anal-rententive version name change to match ../brltty.spec (3.7.2) |
|
6786 | 101 |
* Fri Feb 17 2006 - [email protected] |
102 |
- Update Build/Requires after running check-deps.pl script. |
|
6204
6bd2d0e47874
* SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents:
6102
diff
changeset
|
103 |
* Fri Oct 28 2005 - [email protected] |
6bd2d0e47874
* SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents:
6102
diff
changeset
|
104 |
- Update packaging for new source tarball. Add prerequisite packages. |
5783 | 105 |
* Fri Sep 09 2005 - <[email protected]> |
106 |
- add unpackaged files to %files |
|
5596
270b4489f166
Forgot to add in Changelog entries for the last change.
richb
parents:
5594
diff
changeset
|
107 |
* Thu Aug 25 2005 |
270b4489f166
Forgot to add in Changelog entries for the last change.
richb
parents:
5594
diff
changeset
|
108 |
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed. |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
109 |
* Mon Aug 22 2005 |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
110 |
- Adjustments needed to make the package proto maps equivalent to what gets |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
111 |
installed via "make install" |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
112 |
* Tue Aug 16 2005 - [email protected] |
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
113 |
- initial version |