Commit ead000dc authored by Yves Duret's avatar Yves Duret

update spec file:

 - s#Copyright#License#
 - include the libtool .la files.
 - use macros.
 - update URL: tag.
parent da12e0cd
%define name libdvbpsi %define name libdvbpsi
%define version 0.1.2 %define version 0.1.2
%define release 1 %define release 2mdk
%define major 1 %define major 1
%define lib_name %{name}%{major} %define lib_name %{name}%{major}
...@@ -9,8 +10,8 @@ Name: %{name} ...@@ -9,8 +10,8 @@ Name: %{name}
Version: %{version} Version: %{version}
Release: %{release} Release: %{release}
License: GPL License: GPL
URL: http://www.videolan.org/ URL: http://www.videolan.org/libdvbpsi/
Group: Application/Multimedia Group: System/Libraries
Source: http://www.videolan.org/pub/videolan/libdvbpsi/%{version}/%{name}-%{version}.tar.gz Source: http://www.videolan.org/pub/videolan/libdvbpsi/%{version}/%{name}-%{version}.tar.gz
BuildRoot: %_tmppath/%name-%version-%release-root BuildRoot: %_tmppath/%name-%version-%release-root
...@@ -22,7 +23,7 @@ decoding and generating. The important features are: ...@@ -22,7 +23,7 @@ decoding and generating. The important features are:
%package -n %{lib_name} %package -n %{lib_name}
Summary: A library for decoding and generating MPEG 2 and DVB PSI sections. Summary: A library for decoding and generating MPEG 2 and DVB PSI sections.
Group: Application/Multimedia Group: System/Libraries
Provides: %name Provides: %name
%description -n %{lib_name} %description -n %{lib_name}
...@@ -51,8 +52,8 @@ the %name package installed. ...@@ -51,8 +52,8 @@ the %name package installed.
%setup -q %setup -q
%build %build
./configure --prefix=%_prefix --enable-release %configure --enable-release
make %make
%install %install
%makeinstall %makeinstall
...@@ -67,17 +68,22 @@ rm -rf %buildroot ...@@ -67,17 +68,22 @@ rm -rf %buildroot
%files -n %{lib_name} %files -n %{lib_name}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS README COPYING ChangeLog %doc AUTHORS README COPYING ChangeLog
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n %{lib_name}-devel %files -n %{lib_name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING
%{_libdir}/*.a %{_libdir}/*a
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Fri Dec 13 2002 Yves Duret <yves@zarb.org> 0.1.2-2mdk
- s#Copyright#License#
- include the libtool .la files.
- use macros.
- update URL: tag.
* Fri Oct 11 2002 Samuel Hocevar <sam@zoy.org> * Fri Oct 11 2002 Samuel Hocevar <sam@zoy.org>
- 0.1.2 release. - 0.1.2 release.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment