Changes of Revision 3
[-] | Changed | twolame.spec |
x 1
2 # norootforbuild 3 4 -%define _prefix /usr 5 +%define _prefix /usr 6 7 -Name: twolame 8 -Summary: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder 9 -Version: 0.3.10 10 -Release: 1 11 -License: GPL 12 -Group: Productivity/Multimedia/Sound/Utilities 13 -URL: http://www.twolame.org/ 14 +Name: twolame 15 +Summary: TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder 16 +Version: 0.3.12 17 +Release: 1 18 +License: GPL 19 +Group: Productivity/Multimedia/Sound/Utilities 20 +URL: http://www.twolame.org/ 21 Source: %{name}-%{version}.tar.bz2 22 BuildRoot: %{_tmppath}/%{name}-%{version}-build 23 BuildRequires: dos2unix 24 BuildRequires: flac-devel 25 BuildRequires: libsndfile-devel 26 BuildRequires: pkgconfig 27 -#Requires: libsndfile 28 29 %description 30 -TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME by 31 -Mike Cheng, which in turn is based upon the ISO dist10 code and portions of 32 -LAME. TwoLAME includes libtwolame, a fully thread-safe shared library with an 33 -API very similar to LAME's. 34 +TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on 35 +tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 36 +code and portions of LAME. TwoLAME includes libtwolame, a fully 37 +thread-safe shared library with an API very similar to LAME's. 38 + 39 +%package -n libtwolame0 40 +Summary: Shared libraries for TwoLame 41 +Group: System/Libraries 42 + 43 +%description -n libtwolame0 44 +TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on 45 +tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 46 +code and portions of LAME. TwoLAME includes libtwolame, a fully 47 +thread-safe shared library with an API very similar to LAME's. 48 49 -Author: see AUTHORS 50 +This package contains the shared libraries for TwoLame. 51 52 -%package devel 53 +%package -n libtwolame-devel 54 Summary: Include Files and Libraries mandatory for Development 55 Group: Development/Libraries/C and C++ 56 -Requires: %{name} = %{version} 57 +Requires: libtwolame0 = %{version} 58 +Provides: twolame-devel = 0.3.12 59 +Obsoletes: twolame-devel < 0.3.12 60 61 -%description devel 62 +%description -n libtwolame-devel 63 This package contains all necessary include files and libraries needed 64 to develop applications that require these. 65 66 -Author: see AUTHORS 67 - 68 %debug_package 69 70 %prep 71 %setup -q -n %{name}-%{version} 72 %{?suse_update_config:%{suse_update_config -f}} 73 74 -dos2unix doc/html/*.html 75 +dos2unix doc/html/*.html 76 +%__chmod 644 doc/html/*.html 77 78 %build 79 -%configure \ 80 - --prefix=%{_prefix} 81 - 82 -%__make %{?_smp_mflags} 83 +%configure 84 +%__make %{?jobs:-j%{jobs}} 85 86 %install 87 %makeinstall 88
89 %__mv %{buildroot}%{_datadir}/doc/%{name} \ 90 %{buildroot}%{_docdir}/%{name}-devel 91 92 +%__rm %{buildroot}%{_libdir}/*.la 93 + 94 %clean 95 [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} 96 97 -%post -p /sbin/ldconfig 98 +%post -n libtwolame0 -p /sbin/ldconfig 99 100 -%postun -p /sbin/ldconfig 101 +%postun -n libtwolame0 -p /sbin/ldconfig 102 103 %files 104 %defattr(-,root,root) 105 %doc AUTHORS COPYING ChangeLog README TODO 106 %{_bindir}/* 107 -%{_libdir}/*.so.* 108 %{_mandir}/man*/* 109 110 -%files devel 111 +%files -n libtwolame0 112 +%defattr(-,root,root) 113 +%{_libdir}/*.so.* 114 + 115 +%files -n libtwolame-devel 116 %defattr(-,root,root) 117 %doc %{_docdir}/twolame-devel 118 %{_includedir}/* 119 -%{_libdir}/*.la 120 %{_libdir}/*.a 121 %{_libdir}/*.so 122 %{_includedir}/* 123
124 %changelog 125 * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> 126 - import for SLE_10 build 127 - 128 |
||
Added | twolame-0.3.12.tar.bz2 ^ |