Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
twolame
> twolame.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File twolame.spec of Package twolame
# norootforbuild %define _prefix /usr 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 %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. %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. This package contains the shared libraries for TwoLame. %package -n libtwolame-devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: libtwolame0 = %{version} Provides: twolame-devel = 0.3.12 Obsoletes: twolame-devel < 0.3.12 %description -n libtwolame-devel This package contains all necessary include files and libraries needed to develop applications that require these. %debug_package %prep %setup -q -n %{name}-%{version} %{?suse_update_config:%{suse_update_config -f}} dos2unix doc/html/*.html %__chmod 644 doc/html/*.html %build %configure %__make %{?jobs:-j%{jobs}} %install %makeinstall %__install -dm 755 %{buildroot}%{_docdir} %__mv %{buildroot}%{_datadir}/doc/%{name} \ %{buildroot}%{_docdir}/%{name}-devel %__rm %{buildroot}%{_libdir}/*.la %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %post -n libtwolame0 -p /sbin/ldconfig %postun -n libtwolame0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README TODO %{_bindir}/* %{_mandir}/man*/* %files -n libtwolame0 %defattr(-,root,root) %{_libdir}/*.so.* %files -n libtwolame-devel %defattr(-,root,root) %doc %{_docdir}/twolame-devel %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/*.pc %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build