📄 libfame.spec
字号:
# Note that this is NOT a relocatable package%define ver 0.9.1%define rel 1%define prefix /usrSummary: Fast Assembly Mpeg Encoding libraryName: libfameVersion: %verRelease: %relCopyright: LGPLGroup: System Environment/LibrariesSource0: libfame-%{PACKAGE_VERSION}.tar.gzURL: http://fame.sourceforge.netBuildRoot: /tmp/libfame-%{PACKAGE_VERSION}-rootPackager: Vivien Chappelier <vivien.chappelier@enst-bretagne.fr>Docdir: %{prefix}/doc%descriptionFAME is a library for fast MPEG encoding.%package develSummary: Libraries and include to develop using FAMEGroup: Development/LibrariesRequires: %{name}%description develFAME is a library for fast MPEG encoding.This is the libraries, include files and other resources you can useto develop FAME applications.%preprm -rf ${RPM_BUILD_ROOT}%setup -q%build# Needed for snapshot releases.if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefixelse CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefixfiif [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) makeelse makefi%installrm -rf $RPM_BUILD_ROOTmake prefix=$RPM_BUILD_ROOT%{prefix} install%cleanrm -rf $RPM_BUILD_ROOT%post/sbin/ldconfig%postun/sbin/ldconfig%files%defattr(-, root, root)%doc CHANGES COPYING README%{_libdir}/lib*.so.*%files devel%defattr(-, root, root)%doc CHANGES COPYING README%{_bindir}/*-config%{_libdir}/lib*.so%{_libdir}/*a%{_includedir}/fame*.h%{_datadir}/aclocal/*%{prefix}/man/man3/*%changelog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -