Changes of Revision 2
[-] | Changed | faac.spec |
x 1
2 +# norootforbuild 3 + 4 +%define major 0 5 +%define lib libfaac 6 +%define libname %{lib}%{major} 7 + 8 Name: faac 9 -Summary: C library and frontend for encoding MPEG2/4 AAC 10 -Summary(de): C Bibliothek und Frontend zum Encodieren von MPEG2/4 AAC 11 +Summary: frontend for encoding MPEG2/4 AAC 12 +Summary(de): Frontend zum Encodieren von MPEG2/4 AAC 13 Version: 1.25 14 -Release: 1 15 +Release: 5 16 License: GPL2 17 Group: Applications/Multimedia 18 URL: http://www.audiocoding.com/ 19
20 Patch0: faac_configure_in.patch 21 BuildRoot: %{_tmppath}/buildroot-%{name}-%{version} 22 Prefix: %{_prefix} 23 +Requires: %{libname} = %{version}-%{release} 24 Requires: faad2 >= 2.5 25 Requires: libmp4v2 26 Requires: libstdc++ 27
28 BuildRequires: gcc 29 BuildRequires: libstdc++ 30 BuildRequires: libstdc++-devel 31 +# Packmandepends: faad2 libmp4v2 libfaac0 32 33 %description 34 FAAC is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC encoder, completely 35
36 %description -l de 37 FAAC ist ein LC, MAIN und LTP profile, MPEG2 und MPEG-4 AAC Encoder. 38 39 +%package -n %{libname} 40 +Group: System/Libraries 41 +Summary: Shared library part of faac 42 +Summary(de): Bibliotheken zu faac 43 +Requires: faad2 >= 2.5 44 +Requires: libmp4v2 45 +Requires: libstdc++ 46 +Provides: %{lib} = %{version}-%{release} 47 + 48 +%description -n %{libname} 49 +Shared library part of faac 50 51 +%description -n %{libname} -l de 52 +Bibliotheken zu faac 53 + 54 +%package -n %{lib}-devel 55 +Group: System/Libraries 56 +Summary: Header files and static library for the faac library 57 +Summary(de): Header Dateien und statische Bibliotheken für die faac Bibliothek 58 +Requires: %{libname} = %{version}-%{release} 59 +Requires: faad2-devel >= 2.5 60 +Requires: libmp4v2-devel 61 +Requires: gcc 62 +Requires: libstdc++ 63 +Requires: libstdc++-devel 64 +Provides: %{libname}-devel = %{version}-%{release} 65 +Provides: faac-devel = %{version}-%{release} 66 + 67 +%description -n %{lib}-devel 68 +Header files and static library for the faac library 69 + 70 +%description -n %{lib}-devel -l de 71 +Header Dateien und statische Bibliotheken für die faac Bibliothek 72 + 73 +%debug_package 74 75 %prep 76 %setup -qn faac 77
78 %defattr(-, root, root) 79 %doc AUTHORS COPYING ChangeLog NEWS README TODO 80 %{_bindir}/* 81 -%{_libdir}/*.so* 82 -#%files devel 83 -#%defattr(-, root, root) 84 -%{_libdir}/*.a 85 -%{_libdir}/*.la 86 + 87 +%files -n %{libname} 88 +%defattr(-,root,root) 89 +%{_libdir}/*.so.* 90 + 91 +%files -n %{lib}-devel 92 +%defattr(-,root,root) 93 +%{_libdir}/*.so 94 +%{_libdir}/*.*a 95 %{_includedir}/* 96 97 98 |