auto-import changelog data from brltty-3.2-2.1.src.rpm
Wed Aug 27 2003 Adrian Havill <havill@redhat.com> 3.2-2.1 - bumped n-v-r Mon Jul 07 2003 Adrian Havill <havill@redhat.com> 3.2-2 - changed spec "Copyright" to "License" - use CFLAGS="${CFLAGS:--O2 -g -pipe}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -g -pipe}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -g -pipe}" ; export FFLAGS ; for i in $(find . -name config.guess 2>/dev/null) $(find . -name config.sub 2>/dev/null) ; do [ -f /usr/lib/rpm/redhat/$(basename $i) ] && /bin/rm -f $i && /bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ; done ; ./configure --host=x86_64-redhat-linux --build=x86_64-redhat-linux \ --target=x86_64-redhat-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib64 \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/usr/com \ --mandir=/usr/share/man \ --infodir=/usr/share/info macro, /usr/lib64 for non-ia32 archs - removed unnecessary set and unset, assumed/default spec headers - fixed unpackaged man page, duplicate /bin and /lib entries - use plain install vs scripts for non-i386 buildsys
This commit is contained in:
parent
b152e8621d
commit
a88e8373ca
@ -0,0 +1 @@
|
||||
brltty-3.2.tar.gz
|
85
brltty.spec
Normal file
85
brltty.spec
Normal file
@ -0,0 +1,85 @@
|
||||
Name: brltty
|
||||
Version: 3.2
|
||||
Release: 2.1
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
URL: http://mielke.cc/brltty/
|
||||
Source: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-InstallRoot
|
||||
Summary: Braille display driver for Linux/Unix.
|
||||
|
||||
%description
|
||||
BRLTTY is a background process (daemon) which provides
|
||||
access to the Linux/Unix console (when in text mode)
|
||||
for a blind person using a refreshable braille display.
|
||||
It drives the braille display,
|
||||
and provides complete screen review functionality.
|
||||
Some speech capability has also been incorporated.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%configure --with-install-root="${RPM_BUILD_ROOT}"
|
||||
make
|
||||
|
||||
directory="doc"
|
||||
mkdir -p "${directory}"
|
||||
for file in `find . -path "./${directory}" -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' \) -print`
|
||||
do
|
||||
mkdir -p "${directory}/${file%/*}"
|
||||
cp -rp "${file}" "${directory}/${file}"
|
||||
done
|
||||
|
||||
%install
|
||||
make install-programs install-help install-tables install-drivers install-manpage
|
||||
install Documents/brltty.conf "${RPM_BUILD_ROOT}/etc"
|
||||
rm -f ${RPM_BUILD_ROOT}/bin/brltty
|
||||
rm -f ${RPM_BUILD_ROOT}/bin/install-brltty
|
||||
rm -rf ${RPM_BUILD_ROOT}/lib/brltty/*
|
||||
|
||||
%post
|
||||
devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a"
|
||||
install=true
|
||||
for device in ${devices}
|
||||
do
|
||||
if [ -c "${device}" ]
|
||||
then
|
||||
install=false
|
||||
break
|
||||
fi
|
||||
done
|
||||
if $install
|
||||
then
|
||||
device="`set -- ${devices} && echo "${1}"`"
|
||||
echo -n "Creating screen inspection device ${device}..."
|
||||
mkdir -p "${device%/*}"
|
||||
mknod -m o= "${device}" c 7 128
|
||||
chmod 660 "${device}"
|
||||
chown root.tty "${device}"
|
||||
echo "done."
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%doc Documents/ChangeLog Documents/TODO
|
||||
%doc Bootdisks/rhmkboot Bootdisks/rhmkroot
|
||||
%doc doc/*
|
||||
%doc /usr/share/man/man1/*
|
||||
%config(noreplace) /etc/brltty.conf
|
||||
%{_bindir}/brltty
|
||||
%{_bindir}/install-brltty
|
||||
%{_libdir}/brltty/*
|
||||
/etc/brltty
|
||||
|
||||
%changelog
|
||||
* Wed Aug 27 2003 Adrian Havill <havill@redhat.com> 3.2-2.1
|
||||
- bumped n-v-r
|
||||
|
||||
* Mon Jul 07 2003 Adrian Havill <havill@redhat.com> 3.2-2
|
||||
- changed spec "Copyright" to "License"
|
||||
- use %configure macro, %{_libdir} for non-ia32 archs
|
||||
- removed unnecessary set and unset, assumed/default spec headers
|
||||
- fixed unpackaged man page, duplicate /bin and /lib entries
|
||||
- use plain install vs scripts for non-i386 buildsys
|
Loading…
Reference in New Issue
Block a user