Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
twolame
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
twolame.spec
@@ -1,54 +1,62 @@ # norootforbuild -%define _prefix /usr +%define _prefix /usr -Name: twolame -Summary: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder -Version: 0.3.10 -Release: 1 -License: GPL -Group: Productivity/Multimedia/Sound/Utilities -URL: http://www.twolame.org/ +Name: twolame +Summary: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder +Version: 0.3.12 +Release: 1 +License: GPL +Group: Productivity/Multimedia/Sound/Utilities +URL: http://www.twolame.org/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dos2unix BuildRequires: flac-devel BuildRequires: libsndfile-devel BuildRequires: pkgconfig -#Requires: libsndfile %description -TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by -Mike Cheng, which in turn is based upon the ISO dist10 code and portions of -LAME. TwoLAME includes libtwolame, a fully thread-safe shared library with an -API very similar to LAME's. +TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on +tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 +code and portions of LAME. TwoLAME includes libtwolame, a fully +thread-safe shared library with an API very similar to LAME's. + +%package -n libtwolame0 +Summary: Shared libraries for TwoLame +Group: System/Libraries + +%description -n libtwolame0 +TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on +tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 +code and portions of LAME. TwoLAME includes libtwolame, a fully +thread-safe shared library with an API very similar to LAME's. -Author: see AUTHORS +This package contains the shared libraries for TwoLame. -%package devel +%package -n libtwolame-devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} +Requires: libtwolame0 = %{version} +Provides: twolame-devel = 0.3.12 +Obsoletes: twolame-devel < 0.3.12 -%description devel +%description -n libtwolame-devel This package contains all necessary include files and libraries needed to develop applications that require these. -Author: see AUTHORS - %debug_package %prep %setup -q -n %{name}-%{version} %{?suse_update_config:%{suse_update_config -f}} -dos2unix doc/html/*.html +dos2unix doc/html/*.html +%__chmod 644 doc/html/*.html %build -%configure \ - --prefix=%{_prefix} - -%__make %{?_smp_mflags} +%configure +%__make %{?jobs:-j%{jobs}} %install %makeinstall @@ -57,25 +65,29 @@ %__mv %{buildroot}%{_datadir}/doc/%{name} \ %{buildroot}%{_docdir}/%{name}-devel +%__rm %{buildroot}%{_libdir}/*.la + %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} -%post -p /sbin/ldconfig +%post -n libtwolame0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libtwolame0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README TODO %{_bindir}/* -%{_libdir}/*.so.* %{_mandir}/man*/* -%files devel +%files -n libtwolame0 +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files -n libtwolame-devel %defattr(-,root,root) %doc %{_docdir}/twolame-devel %{_includedir}/* -%{_libdir}/*.la %{_libdir}/*.a %{_libdir}/*.so %{_includedir}/* @@ -84,4 +96,3 @@ %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build -
Added
twolame-0.3.12.tar.bz2
^