provide -tools subpackage, remove .la file, other specfile fixes [release 2.1.2-2mamba;Thu Oct 09 2025]

This commit is contained in:
2025-10-09 16:36:32 +02:00
parent f6552d7d81
commit 41a8413875

View File

@@ -1,19 +1,17 @@
Name: libraw1394
Version: 2.1.2
Release: 1mamba
Release: 2mamba
Summary: Direct access library to the IEEE 1394 bus
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libraw1394/
URL: https://sourceforge.net/projects/libraw1394/
Source: https://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-%{version}.tar.gz
#Source: http://downloads.sourceforge.net/project/libraw1394/libraw1394/libraw1394-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The libraw1394 library provides direct access to the IEEE 1394 bus through the Linux 1394 subsystem's raw1394 user space interface.
@@ -21,13 +19,22 @@ The libraw1394 library provides direct access to the IEEE 1394 bus through the L
%package devel
Summary: Devel files for libraw1394
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
%description devel
The libraw1394 library provides direct access to the IEEE 1394 bus through the Linux 1394 subsystem's raw1394 user space interface.
This package contains the development libraries needed to build applications against libraw1394.
%package tools
Summary: Tools provided with libraw1394
Group: System/Tools
Requires: %{name} = %{version}-%{release}
%description tools
The libraw1394 library provides direct access to the IEEE 1394 bus through the Linux 1394 subsystem's raw1394 user space interface.
This package contains the tools provided with libraw1394.
%prep
%setup -q
@@ -42,32 +49,34 @@ This package contains the development libraries needed to build applications aga
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libraw1394.so.*
%doc COPYING.LIB
%files devel
%defattr(-,root,root)
%{_libdir}/libraw1394.a
%{_libdir}/libraw1394.so
%{_libdir}/pkgconfig/libraw1394.pc
%dir %{_includedir}/libraw1394
%{_includedir}/libraw1394/*.h
%doc doc/libraw1394.sgml README NEWS
%files tools
%defattr(-,root,root)
%{_bindir}/testlibraw
%{_bindir}/dumpiso
%{_bindir}/sendiso
%{_libdir}/libraw1394.so.*
%{_mandir}/man1/testlibraw.*
%{_mandir}/man1/dumpiso.*
%{_mandir}/man1/sendiso.*
%{_mandir}/man5/isodump.*
%doc COPYING.LIB README NEWS
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/libraw1394.pc
%dir %{_includedir}/libraw1394
%{_includedir}/libraw1394/*.h
%doc doc/libraw1394.sgml
%changelog
* Thu Oct 09 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-2mamba
- provide -tools subpackage, remove .la file, other specfile fixes
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist