Spec file clean-up

epel8
Nicolas Chauvet 9 years ago
parent 47cb31ed1d
commit f32692f8b6

@ -1,18 +1,20 @@
Summary: Library for MPEG TS and DVB PSI tables decoding and generation Summary: Library for MPEG TS and DVB PSI tables decoding and generation
Name: libdvbpsi Name: libdvbpsi
Version: 1.3.0 Version: 1.3.0
Release: 1%{?pre}%{?dist} Release: 2%{?pre}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.videolan.org/developers/libdvbpsi.html URL: http://www.videolan.org/developers/libdvbpsi.html
Source0: http://download.videolan.org/pub/libdvbpsi/%{version}/%{name}-%{version}%{?pre}.tar.bz2 Source0: http://download.videolan.org/pub/libdvbpsi/%{version}/%{name}-%{version}%{?pre}.tar.bz2
BuildRequires: gcc
BuildRequires: graphviz doxygen BuildRequires: graphviz doxygen
BuildRequires: libtool BuildRequires: libtool
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{_isa} = %{version}-%{release}
%description %description
@ -32,20 +34,21 @@ autoreconf -vif
%build %build
%configure --disable-dependency-tracking --disable-static %configure --disable-dependency-tracking --disable-static
make %{?_smp_mflags} %make_build
make doc make doc
%install %install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %make_install INSTALL="install -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la rm -f %{buildroot}%{_libdir}/lib*.la
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc AUTHORS COPYING ChangeLog README %doc AUTHORS ChangeLog README
%license COPYING
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%files devel %files devel
@ -56,6 +59,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
%changelog %changelog
* Thu Sep 15 2016 Nicolas Chauvet <kwizart@gmail.com> - 1.3.0-2
- Spec file clean-up
* Sat Oct 24 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.3.0-1 * Sat Oct 24 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.3.0-1
- Update to 1.3.0 - Update to 1.3.0

Loading…
Cancel
Save