Commit 1292ea4a authored by Simon Morlat's avatar Simon Morlat

add specfile for rpm

parent 0eaf2070
EXTRA_DIST=autogen.sh msamr.iss.in
EXTRA_DIST=autogen.sh msamr.iss.in msamr.spec msamr.spec.in
SUBDIRS=src
......@@ -43,3 +43,11 @@ zip:
clean-local:
-rm -rf $(PACKAGE)-install
-rm -f $(PACKAGE)-win32-$(VERSION).zip
.phony: rpm
rpm:
$(MAKE) dist
TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec $(PACKAGE)-$(VERSION).tar.gz
......@@ -61,6 +61,7 @@ AC_CONFIG_FILES([
Makefile
src/Makefile
msamr.iss
msamr.spec
])
AC_OUTPUT
# -*- rpm-spec -*-
#
# msamr - AMR codec plugin for mediastreamer2
#
Summary: AMR codec plugin for mediastreamer2
Name: msamr
Version: @PACKAGE_VERSION@
Release: 1
License: GPL
Group: Applications/Communications
URL: http://www.belledonne-communications.com
Source0: %{name}-@PACKAGE_VERSION@.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%ifarch %ix86
BuildArch: i686
%endif
Requires: bash >= 2.0
%description
AMR codec plugin for mediastreamer2, based on opencore-amr
%prep
%setup -q
%build
%configure
%{__make}
# parallel build disabled due to automake libtool random errors
#%{__make} -j$RPM_BUILD_NCPUS
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_libdir}/*
%changelog
* Tue Oct 19 2010 Simon Morlat <simon.morlat@belledonne-communications.com>
- Initial specfile.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment