openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages m2vrequantiser.spec
      Pages: < 1 >  DOWNLOAD      
Name:          m2vrequantiser
Version:       1.1
Release:       1mamba
Summary:       Requantize MPEG-2 streams without recompressing
Group:         Applications/Multimedia
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
URL:           http://launchpad.net/m2vrequantiser/
Source:        http://launchpad.net/m2vrequantiser/trunk/%{version}/+download/M2VRequantiser-v%{version}.tar.gz
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
M2Vrequantiser shrinks MPEG video files by applying requantisation, which is
faster and gives better results than complete recompression. A factor that
determines the size (and quality) of shrunk video can be given at the
command line.

%prep
%setup -q -n M2VRequantiser-v%{version}

sed -i "s|/usr/local|%{_prefix}|" Makefile

%build

make CFLAGS="${CFLAGS:-%optflags}"

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make PREFIX=%{buildroot}%{_prefix} install

ln -sf M2VRequantiser %{buildroot}%{_bindir}/m2vrequantiser

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_bindir}/M2VRequantiser
%{_bindir}/m2vrequantiser
%doc LICENSE.txt README.txt

%changelog
* Tue Mar 08 2011 gil <puntogil@...> 1.1-1mamba
- package created by autospec