summaryrefslogtreecommitdiff
path: root/mpeg_encode.spec
diff options
context:
space:
mode:
authorArtur Frysiak2001-11-02 15:46:09 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commita6c8534cec68a66fd81594e9e790bf8f18c66b8f (patch)
treeb9b61187949da481dd081f3439b6ea7065cceb20 /mpeg_encode.spec
parent7b1147b39c6a8bb705d482320262a579802801c7 (diff)
downloadmpeg_encode-a6c8534cec68a66fd81594e9e790bf8f18c66b8f.zip
mpeg_encode-a6c8534cec68a66fd81594e9e790bf8f18c66b8f.tar.gz
adapterized and URL fix
Changed files: mpeg_encode.spec -> 1.2
Diffstat (limited to 'mpeg_encode.spec')
-rw-r--r--mpeg_encode.spec81
1 files changed, 29 insertions, 52 deletions
diff --git a/mpeg_encode.spec b/mpeg_encode.spec
index 4de75dc..2bd3d73 100644
--- a/mpeg_encode.spec
+++ b/mpeg_encode.spec
@@ -1,38 +1,38 @@
-%define name mpeg_encode
-%define prefix /usr
-%define version 1.5b.1
-%define release 1
-
-Summary: Berkeley MPEG-1 Video Encoder
-Group: Applications/Graphics
-Packager: Andy Loening <loening@ucla.edu>
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Prefix: %{prefix}
-Copyright: Berkeley
-URL: ftp://mm-ftp.cs.berkeley.edu/pub/mpeg
-Source: %{name}-%{version}.tgz
-BuildRoot: /tmp/%{name}-%{version}
+Summary: Berkeley MPEG-1 Video Encoder
+Group: Applications/Graphics
+Group(de): Applikationen/Grafik
+Group(pl): Aplikacje/Grafika
+Group(pt): Aplicações/Gráficos
+Name: mpeg_encode
+Version: 1.5b
+Release: 1
+License: BSD
+URL: http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html
+Source0: ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/%{name}-%{version}-src.tar.gz
+Patch0: ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/encode.patch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The encoder will accept any input file format as long as you provide
-a script to convert the images to PPM, YUV, JPEG, or JMOVIE format. Input
-file processing is described in the file doc/INPUT.FORMAT. Options to
-control input file processing and compression parameters are specified in
-a parameter file. Very little error processing is done when reading
-this file. We suggest you start with the sample parameter file
-examples/template.param and modify it. See also examples/default.param.
+The encoder will accept any input file format as long as you provide a
+script to convert the images to PPM, YUV, JPEG, or JMOVIE format.
+Input file processing is described in the file doc/INPUT.FORMAT.
+Options to control input file processing and compression parameters
+are specified in a parameter file. Very little error processing is
+done when reading this file. We suggest you start with the sample
+parameter file examples/template.param and modify it. See also
+examples/default.param.
%prep
-%setup -n %{name}-%{version}
+%setup -q -n %{name}-%{version}
+%patch -p1
+
%build
./configure
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT/%{prefix}
+%{__make} install prefix=$RPM_BUILD_ROOT/%{_prefix}
##gzip -9 docs/users-guide.ps
##tar cvf - examples | gzip >examples.tar.gz
@@ -41,30 +41,7 @@ make install prefix=$RPM_BUILD_ROOT/%{prefix}
if [ -d $RPM_BUILD_ROOT/%{prefix} ] ; then rm -rf $RPM_BUILD_ROOT/%{prefix}; fi
%files
-%defattr(-,root,root)
-%{prefix}/bin/*
-%{prefix}/man/*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/*
##%{prefix}/doc/*
-
-
-
-%changelog
-* Sun Sep 30 2001 Andy Loening <loening@ucla.edu>
- [1.5b.1-1]
-- restructured the build process, see ChangeLog
-- rewrote the .spec file
-
-* Wed Aug 22 2001 Andy Loening <loening@ucla.edu>
- [1.5b-4]
-- one line patch to get it to compile correctly under redhat 7.1
-
-* Mon Aug 06 2001 Andy Loening <loening@ucla.edu>
- [1.5b-3]
-- changes to get the RPM file to compile correctly under redhat 6.2
-
-* Sun May 09 1999 Arne Coucheron <arneco@online.no>
- [1.5b-2]
-- using %%{name} and %%{version} macros
-- added -q parameter to %setup
-- using $RPM_OPT_FLAGS when compiling
-- using %defattr macro in %files