tidy up spec file

epel9
Nils Philippsen 8 years ago
parent 485e53196a
commit 2a0349bd38

@ -3,12 +3,10 @@ Name: libraw1394
Version: 2.1.2 Version: 2.1.2
Release: 1%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries
Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz Source: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz
URL: http://www.dennedy.org/libraw1394/ URL: http://www.dennedy.org/libraw1394/
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kernel-headers
BuildRequires: autoconf automake libtool kernel-headers
%description %description
The libraw1394 library provides direct access to the IEEE-1394 bus. The libraw1394 library provides direct access to the IEEE-1394 bus.
@ -16,9 +14,9 @@ Support for both the obsolete ieee1394 interface and the new firewire
intererface are included, with run-time detection of the active stack. intererface are included, with run-time detection of the active stack.
%package devel %package devel
Summary: Development libs for libraw1394 Summary: Development libs for libraw1394
Group: Development/Libraries Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}, pkgconfig Requires: pkgconfig
%description devel %description devel
Development libraries needed to build applications against libraw1394. Development libraries needed to build applications against libraw1394.
@ -31,19 +29,14 @@ Development libraries needed to build applications against libraw1394.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make install DESTDIR=%{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT rm -f %{buildroot}%{_libdir}/libraw1394.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libraw1394.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,0755)
%doc COPYING.LIB README NEWS %doc COPYING.LIB README NEWS
%{_bindir}/dumpiso %{_bindir}/dumpiso
%{_bindir}/sendiso %{_bindir}/sendiso
@ -55,7 +48,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man5/isodump.5.gz %{_mandir}/man5/isodump.5.gz
%files devel %files devel
%defattr(-,root,root,0755)
%doc doc/libraw1394.sgml %doc doc/libraw1394.sgml
%{_includedir}/libraw1394/ %{_includedir}/libraw1394/
%{_libdir}/libraw1394.so %{_libdir}/libraw1394.so
@ -65,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Oct 26 2016 Nils Philippsen <nils@tiptoe.de> - 2.1.2-1 * Wed Oct 26 2016 Nils Philippsen <nils@tiptoe.de> - 2.1.2-1
- version 2.1.2 - version 2.1.2
- tidy up spec file
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save