?? libdvbpsi.spec
字號:
%define name libdvbpsi3%define version 0.1.5%define release 1%define major 4%define lib_name %{name}%{major}%define redhat80 0%if %redhat80%define release %rel# some mdk macros that do not exist in rh%define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr%define make %__make%define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install# adjust define for Redhat.%endifSummary: A library for decoding and generating MPEG 2 and DVB PSI sections.Name: %{name}Version: %{version}Release: %{release}Packager: Yves Duret <yves@zarb.org>License: GPLURL: http://developers.videolan.org/libdvbpsi/Group: System/LibrariesSource: http://www.videolan.org/pub/videolan/libdvbpsi/%{version}/%{name}${major}-%{version}.tar.bz2BuildRoot: %_tmppath/%name%major-%version-%release-root%descriptionlibdvbpsi is a simple library designed for MPEG 2 TS and DVB PSI tablesdecoding and generating. The important features are: * PAT decoder and genarator. * PMT decoder and generator.%package -n %{lib_name}Summary: A library for decoding and generating MPEG 2 and DVB PSI sections.Group: System/LibrariesProvides: %name%description -n %{lib_name}libdvbpsi is a simple library designed for MPEG 2 TS and DVB PSI tablesdecoding and generating. The important features are: * PAT decoder and genarator. * PMT decoder and generator.%package -n %{lib_name}-develSummary: Development tools for programs which will use the libdvbpsi library.Group: Development/CProvides: %name-devel =%version-%releaseRequires: %{lib_name} = %version-%release%description -n %{lib_name}-develThe %{name}-devel package includes the header files and static librariesnecessary for developing programs which will manipulate MPEG 2 and DVB PSIinformation using the %{name} library.If you are going to develop programs which will manipulate MPEG 2 and DVB PSIinformation you should install %{name}-devel. You'll also need to havethe %name package installed.%prep%setup -q%build%configure2_5x --enable-release%make %installrm -rf %buildroot%makeinstall_std%cleanrm -rf %buildroot%post -n %{lib_name} -p /sbin/ldconfig%postun -n %{lib_name} -p /sbin/ldconfig%files -n %{lib_name}%defattr(-,root,root,-)%doc AUTHORS README COPYING ChangeLog%{_libdir}/*.so.*%files -n %{lib_name}-devel%defattr(-,root,root)%doc COPYING%{_libdir}/*a%{_libdir}/*.so%{_includedir}/*%changelog* Wed Jul 6 2005 Sam Hocevar <sam+rpm@zoy.org>- 0.1.5 release.* Fri Jan 2 2004 Sam Hocevar <sam@zoy.org>- 0.1.4 release.* Tue Jul 29 2003 Yves Duret <yves@zarb.org>- 0.1.3 release.* 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>- 0.1.2 release.* Sat May 18 2002 Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>- 0.1.1 release.* Mon Apr 8 2002 Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>- split into two separate packages.* Thu Apr 4 2002 Jean-Paul Saman <saman@natlab.research.philips.com>- first version of package for redhat systems.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -