libavc1394/libavc1394.spec

112 lines
3.4 KiB
RPMSpec

Name: libavc1394
Version: 0.5.4
Release: 2mamba
Summary: Library for providing raw access to IEEE 1394 devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libavc1394/
Source: http://downloads.sourceforge.net/project/libavc1394/libavc1394/libavc1394-%{version}.tar.gz
#Source: http://dl.sf.net/libavc1394/libavc1394-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libraw1394-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig >= 0.15.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libavc1394 is a programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set.
%package devel
Summary: Files for developing applications that use %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libavc1394 is a programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set.
This package contains static libraries and header files needed for development.
%package tools
Summary: Tools provided by %{name}
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Libavc1394 is a programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set.
This package contains the tools provided by %{name}.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/libavc1394.so.*
%{_libdir}/librom1394.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/libavc1394.a
%{_libdir}/libavc1394.la
%{_libdir}/libavc1394.so
%{_libdir}/librom1394.a
%{_libdir}/librom1394.la
%{_libdir}/librom1394.so
%{_libdir}/pkgconfig/libavc1394.pc
%doc ChangeLog NEWS README TODO
%files tools
%defattr(-, root, root)
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-2mamba
- added debug package, aarch64 build fix and tools subpackage
* Mon Jan 31 2011 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
- automatic update by autodist
* Thu Sep 30 2010 Automatic Build System <autodist@mambasoft.it> 0.5.3-4mamba
- automatic rebuild by autodist
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-3mamba
- automatic rebuild by autodist
* Mon Jun 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-2mamba
- specfile updated
* Mon Jul 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.5.3-1qilnx
- update to version 0.5.3 by autospec
* Tue Aug 02 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.5.1-1qilnx
- update to version 0.5.1 by autospec
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.3-2qilnx
- specfile modified to match QiLinux standards
* Fri Sep 10 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.4.1-1qilnx
- first build