SUNWbrltty.spec
author dkenny
Mon, 14 Jul 2008 14:46:05 +0000
branchgnome-2-22
changeset 12467 6830bb7a5bbd
parent 12016 ae9845dead4d
child 12763 63d744a55e5f
permissions -rw-r--r--
2008-07-14 Darren Kenny <[email protected]> * base-specs/evince.spec, patches/evince-03-static-enum.diff: Add patch to fix crash when using presentation mode (bug#6724495), and logged upstream bugzilla bug#542924.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWbrltty
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): brltty
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner:dcarbery
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use brltty = brltty.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:              SUNWbrltty
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:           Braille support
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:           %{brltty.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:      %{_basedir}
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11186
diff changeset
    20
SUNW_Copyright:    %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Requires: SUNWugen
10642
d68de3326f6c 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10633
diff changeset
    23
Requires: SUNWcslr
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
    24
%if %option_with_fox
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
    25
Requires: FSWxorg-clientlibs
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
    26
Requires: FSWxwrtl
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
    27
%else
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: SUNWxwrtl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWxwplt
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
    30
%endif
10220
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
    31
Requires: SUNWPython
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
    32
Requires: SUNWPython-extra
10633
9d1d87d1238f 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
    33
Requires: SUNWgnome-a11y-libs
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: SUNWugenu
10642
d68de3326f6c 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10633
diff changeset
    35
BuildRequires: SUNWcslr
10220
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
    36
BuildRequires: SUNWPython-devel
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
    37
BuildRequires: SUNWPython-extra
10633
9d1d87d1238f 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
    38
BuildRequires: SUNWgnome-a11y-libs-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%package -n SUNWbrltty-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Summary:           %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%package -n SUNWbrltty-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Summary:           %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
SUNW_BaseDir:      %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%brltty.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
export CFLAGS="%optflags -I%{_includedir}"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%brltty.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%brltty.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
11164
2dc9bc7cab99 2007-11-12 Li Yuan <[email protected]>
liyuan
parents: 10642
diff changeset
    68
rm -rf $RPM_BUILD_ROOT%{_mandir}/man3
2dc9bc7cab99 2007-11-12 Li Yuan <[email protected]>
liyuan
parents: 10642
diff changeset
    69
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_bindir}/brltty*
10216
31171a5e3234 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    79
%{_bindir}/vstp
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%{_bindir}/xbrlapi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%{_libdir}/libbrlapi.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_libdir}/libbrlapi.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_libdir}/brltty/libbrltty*.so
11186
4b6f03766f09 2007-11-13 Brian Cameron <[email protected]>
yippi
parents: 11164
diff changeset
    85
%{_libdir}/brltty/rw
10222
a19ffd4f4697 s/site-packages/vendor-packages/ typo
dcarbery
parents: 10220
diff changeset
    86
%{_libdir}/python?.?/vendor-packages
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%dir %attr(0755, root, bin) %{_mandir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%defattr(-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%dir %attr (0755, root, sys) %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_sysconfdir}/brltty/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%dir %attr (0755, root, bin) %{_includedir}
10216
31171a5e3234 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   100
%{_includedir}/brlapi*.h
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{_includedir}/brltty/*.h
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%dir %attr(0755, root, bin) %{_mandir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%changelog
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11186
diff changeset
   108
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 11186
diff changeset
   109
- Add SUNW_Copyright.
11164
2dc9bc7cab99 2007-11-12 Li Yuan <[email protected]>
liyuan
parents: 10642
diff changeset
   110
* Mon Nov 12 2007 - [email protected]
2dc9bc7cab99 2007-11-12 Li Yuan <[email protected]>
liyuan
parents: 10642
diff changeset
   111
- Remove brlapi manpages.
10642
d68de3326f6c 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10633
diff changeset
   112
* Thu Oct 11 2007 - [email protected]
d68de3326f6c 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10633
diff changeset
   113
- Add 'Build/Requires: SUNWcslr' to fix 6615512.
d68de3326f6c 2007-10-11 Damien Carbery <[email protected]>
dcarbery
parents: 10633
diff changeset
   114
* Wed Oct 10 2007 - [email protected]
10633
9d1d87d1238f 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   115
- Update Build/Requires after running check-deps.pl script.
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
   116
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10222
diff changeset
   117
- add option to build with FOX instead of Nevada X
10218
5cb8566eda1a 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10216
diff changeset
   118
* Wed Jul 25 2007 - [email protected]
10220
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
   119
- Update %files for new tarball. Add Build/Requires SUNWPython-extra and
4ecabd6839c7 2007-07-25 Damien Carbery <[email protected]>
dcarbery
parents: 10218
diff changeset
   120
  SUNWPython/-devel to ensure python bindings are built (for use with orca).
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Thu Oct 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Add Requires SUNWxwplt to partially fix 6454451.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- delete some unnecessary env variables
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Fix installation of devel vs non-devel libraries.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Thu Feb 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- Anal-rententive version name change to match ../brltty.spec (3.7.2)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Fri Oct 28 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Update packaging for new source tarball. Add prerequisite packages.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Fri Sep 09 2005 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- add unpackaged files to %files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Thu Aug 25 2005
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Mon Aug 22 2005
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Adjustments needed to make the package proto maps equivalent to what gets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
  installed via "make install"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Tue Aug 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- initial version