libraw1394/libraw1394.spec

194 lines
5.5 KiB
RPMSpec

#
# spec file for package libraw1394 (Version 1.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libraw1394
Version: 1.3.0
Release: 16
License: LGPL v2.1 or later
Summary: A Firewire Interface
Url: http://www.linux1394.org/
Group: System/Kernel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.linux1394.org/files/libraw1394/%{name}-%{version}.tar.bz2
Patch: libraw1394.no-isodump.patch
Patch1: libraw1394.eventloop-return.patch
Patch10: libraw1394.mpg1394grab.patch
Patch11: libraw1394.mpg1394grab-beautify.patch
%description
A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%package 8
License: LGPL v2.1 or later
Summary: A Firewire Interface
Group: System/Kernel
%description 8
A library for the Linux IEEE-1394 subsystem, which provides direct
access to the connected 1394 (Firewire) bus.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%package devel
License: LGPL v2.1 or later
Summary: Development and Include Files for libraw1394
Summary(pt_BR): Arquivos de desenvolvimento e cabeçalhos para o libraw1394
Group: Development/Libraries/C and C++
Requires: %{name}-8 == %{version} glibc-devel
%description devel
Libraw1394 is the only supported interface to the kernel side raw1394
of the Linux IEEE-1394 subsystem, which provides the user space direct
access to the connected 1394 buses. Through libraw1394/raw1394,
applications can directly send to and receive from other nodes without
requiring a kernel driver for the protocol in question.
This archive contains the header files for libraw1394 development.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Manfred Weihs <weihs@ict.tuwien.ac.at>
Christian Toegel <christian.toegel@gmx.at>
Dan Maas <dmaas@maasdigital.com>
Ben Collins <bcollins@debian.org>
Andreas Bombe <andreas.bombe@munich.netsurf.de>
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch10 -p1
%patch11 -p1
%build
autoreconf --force --install
export CFLAGS="%optflags"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all
%install
%{__make} install DESTDIR=%{buildroot}
# empty dependency libs
rm -f %{buildroot}%{_libdir}/libraw1394.la
%clean
rm -rf $RPM_BUILD_ROOT
%post 8 -p /sbin/ldconfig
%postun 8 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING* NEWS README
%{_bindir}/testlibraw
%{_bindir}/dumpiso
%{_bindir}/sendiso
%{_bindir}/mpg1394grab
%{_mandir}/man*/*
%files 8
%defattr(-,root,root)
%{_libdir}/libraw1394.so.8*
%files devel
%defattr(-,root,root)
%{_includedir}/libraw1394
%{_libdir}/libraw1394.so
%{_libdir}/pkgconfig/libraw1394.pc
%changelog
* Wed Jun 25 2008 olh@suse.de
- eventloop.c: fix to retry read when failed with EINTR.
* Wed May 21 2008 cthiel@suse.de
- fix baselibs.conf
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Tue Mar 18 2008 crrodriguez@suse.de
- remove pointless libtool archive with empty dependency_libs
- remove static libraries
- update to version 1.3.0
* added raw1394_read_cycle_timer() as used by FFADO project.
* added support for environment variable RAW1394DEV to override default device node /dev/raw1394.
* added --with-valgrind to configure script. other optimizations and bugfixes - see ChangeLog.
* Sat Aug 04 2007 olh@suse.de
- remove isodump.5 man page
split libraw1394-8 package which contains only libraries
* Mon Jan 29 2007 olh@suse.de
- add mpg1394grab (#236537)
* Tue Jul 18 2006 olh@suse.de
- update to version 1.2.1
generate compiler warnings on deprecated functions (legacy isochronous).
bugfixes and optimizations.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 01 2005 olh@suse.de
- update to version 1.2.0
add bugfix stalling on iso transmission underflow
* Tue Jan 11 2005 olh@suse.de
- update to version 1.1.0
* Mon Mar 08 2004 lmuelle@suse.de
- update to version 0.10.1
* Fri Feb 20 2004 kkaempf@suse.de
- adapt aclocal definitions to automake 1.8.x (#34793)
* Sun Jan 11 2004 adrian@suse.de
- add %%run_ldconfig
* Mon Jan 27 2003 kukuk@suse.de
- Move .so symlinks into -devel package [Bug #22382]
* Sun Jan 12 2003 aj@suse.de
- Fix multiline strings.
* Thu Jun 20 2002 ro@suse.de
- run autoreconf
* Fri Jun 07 2002 bk@suse.de
- fix defattr properly(for perms of includedir, mandir, docdir)
- never ever include %%{_mandir}/* (dirs!) into package filelist
- fix rpm license tag to LGPL and add URL tag und use optflags
* Tue May 28 2002 lmuelle@suse.de
- fixed directory permissions of includedir
* Tue Feb 26 2002 kraxel@suse.de
- added automake m4 file to devel package file list
- fixed s390x build failure
* Sat Sep 22 2001 bjacke@suse.de
- initial build: version 0.9.0