tidy up spec file

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

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

Loading…
Cancel
Save