Projects
Eulaceura:Factory
faad2
_service:obs_scm:faad2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:faad2.spec of Package faad2
%global base_ver 2_9_2 Summary: Library and frontend for decoding MPEG2/4 AAC Name: faad2 Version: 2.9.2 Release: 1 License: GPLv2+ URL: https://github.com/knik0/faad2.git Source: https://github.com/knik0/faad2/archive/%{base_ver}.tar.gz BuildRequires: gcc-c++ id3lib-devel libsysfs-devel BuildRequires: zlib-devel automake libtool chrpath %description FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. %package libs Summary: Shared libraries of the FAAD 2 AAC decoder %description libs FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. This package contains libfaad. %package devel Summary: Development libraries of the FAAD 2 AAC decoder Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} %description devel FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely written from scratch. This package contains development files and documentation for libfaad. %prep %autosetup -n faad2-%{base_ver} sed -i 's|#define FAAD2_VERSION PACKAGE_VERSION|#define FAAD2_VERSION "%{version}"|g' include/neaacdec.h sed -i -e 's:iquote :I:' libfaad/Makefile.am sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac %build autoreconf -vfi %configure \ --disable-static %make_build %install %make_install find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-, root, root, -) %doc AUTHORS ChangeLog NEWS README* %license COPYING %{_bindir}/faad %{_mandir}/man1/faad.1* %files libs %defattr(-,root,root,-) %{_libdir}/libfaad.so.* %{_libdir}/libfaad_drm.so.2 %{_libdir}/libfaad_drm.so.2.0.0 %files devel %defattr(-, root, root, -) %{_includedir}/faad.h %{_includedir}/neaacdec.h %{_libdir}/libfaad.so %{_libdir}/libfaad_drm.so %{_libdir}/pkgconfig/faad2.pc %changelog * Thu Jan 27 2022 konglidong <konglidong@uniontech.com> - 2.10.0-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2