Solaris/SUNWbrltty.spec
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 8565 b102e7809c6e
permissions -rw-r--r--
Merged trunk changes r9797:9829 into 217update branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
#
8565
b102e7809c6e add remaining spec file owners
laca
parents: 8272
diff changeset
    10
# Owner:dcarbery
b102e7809c6e add remaining spec file owners
laca
parents: 8272
diff changeset
    11
#
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    12
%include Solaris.inc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    13
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    14
%use brltty = brltty.spec
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    15
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    16
Name:              SUNWbrltty
7244
b65ebefa231b 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7210
diff changeset
    17
Summary:           Braille support
6827
8f5cfa8beb12 2006-02-23 Damien Carbery <[email protected]>
dc144907
parents: 6824
diff changeset
    18
Version:           %{brltty.version}
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    19
SUNW_BaseDir:      %{_basedir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    20
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
6204
6bd2d0e47874 * SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents: 6102
diff changeset
    21
Requires: SUNWugen
6786
4bfa00f51396 2006-02-17 Damien Carbery <[email protected]>
dc144907
parents: 6204
diff changeset
    22
Requires: SUNWxwrtl
8272
59d758dfaabc 2006-10-05 Damien Carbery <[email protected]>
dc144907
parents: 8162
diff changeset
    23
Requires: SUNWxwplt
6204
6bd2d0e47874 * SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents: 6102
diff changeset
    24
BuildRequires: SUNWugenu
5580
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
%include default-depend.inc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    27
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    28
%package -n SUNWbrltty-root
7244
b65ebefa231b 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7210
diff changeset
    29
Summary:           %{summary} - / filesystem
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    30
SUNW_BaseDir:            /
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    31
%include default-depend.inc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    32
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    33
%package -n SUNWbrltty-devel
7244
b65ebefa231b 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7210
diff changeset
    34
Summary:           %{summary} - development files
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    35
SUNW_BaseDir:      %{_basedir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    36
%include default-depend.inc
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    37
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    38
%prep
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    39
rm -rf %name-%version
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    40
mkdir %name-%version
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    41
%brltty.prep -d %name-%version
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    42
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    43
%build
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    44
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
    45
export CFLAGS="%optflags -I%{_includedir}"
8162
ab63e00d2219 2006-09-18 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    46
export RPM_OPT_FLAGS="$CFLAGS"
6102
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 5899
diff changeset
    47
export LDFLAGS="%_ldflags"
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    48
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    49
%brltty.build -d %name-%version
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    50
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    51
%install
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    52
%brltty.install -d %name-%version
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    53
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5785
diff changeset
    54
%{?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
    55
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    56
%clean
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    58
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    59
%files
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    60
%defattr (-, root, bin)
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_bindir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    62
%{_bindir}/brltty*
6204
6bd2d0e47874 * SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents: 6102
diff changeset
    63
%{_bindir}/xbrlapi
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    64
%dir %attr (0755, root, bin) %{_libdir}
6997
4b9b4e9c2117 2006-04-04 Glynn Foster <[email protected]>
gman
parents: 6827
diff changeset
    65
%{_libdir}/libbrlapi.so.*
6998
e195f4d91247 2006-04-04 Glynn Foster <[email protected]>
gman
parents: 6997
diff changeset
    66
%{_libdir}/libbrlapi.so
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    67
%{_libdir}/brltty/libbrltty*.so
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    68
%dir %attr(0755, root, sys) %{_datadir}
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    69
%dir %attr(0755, root, bin) %{_mandir}
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    70
%dir %attr(0755, root, bin) %{_mandir}/*
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    71
%{_mandir}/man1/*
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    72
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    73
%files root
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    74
%defattr(-, root, sys)
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    75
%{_sysconfdir}/brlapi.key
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    76
%dir %attr (0755, root, sys) %{_sysconfdir}
5785
laca
parents: 5783
diff changeset
    77
%{_sysconfdir}/brltty/*
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    78
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    79
%files devel
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    80
%defattr(-, root, bin)
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    81
%dir %attr (0755, root, bin) %{_includedir}
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    82
%{_includedir}/brltty/*.h
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    83
%dir %attr(0755, root, sys) %{_datadir}
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    84
%dir %attr(0755, root, bin) %{_mandir}
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}/*
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    86
%{_mandir}/man3/*
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    87
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
%changelog
8272
59d758dfaabc 2006-10-05 Damien Carbery <[email protected]>
dc144907
parents: 8162
diff changeset
    90
* Thu Oct 05 2006 - [email protected]
59d758dfaabc 2006-10-05 Damien Carbery <[email protected]>
dc144907
parents: 8162
diff changeset
    91
- Add Requires SUNWxwplt to partially fix 6454451.
8162
ab63e00d2219 2006-09-18 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    92
* Sat Aug 12 2006 - [email protected]
ab63e00d2219 2006-09-18 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    93
- delete some unnecessary env variables
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    94
* Thu May 04 2006 - [email protected]
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6998
diff changeset
    95
- merge -share pkg(s) into the base pkg(s)
6997
4b9b4e9c2117 2006-04-04 Glynn Foster <[email protected]>
gman
parents: 6827
diff changeset
    96
* Tue Apr 04 2006 - [email protected]
4b9b4e9c2117 2006-04-04 Glynn Foster <[email protected]>
gman
parents: 6827
diff changeset
    97
- Fix installation of devel vs non-devel libraries.
6824
aed6d51207f1 Make version match that in ../brltty.spec
wwalker
parents: 6786
diff changeset
    98
* Thu Feb 23 2006 - [email protected]
aed6d51207f1 Make version match that in ../brltty.spec
wwalker
parents: 6786
diff changeset
    99
- Anal-rententive version name change to match ../brltty.spec (3.7.2)
6786
4bfa00f51396 2006-02-17 Damien Carbery <[email protected]>
dc144907
parents: 6204
diff changeset
   100
* Fri Feb 17 2006 - [email protected]
4bfa00f51396 2006-02-17 Damien Carbery <[email protected]>
dc144907
parents: 6204
diff changeset
   101
- 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
   102
* Fri Oct 28 2005 - [email protected]
6bd2d0e47874 * SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents: 6102
diff changeset
   103
- Update packaging for new source tarball. Add prerequisite packages.
5783
4b20ad0ad5fd 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5596
diff changeset
   104
* Fri Sep 09 2005 - <[email protected]>
4b20ad0ad5fd 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5596
diff changeset
   105
- add unpackaged files to %files
5596
270b4489f166 Forgot to add in Changelog entries for the last change.
richb
parents: 5594
diff changeset
   106
* Thu Aug 25 2005
270b4489f166 Forgot to add in Changelog entries for the last change.
richb
parents: 5594
diff changeset
   107
- 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
   108
* Mon Aug 22 2005
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   109
- 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
   110
  installed via "make install"
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   111
* Tue Aug 16 2005 - [email protected]
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   112
- initial version