libraw1394/libraw1394.spec
2019-11-19 11:49:51 +08:00

64 lines
1.6 KiB
RPMSpec

Name: libraw1394
Version: 2.1.2
Release: 8
Summary: Provides direct access to the IEEE 1394 bus
License: LGPLv2+
URL: http://www.dennedy.org/libraw1394/
Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz
BuildRequires: gcc kernel-headers
%description
Libraw1394 is the only supported interface to the kernel side raw1394 of
the Linux IEEE-1394 subsystem, which provides direct access to the connected
1394 buses to user space. Through libraw1394/raw1394, applications can directly
send to and receive from other nodes without requiring a kernel driver for the
protocol in question.
%package devel
Summary: Development files for libraw1394
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
This package contains libraries and header files for libraw1394.
%package help
Summary: Help documents for libraw1394
%description help
This Package contains man pages and other files for libraw1394.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING.LIB
%doc README NEWS
%{_libdir}/libraw1394.so.*
%{_bindir}/{dumpiso,sendiso,testlibraw}
%files devel
%doc doc/libraw1394.sgml
%{_includedir}/libraw1394/
%{_libdir}/libraw1394.so
%{_libdir}/pkgconfig/libraw1394.pc
%files help
%{_mandir}/man1/*
%{_mandir}/man5/isodump.5.gz
%changelog
* Fri Oct 25 2019 yanzhihua <yanzhihua4@huawei.com> - 2.1.2-8
- Package init