1 # 2 # spec file for package SUNWbrltty 3 # 4 # includes module(s): brltty 5 # 6 # Copyright 2007 Sun Microsystems, Inc. 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} 20 SUNW_Copyright: %{name}.copyright 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 Requires: SUNWugen 23 Requires: SUNWcslr 24 %if %option_with_fox 25 Requires: FSWxorg-clientlibs 26 Requires: FSWxwrtl 27 %else 28 Requires: SUNWxwrtl 29 Requires: SUNWxwplt 30 %endif 31 Requires: SUNWPython 32 Requires: SUNWPython-extra 33 Requires: SUNWgnome-a11y-libs 34 BuildRequires: SUNWugenu 35 BuildRequires: SUNWcslr 36 BuildRequires: SUNWPython-devel 37 BuildRequires: SUNWPython-extra 38 BuildRequires: SUNWgnome-a11y-libs-devel 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 68 rm -rf $RPM_BUILD_ROOT%{_mandir}/man3 69 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* 79 %{_bindir}/vstp 80 %{_bindir}/xbrlapi 81 %dir %attr (0755, root, bin) %{_libdir} 82 %{_libdir}/libbrlapi.so.* 83 %{_libdir}/libbrlapi.so 84 %{_libdir}/brltty/libbrltty*.so 85 %{_libdir}/brltty/rw 86 %{_libdir}/python?.?/vendor-packages 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} 100 %{_includedir}/brlapi*.h 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 108 * Thu Apr 03 2008 - damien.carbery@sun.com 109 - Add SUNW_Copyright. 110 * Mon Nov 12 2007 - li.yuan@sun.com 111 - Remove brlapi manpages. 112 * Thu Oct 11 2007 - damien.carbery@sun.com 113 - Add 'Build/Requires: SUNWcslr' to fix 6615512. 114 * Wed Oct 10 2007 - damien.carbery@sun.com 115 - Update Build/Requires after running check-deps.pl script. 116 * Fri Sep 28 2007 - laca@sun.com 117 - add option to build with FOX instead of Nevada X 118 * Wed Jul 25 2007 - damien.carbery@sun.com 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). 121 * Thu Oct 05 2006 - damien.carbery@sun.com 122 - Add Requires SUNWxwplt to partially fix 6454451. 123 * Sat Aug 12 2006 - laca@sun.com 124 - delete some unnecessary env variables 125 * Thu May 04 2006 - laca@sun.com 126 - merge -share pkg(s) into the base pkg(s) 127 * Tue Apr 04 2006 - glynn.foster@sun.com 128 - Fix installation of devel vs non-devel libraries. 129 * Thu Feb 23 2006 - william.walker@sun.com 130 - Anal-rententive version name change to match ../brltty.spec (3.7.2) 131 * Fri Feb 17 2006 - damien.carbery@sun.com 132 - Update Build/Requires after running check-deps.pl script. 133 * Fri Oct 28 2005 - damien.carbery@sun.com 134 - Update packaging for new source tarball. Add prerequisite packages. 135 * Fri Sep 09 2005 - <laca@sun.com> 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 - rich.burridge@sun.com 143 - initial version 144