Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
faac
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
faac.spec
@@ -1,8 +1,14 @@ +# norootforbuild + +%define major 0 +%define lib libfaac +%define libname %{lib}%{major} + Name: faac -Summary: C library and frontend for encoding MPEG2/4 AAC -Summary(de): C Bibliothek und Frontend zum Encodieren von MPEG2/4 AAC +Summary: frontend for encoding MPEG2/4 AAC +Summary(de): Frontend zum Encodieren von MPEG2/4 AAC Version: 1.25 -Release: 1 +Release: 5 License: GPL2 Group: Applications/Multimedia URL: http://www.audiocoding.com/ @@ -12,6 +18,7 @@ Patch0: faac_configure_in.patch BuildRoot: %{_tmppath}/buildroot-%{name}-%{version} Prefix: %{_prefix} +Requires: %{libname} = %{version}-%{release} Requires: faad2 >= 2.5 Requires: libmp4v2 Requires: libstdc++ @@ -20,6 +27,7 @@ BuildRequires: gcc BuildRequires: libstdc++ BuildRequires: libstdc++-devel +# Packmandepends: faad2 libmp4v2 libfaac0 %description FAAC is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC encoder, completely @@ -28,7 +36,41 @@ %description -l de FAAC ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Encoder. +%package -n %{libname} +Group: System/Libraries +Summary: Shared library part of faac +Summary(de): Bibliotheken zu faac +Requires: faad2 >= 2.5 +Requires: libmp4v2 +Requires: libstdc++ +Provides: %{lib} = %{version}-%{release} + +%description -n %{libname} +Shared library part of faac +%description -n %{libname} -l de +Bibliotheken zu faac + +%package -n %{lib}-devel +Group: System/Libraries +Summary: Header files and static library for the faac library +Summary(de): Header Dateien und statische Bibliotheken für die faac Bibliothek +Requires: %{libname} = %{version}-%{release} +Requires: faad2-devel >= 2.5 +Requires: libmp4v2-devel +Requires: gcc +Requires: libstdc++ +Requires: libstdc++-devel +Provides: %{libname}-devel = %{version}-%{release} +Provides: faac-devel = %{version}-%{release} + +%description -n %{lib}-devel +Header files and static library for the faac library + +%description -n %{lib}-devel -l de +Header Dateien und statische Bibliotheken für die faac Bibliothek + +%debug_package %prep %setup -qn faac @@ -57,11 +99,15 @@ %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/* -%{_libdir}/*.so* -#%files devel -#%defattr(-, root, root) -%{_libdir}/*.a -%{_libdir}/*.la + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files -n %{lib}-devel +%defattr(-,root,root) +%{_libdir}/*.so +%{_libdir}/*.*a %{_includedir}/*