@ -1,19 +1,19 @@
Summary: Library providing low-level IEEE-1394 access
Summary: Library providing low-level IEEE-1394 access
Name: libraw1394
Name: libraw1394
Version: 0.9 .0
Version: 0.10 .0
Release: 12
Release: 2. 1
License: GPL
License: GPL
Group: Applications/Multimedia
Group: System Environment/Libraries
Source: http://download.sourceforge.net/libraw1394/libraw1394_0.9 .0.tar.gz
Source: http://www.linux1394.org/files/libraw1394/libraw1394-0.10 .0.tar.gz
Patch0: libraw1394-0.9.0-gcc33.patch
URL: http://www.linux1394.org/
ExcludeArch: s390 s390x
ExcludeArch: s390 s390x
BuildRequires: libtool automake autoconf
## not needed
# BuildRequires: libtool automake14 autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%description
The libraw1394 library provides direct access to the
The libraw1394 library provides direct access to the IEEE-1394 bus through
IEEE-1394 bus through the Linux 1394 subsystem's raw1394 user space
the Linux 1394 subsystem's raw1394 user space interface.
interface.
%package devel
%package devel
Summary: Development libs for libraw1394
Summary: Development libs for libraw1394
@ -24,20 +24,22 @@ Requires: %{name} = %{version}-%{release}
Development libraries needed to build applications against libraw1394.
Development libraries needed to build applications against libraw1394.
%prep
%prep
%setup
%setup -q
%patch0 -p1 -b .gcc33
libtoolize --force
## not needed
aclocal
#libtoolize --force
automake --add-missing
#aclocal-1.4
autoconf
#automake-1.4 --add-missing
#autoconf
%build
%build
%configure
%configure
make
make %{?_smp_mflags}
%install
%install
rm -rf %{buildroot}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
%clean
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
@ -47,24 +49,41 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc COPYING INSTALL README
%doc COPYING README NEWS
%doc /usr/share/man/man1/testlibraw.1.gz
%doc %{_mandir}/man1/testlibraw.1.gz
/usr/bin/testlibraw
%doc %{_mandir}/man1/dumpiso.1.gz
%{_libdir}/libraw1394.so.5.0.0
%doc %{_mandir}/man1/sendiso.1.gz
%doc %{_mandir}/man5/isodump.5.gz
%{_bindir}/testlibraw
%{_bindir}/dumpiso
%{_bindir}/sendiso
%{_libdir}/libraw1394.so.*
%files devel
%files devel
%defattr(-,root,root)
%defattr(-,root,root,-)
/usr/include/libraw1394
%doc doc/libraw1394.sgml
%{_includedir}/libraw1394
%{_libdir}/libraw1394.a
%{_libdir}/libraw1394.a
%{_libdir}/libraw1394.la
%{_libdir}/libraw1394.la
%{_libdir}/libraw1394.so
%{_libdir}/libraw1394.so
/usr/share/aclocal/libraw1394.m4
%{_datadir}/aclocal/libraw1394.m4
%doc doc/libraw1394.ps
%doc doc/libraw1394
%changelog
%changelog
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Sat Feb 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- add symlinks to shared libs already at install time
* Thu Feb 12 2004 Warren Togami <wtogami@redhat.com> 0.10.0-1
- upgrade to 0.10.0
- Spec cleanups
- Remove INSTALL, add NEWS
- Add new binaries
- libtool, auto* not needed
* Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 0.9.0-12
* Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 0.9.0-12
- have -devel require main pacakge
- have -devel require main pacakge