Solaris/SUNWbrltty.spec
author dc144907
Thu, 23 Feb 2006 17:47:21 +0000
changeset 6827 8f5cfa8beb12
parent 6824 aed6d51207f1
child 6997 4b9b4e9c2117
permissions -rw-r--r--
2006-02-23 Damien Carbery <[email protected]> * SUNWbrltty.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-orca.spec: Use version number from base spec file for Solaris package version.
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
#
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
8f5cfa8beb12 2006-02-23 Damien Carbery <[email protected]>
dc144907
parents: 6824
diff changeset
    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
4bfa00f51396 2006-02-17 Damien Carbery <[email protected]>
dc144907
parents: 6204
diff changeset
    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
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 5899
diff changeset
    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
07d957e9ff9a add missing 0's to octal file modes
laca
parents: 5859
diff changeset
    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}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    72
%{_libdir}/libbrl*
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    73
%{_libdir}/brltty/libbrltty*.so
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    74
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    75
%files root
5899
07d957e9ff9a add missing 0's to octal file modes
laca
parents: 5859
diff changeset
    76
%defattr(0644, root, root)
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    77
%{_sysconfdir}/brlapi.key
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    78
%dir %attr (0755, root, sys) %{_sysconfdir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    79
%dir %attr (0755, root, root) %{_sysconfdir}/brltty
5785
laca
parents: 5783
diff changeset
    80
%{_sysconfdir}/brltty/*
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    81
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    82
%files share
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    83
%defattr (-, root, sys)
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}/*
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    86
%{_mandir}/*/*
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
%files devel
5899
07d957e9ff9a add missing 0's to octal file modes
laca
parents: 5859
diff changeset
    89
%defattr(0644, root, root)
5580
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    90
%dir %attr (0755, root, bin) %{_includedir}
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    91
%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
    92
%{_includedir}/brltty/*.h
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
    93
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
%changelog
6824
aed6d51207f1 Make version match that in ../brltty.spec
wwalker
parents: 6786
diff changeset
    96
* Thu Feb 23 2006 - [email protected]
aed6d51207f1 Make version match that in ../brltty.spec
wwalker
parents: 6786
diff changeset
    97
- 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
    98
* Fri Feb 17 2006 - [email protected]
4bfa00f51396 2006-02-17 Damien Carbery <[email protected]>
dc144907
parents: 6204
diff changeset
    99
- 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
   100
* Fri Oct 28 2005 - [email protected]
6bd2d0e47874 * SUNWbrltty.spec: Update packaging for new source tarball. Add
dc144907
parents: 6102
diff changeset
   101
- Update packaging for new source tarball. Add prerequisite packages.
5783
4b20ad0ad5fd 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5596
diff changeset
   102
* Fri Sep 09 2005 - <[email protected]>
4b20ad0ad5fd 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5596
diff changeset
   103
- add unpackaged files to %files
5596
270b4489f166 Forgot to add in Changelog entries for the last change.
richb
parents: 5594
diff changeset
   104
* Thu Aug 25 2005
270b4489f166 Forgot to add in Changelog entries for the last change.
richb
parents: 5594
diff changeset
   105
- 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
   106
* Mon Aug 22 2005
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   107
- 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
   108
  installed via "make install"
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   109
* Tue Aug 16 2005 - [email protected]
3ddcb6abfa94 Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff changeset
   110
- initial version