Commit 2fa302db authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Enhance contrib system with package-rpm build target and system. RPM packages...

Enhance contrib system with package-rpm build target and system. RPM packages are build in extras/contrib/src/rpm/RPMS and extras/contrib/src/SRPMS.
parent b3c04bd3
...@@ -24,8 +24,9 @@ ...@@ -24,8 +24,9 @@
# *************************************************************************** # ***************************************************************************
include ./config.mak include ./config.mak
include ./distro.mak
BUILDDIRS = bin doc etc include info lib man sbin share vlc-lib tmp BUILDDIRS = bin doc etc include info lib man sbin share vlc-lib tmp rpm
all: FORCE all: FORCE
# @echo "Do you mean to make src or make bin ?" # @echo "Do you mean to make src or make bin ?"
...@@ -107,5 +108,15 @@ package-win32: FORCE ...@@ -107,5 +108,15 @@ package-win32: FORCE
(cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *) (cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *)
(cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2 (cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2
rm -rf tmp rm -rf tmp
FORCE:
package-rpm: FORCE
@if test ! -d src/rpm; then \
echo "Creating RPM build environment"; \
mkdir -p src/rpm/BUILD src/rpm/SOURCES src/rpm/SPECS src/rpm/RPMS src/rpm/SRPMS; \
fi
$(MAKE) -C src rpm
echo -n "Clearing out rpm/BUILD/ ..."
#$(MAKE) -C src clean-rpm
echo "done."
FORCE:
...@@ -223,4 +223,17 @@ elif test -x /usr/sbin/rpm; then ...@@ -223,4 +223,17 @@ elif test -x /usr/sbin/rpm; then
fi fi
if test ! -z "$RPMBUILD"; then if test ! -z "$RPMBUILD"; then
echo "RPMBUILD = $RPMBUILD" >> config.mak echo "RPMBUILD = $RPMBUILD" >> config.mak
DOMAINNAME=`dnsdomainname`
if test -z "$DOMAINNAME"; then
DOMAINNAME="localdomain"
fi
rm -f rpmmacros && cat > rpmmacros << EOF
%_topdir `pwd`/src/rpm
%_packager ${USER} <${USER}@${HOSTNAME}.${DOMAINNAME}>
%_enable_debug_packages 1
%_unpackaged_files_terminate_build 1
EOF
rm -fr rpmrc && cat > rpmrc << EOF
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/${_target}/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:`pwd`/rpmmacros
EOF
fi fi
%_topdir /home/jpsaman/Source/vlc-0.8.6c-bugfix-m2x.git/extras/contrib/src/rpm
%_packager jpsaman <jpsaman@elrond.localdomain>
%_enable_debug_packages 1
%_unpackaged_files_terminate_build 1
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm//macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/home/jpsaman/Source/vlc-0.8.6c-bugfix-m2x.git/extras/contrib/rpmmacros
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
ifeq ($(HOST),$(BUILD)) ifeq ($(HOST),$(BUILD))
# Native build: we need perl, autoconf, etc first # Native build: we need perl, autoconf, etc first
DISTRO_PKG= .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \ DISTRO_PKG= .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad2 .faac .lame .libebml .libmatroska .ffmpeg .libdvdcss \
.dvdnav .dvbpsi .dca .aclocal .libdvdnav .libdvbpsi .libdca .aclocal
#.speex seems #.speex seems
else else
# Cross compiling: we already have the Linux tools, only build the # Cross compiling: we already have the Linux tools, only build the
# libraries now # libraries now
DISTRO_PKG= .iconv .intl .freetype .fribidi \ DISTRO_PKG= .iconv .intl .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .faad .faac .lame .twolame .ebml .matroska .ffmpeg .dvdcss \ .flac .faad2 .faac .lame .twolame .libebml .libmatroska .ffmpeg .libdvdcss \
.dvdnav .dvbpsi .dca .aclocal .;ibdvdnav .libdvbpsi .libdca .aclocal
endif endif
#.speex #.speex
# Darwin rules # Darwin rules
DISTRO_PKG= .autoconf .automake .libtool .intl .pkgcfg .freetype .fribidi \ DISTRO_PKG= .autoconf .automake .libtool .intl .pkgcfg .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2 .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \ .flac .speex .shout .faad2 .faac .lame .twolame .libebml .libmatroska .ffmpeg \
.dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod \ .libdvdcss .libdvdnav .libdvdread .libdvbpsi .live .libcaca .libmodplug \
.png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager \ .png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager \
.SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder \ .SDL_image .glib .gecko .libmpcdec .dirac_encoder .dirac_decoder \
.dca .tag .x264 .goom2k4 .zvbi .fontconfig .ncurses .aclocal .libdca .tag .x264 .goom2k4 .zvbi .fontconfig .ncurses .aclocal
# .expat .clinkcc don't work with SDK yet # .expat .clinkcc don't work with SDK yet
# .glib .IDL .gecko are required to build the mozilla plugin # .glib .IDL .gecko are required to build the mozilla plugin
# .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package # .mozilla-macosx will build an entire mozilla. it can be used if we need to create a new .gecko package
......
# Debian Linux # Debian Linux
DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \ DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad2 .faac .lame .libebml .libmatroska .ffmpeg .libdvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .libcaca .libmodplug .x264 .libxml2 .twolame \
.png .gpg-error .gcrypt .gnutls .mpcdec \ .png .gpg-error .gcrypt .gnutls .libmpcdec \
.dvdnav .dvbpsi .wxwidgets .dirac \ .libdvdnav .libdvbpsi .wxwidgets .dirac \
.dca .raw1394 .dc1394 .zvbi \ .libdca .raw1394 .dc1394 .zvbi \
.aclocal .aclocal
# .SDL_image .daap .cddb .cdio .vcdimager # .SDL_image .daap .cddb .cdio .vcdimager
# Fedora Linux rules # Fedora Linux rules
DISTRO_PKG= \ DISTRO_PKG= \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad2 .faac .lame .libebml .libmatroska .ffmpeg .libdvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .libcaca .libmodplug .x264 .libxml2 .twolame \
.mpcdec \ .libmpcdec \
.dvdnav .dvbpsi .wxwidgets .dirac \ .libdvdnav .libdvbpsi .wxwidgets .dirac \
.libdca .libraw1394 .libdc1394 .zvbi .libdca .libraw1394 .libdc1394 .zvbi
# RHEL 5 # RHEL 5
DISTRO_PKG= .fribidi \ DISTRO_PKG= .fribidi \
.a52 .mpeg2 .id3tag .mad \ .a52dec .mpeg2dec .libid3tag .libmad \
.faad .faac .lame .ebml .matroska .libamrnb .libamrwb .ffmpeg .dvdcss \ .faad2 .faac .lame .libebml .matroska .libamrnb .libamrwb .ffmpeg .libdvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .libcaca .libmodplug .x264 .libxml2 .twolame \
.mpcdec \ .libmpcdec \
.dvdnav .dvbpsi .wxwidgets .dirac \ .libdvdnav .libdvbpsi .wxwidgets .dirac \
.libdca .zvbi .libdca
# .zvbi
# .libraw1394 .libdc1394 # .libraw1394 .libdc1394
# .png .gpg-error .gcrypt .gnutls .mpcdec\ # .png .gpg-error .gcrypt .gnutls .mpcdec\
# .SDL_image .daap .cddb .cdio .vcdimager # .SDL_image .daap .cddb .cdio .vcdimager
# Standard Linux or other UNIX-like systems # Standard Linux or other UNIX-like systems
DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \ DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .vorbisenc .theora \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad2 .faac .lame .libebml .libmatroska .ffmpeg .libdvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .libcaca .libmodplug .x264 .libxml2 .twolame \
.png .gpg-error .gcrypt .gnutls .mpcdec \ .png .gpg-error .gcrypt .gnutls .libmpcdec \
.dvdnav .dvbpsi .wxwidgets .dirac \ .libdvdnav .libdvbpsi .wxwidgets .dirac \
.dca .raw1394 .dc1394 .zvbi \ .libdca .raw1394 .dc1394 .zvbi \
.aclocal .aclocal
# .png .gpg-error .gcrypt .gnutls .mpcdec \ # .png .gpg-error .gcrypt .gnutls .mpcdec \
# .SDL_image .daap .cddb .cdio .vcdimager # .SDL_image .daap .cddb .cdio .vcdimager
......
# WIN32 rules # WIN32 rules
DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \ DISTRO_PKG= .iconv .intl .freetype .fribidi .zlib \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .shout .vorbisenc .theora \ .a52dec .mpeg2dec .libid3tag .libmad .ogg .vorbis .shout .vorbisenc .theora \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad2 .faac .lame .libebml .libmatroska .ffmpeg .libdvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .libcaca .libmodplug .x264 .libxml2 .twolame \
.png .gpg-error .gcrypt .gnutls .mpcdec \ .png .gpg-error .gcrypt .gnutls .libmpcdec \
.dvdnav .dvbpsi .wxwidgets .qt4 .dirac .SDL_image \ .libdvdnav .libdvbpsi .wxwidgets .qt4 .dirac .SDL_image \
.dx_headers .dshow_headers .gecko-win32 .unicows .dca \ .dx_headers .dshow_headers .gecko-win32 .unicows .libdca \
.tag .fontconfig \ .tag .fontconfig \
.aclocal .aclocal
# .daap .cddb .cdio .vcdimager .portaudio # .daap .cddb .cdio .vcdimager .portaudio
# WinCE rules # WinCE rules
DISTRO_PKG= .dvbpsi .zlib .ffmpeg .ogg .tremor .faad DISTRO_PKG= .libdvbpsi .zlib .ffmpeg .ogg .tremor .faad
This diff is collapsed.
Summary: liba52 is a free library for decoding ATSC A/52 streams.
Name: a52dec
Version: 0.7.4
Release: 1
License: GPL
Group: System/Libraries
Source: a52dec-0.7.4.tar.gz
URL: http://liba52.sourceforge.net
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%prep
%setup
%build
./bootstrap
if test -z "${PREFIX}"; then PREFIX=/usr; fi
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=${PREFIX} --enable-shared
make
%install
rm -fr $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING HISTORY INSTALL NEWS README TODO
/usr/bin/a52dec
/usr/bin/extract_a52
/usr/lib/liba52.so
/usr/lib/liba52.so.0
/usr/lib/liba52.so.0.0.0
/usr/share/man/man1/a52dec.1
/usr/share/man/man1/extract_a52.1
%description
liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.
%package devel
Summary: Development headers and libraries for a52.
Group: System/Libraries
%description devel
Development headers and libraries for liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used
in a variety of applications, including digital television and DVD. It is also known as AC-3.
%files devel
%defattr(-,root,root)
/usr/include/a52dec/a52.h
/usr/include/a52dec/attributes.h
/usr/include/a52dec/audio_out.h
/usr/include/a52dec/mm_accel.h
/usr/lib/liba52.a
/usr/lib/liba52.la
%changelog
* Sun Aug 23 2006 Jean-Paul Saman <jpsaman@videolan.org>
- Initial RPM spec file.
Summary: Dirac is an opensource video codec
Name: dirac
Version: 0.5.4
Release: 1
Group: System/Libraries
Source: dirac-%{version}.tar.gz
Patch0: dirac-cross.patch
URL: http://www.sf.net/dirac/%{name}-%{version}.tar.gz
License: GPL
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
Dirac is an open source video codec. It uses a traditional hybrid video codec
architecture, but with the wavelet transform instead of the usual block
transforms. Motion compensation uses overlapped blocks to reduce block
artefacts that would upset the transform coding stage.
%prep
%setup
%patch0 -p 1
aclocal && autoconf && automake
%clean
rm -fr $RPM_BUILD_ROOT
%build
./configure --prefix=/usr --enable-shared && DOC_DIR="" make
%install
DOC_DIR="" make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README INSTALL NEWS TODO
/usr/bin/BMPtoRGB
/usr/bin/RGBtoBMP
/usr/bin/RGBtoUYVY
/usr/bin/RGBtoYUV411
/usr/bin/RGBtoYUV420
/usr/bin/RGBtoYUV422
/usr/bin/RGBtoYUV444
/usr/bin/UYVYtoRGB
/usr/bin/YUV411toRGB
/usr/bin/YUV420toRGB
/usr/bin/YUV422toRGB
/usr/bin/YUV444toRGB
/usr/bin/dirac_decoder
/usr/bin/dirac_encoder
/usr/bin/dirac_instrumentation
/usr/lib/libdirac_decoder.so
/usr/lib/libdirac_decoder.so.0
/usr/lib/libdirac_decoder.so.0.0.0
/usr/lib/libdirac_encoder.so
/usr/lib/libdirac_encoder.so.0
/usr/lib/libdirac_encoder.so.0.0.0
%package devel
Summary: Development headers and libraries for Dirac
Group: System/Libraries
Requires: dirac
%description devel
Dirac is an open source video codec. It uses a traditional hybrid video codec
architecture, but with the wavelet transform instead of the usual block
transforms. Motion compensation uses overlapped blocks to reduce block
artefacts that would upset the transform coding stage.
%files devel
%defattr(-,root,root)
/usr/include/dirac/libdirac_common/common_types.h
/usr/include/dirac/libdirac_common/dirac_types.h
/usr/include/dirac/libdirac_decoder/decoder_types.h
/usr/include/dirac/libdirac_decoder/dirac_parser.h
/usr/include/dirac/libdirac_encoder/dirac_encoder.h
/usr/lib/libdirac_decoder.a
/usr/lib/libdirac_decoder.la
/usr/lib/libdirac_encoder.a
/usr/lib/libdirac_encoder.la
/usr/lib/pkgconfig/dirac.pc
%changelog
* Wed Nov 28 2007 Jean-Paul Saman <jpsaman@videolan.org>
- 0.5.3 -> 0.5.4
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- first dirac rpm specfile
Summary: FAAC is based on the ISO MPEG-4 reference code.
Name: faac
Version: 1.24
Release: 1
Group: System/Libraries
License: LGPL
URL: http;//www.audiocoding.com
Source: http://download.videolan.org/pub/videolan/testing/contrib/%{name}-%{version}.tar.bz2
Patch0: faac.patch
BuildRoot: /var/tmp/%{name}-%{version}-root
#BuildRequires: faad2-devel
#Requires: faad2
Prefix: /usr
%prep
%setup
%patch0 -p1
%build
rm -fr $RPM_BUILD_ROOT
rm -f install-sh mkinstalldirs missing
./bootstrap
CFLAGS=${RPM_OPTS_FLAGS} ./configure --prefix=/usr --enable-shared
make
%install
rm -fr $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr $RPM_BUILD_ROOT
%description
FAAC is based on the ISO MPEG-4 reference code. It is dual licensed: for the original code the MPEG ISO/IEC license applies and for changes to the FAAC code the LGPL applies.
%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README TODO
/usr/bin/faac
/usr/lib/libfaac.so
/usr/lib/libfaac.so.0
/usr/lib/libfaac.so.0.0.0
%package devel
Summary: FAAC development headers and libraries.
Group: System/Libraries
Provides: %{name}-devel = %{version}-%{release}
Requires: faad2-devel
%description devel
FAAC development headers and libraries.
%files devel
%defattr(-,root,root)
/usr/include/faac.h
/usr/include/faaccfg.h
/usr/lib/libfaac.a
/usr/lib/libfaac.la
%changelog
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- start new specfile.
%define faad_date 20040923
Summary: C library and frontend for decoding MPEG2/4 AAC
Name: faad2
Version: 2.0
Release: 1
License: GPL
Group: Applications/Multimedia
Source0: http://download.videolan.org/pub/videolan/testing/contrib/%{name}-%{faad_date}.tar.bz2
Patch: faad2.patch
BuildRequires: autoconf, automake, libtool, gcc-c++
URL: http://www.audiocoding.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Packager: a.kurpiers@nt.tu-darmstadt.de
Prefix: /usr
%description
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
written from scratch. FAAD 2 is licensed under the GPL.
Includes libmp4ff, a Quicktime library for UNIX in a freely redistributable,
statically linkable library.
%package devel
Summary: Development libraries the FAAD 2 AAC decoder.
Group: Development/Libraries
Requires: %{name}
%description devel
Header files and development documentation for libfaad.
%prep
%setup -n %{name}-%{faad_date}
%patch -p0
%build
./bootstrap
./configure --host=${HOST} --build=${BUILD} --prefix=/usr CFLAGS="-O3"
sed -i.orig "s/shrext_cmds/shrext/g" libtool
make -C libfaad
make DESTDIR="$RPM_BUILD_ROOT" -C libfaad install
%install
rm -rf %{buildroot}
LIBRARY_PATH="%{buildroot}/usr/lib:${LIBRARY_PATH}" make DESTDIR="$RPM_BUILD_ROOT" -C libfaad install
# Hack to work around a problem with DESTDIR in libtool 1.4.x
#LIBRARY_PATH="%{buildroot}/usr/lib:${LIBRARY_PATH}" make install DESTDIR=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/libfaad.so*
%files devel
%defattr(-, root, root)
%{_libdir}/libfaad.a
%{_libdir}/libfaad.la
%{_includedir}/faad.h
%{_includedir}/neaacdec.h
%changelog
* Fri Jul 14 2006 Jean-Paul Saman <jpsaman@videolan.org>
- Remove xmms and Quicktime from the depedencies. These are not used by VLC.
- This RPM build is primarily for use with VLC.
* Fri Feb 06 2004 Alexander Kurpiers <a.kurpiers@nt.tu-darmstadt.de>
- remove seperate libmp4ff target
* Wed Nov 05 2003 Alexander Kurpiers <a.kurpiers@nt.tu-darmstadt.de>
- include xmms plugins/libmp4v2/libmp4ff into RPM
* Tue Aug 12 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Update to 2.0rc1.
- Introduced LD_LIBRARY_PATH workaround.
- Removed optional xmms plugin build, it seems mandatory now.
- Added gtk+ build dep for the xmms plugin.
* Wed May 14 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Added xmms plugin build.
* Wed Apr 9 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Spec file cleanup.
- Now exclude .la file.
- Update to latest CVS checkout to fix compile problem.
* Fri Aug 10 2002 Alexander Kurpiers <a.kurpiers@nt.tu-darmstadt.de>
- changes to compile v1.1 release
* Tue Jun 18 2002 Alexander Kurpiers <a.kurpiers@nt.tu-darmstadt.de>
- First RPM.
Summary: FFmpeg encoder and decoder libraries
Name: ffmpeg
Version: svn_10886
Release: 1
Group: System/Libraries
License: LGPL
Source: %{name}.tar.gz
URL: svn://svn.mplayerhq.hu/ffmpeg/trunk
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: faac-devel, lame-devel, a52dec-devel, libamrnb-devel, libamrwb-devel
Requires: faac, lame, a52dec, libamrnb, libamrwb
Prefix: /usr
%description
FFmpeg encoder and decoder libraries.
%clean
rm -fr $RPM_BUILD_ROOT
%prep
%setup -n ffmpeg
%build
./configure --enable-libmp3lame --enable-libfaac --enable-libamr --enable-libamr-nb --enable-libamr-wb --prefix=/usr --extra-cflags="-I/home/jpsaman/Source/vlc-0.8.6c-bugfix-m2x.git/extras/contrib/include -I/usr/include -DRUNTIME_CPUDETECT" --extra-ldflags="-L/home/jpsaman/Source/vlc-0.8.6c-bugfix-m2x.git/extras/contrib/lib" --enable-gpl --enable-pp --disable-vhook --disable-ffserver --disable-network --enable-liba52 --disable-swscaler --disable-ffplay
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc Changelog COPYING.GPL COPYING.LGPL CREDITS INSTALL MAINTAINERS README
/usr/bin/ffmpeg
#/usr/lib/libavcodec.so
#/usr/lib/libavcodec.so.51
#/usr/lib/libavcodec.so.51.11.0
#/usr/lib/libavformat.so
#/usr/lib/libavformat.so.50
#/usr/lib/libavformat.so.50.5.0
#/usr/lib/libavutil.so
#/usr/lib/libavutil.so.49
#/usr/lib/libavutil.so.49.0.0
#/usr/lib/libpostproc.so
#/usr/lib/libpostproc.so.51
#/usr/lib/libpostproc.so.51.11.0
#/usr/man/man1/ffmpeg.1.gz
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%package devel
Summary: FFMPEG development headers and libraries.
#Requires: faac-devel, lame-devel, a52dec-devel, libamrnb-devel, libamrwb-devel
Group: Development/C
%files devel
%defattr(-,root,root)
/usr/include/ffmpeg/adler32.h
/usr/include/ffmpeg/avcodec.h
/usr/include/ffmpeg/avformat.h
/usr/include/ffmpeg/avio.h
/usr/include/ffmpeg/avutil.h
/usr/include/ffmpeg/common.h
/usr/include/ffmpeg/integer.h
/usr/include/ffmpeg/intfloat_readwrite.h
/usr/include/ffmpeg/log.h
/usr/include/ffmpeg/mathematics.h
/usr/include/ffmpeg/md5.h
/usr/include/ffmpeg/rational.h
/usr/include/ffmpeg/rtp.h
/usr/include/ffmpeg/rtsp.h
/usr/include/ffmpeg/rtspcodes.h
/usr/include/ffmpeg/swscale.h
/usr/include/ffmpeg/avstring.h
/usr/include/ffmpeg/base64.h
/usr/include/ffmpeg/fifo.h
/usr/include/ffmpeg/lzo.h
/usr/include/ffmpeg/mem.h
/usr/include/ffmpeg/opt.h
/usr/include/ffmpeg/random.h
/usr/include/ffmpeg/rgb2rgb.h
/usr/lib/libavcodec.a
/usr/lib/libavformat.a
/usr/lib/libavutil.a
/usr/lib/libpostproc.a
/usr/lib/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc
/usr/lib/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libpostproc.pc
/usr/lib/pkgconfig/libswscale.pc
/usr/include/postproc/postprocess.h
%description devel
FFmpeg encoder and decoder libraries.
%changelog
* Mon Nov 26 2007 Jean-Paul Saman <jpsaman@videolan.org>
- new ffmpeg snapshot svn revision 10886
- release 1
* Tue Oct 30 2006 Jean-Paul Saman <jpsaman@videolan.org>
- added manpage for ffmpeg
- increased release 1 -> 2
* Tue Aug 15 2006 Jean-Paul Saman <jpsaman@videolan.org>
- initial rpm specfile
# This spec file creates three packages:
#
# Everything:
# (this is equivalent to two others together)
# fribidiN-version-release-arch.rpm
# Runtime material: Shared library and command line tool
# libfribidiN-version-release-arch.rpm
# Development material: Static library and header files
# (requires libfribidi)
# libfribidiN-devel-version-release-arch.rpm
# Where N is the major version number.
%define name fribidi
%define ver 0.10.4
%define major 0
%define minor 10
%define micro 4
%define apiver 2
%define rel 0
%define prefix %{_prefix}
Name: %{name}
Version: %{ver}
Release: %{rel}
License: LGPL
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{ver}.tar.gz
URL: http://%{name}.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}
Patch0: fribidi.patch.real
Patch1: fribidi-win32.patch
Summary: Library implementing the Unicode Bidirectional Algorithm
Group: System/Libraries
%description
A library to handle bidirectional scripts (eg. hebrew, arabic), so that
the display is done in the proper way; while the text data itself is
always written in logical order.
%package -n %{name}%{major}
Summary: Library implementing the Unicode Bidirectional Algorithm
Group: System/Libraries
Provides: lib%{name}%{major}
Provides: lib%{name}%{major}-devel
%description -n %{name}%{major}
A library to handle bidirectional scripts (eg. hebrew, arabic), so that
the display is done in the proper way; while the text data itself is
always written in logical order.
Install %{name}%{major} if you want to run or develop programs that use %{name}.
%package -n lib%{name}%{major}
Summary: Library implementing the Unicode Bidirectional Algorithm
Group: System/Libraries
Conflicts: %{name}%{major}
%description -n lib%{name}%{major}
The lib%{name}%{major} package includes the shared libraries for the %{name}%{major} package.
Install lib%{name}%{major} if you want to run programs which use %{name}.
%package -n lib%{name}%{major}-devel
Summary: Library implementing the Unicode Bidirectional Algorithm
Group: Development/C
Requires: lib%{name}%{major} = %{ver}
Conflicts: %{name}%{major}
%description -n lib%{name}%{major}-devel
The lib%{name}%{major}-devel package includes the static libraries and header files
for the %{name}%{major} package.
Install lib%{name}%{major}-devel if you want to develop programs which will use
%{name}.
%prep
%setup
%patch0 -p1
%patch1 -p1
rm -f configure
%build
if [ ! -x ./configure ];then
./bootstrap
fi
./configure %{_target_platform} \
--prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} --sbindir=%{_sbindir} \
--sysconfdir=%{_sysconfdir} --datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} --libexecdir=%{_libexecdir} \
--mandir=%{_mandir} --infodir=%{_infodir} \
--localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir}
make OPT_CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT%{prefix}"
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -n %{name}%{major} -p /sbin/ldconfig
%postun -n %{name}%{major} -p /sbin/ldconfig
%post -n lib%{name}%{major} -p /sbin/ldconfig
%postun -n lib%{name}%{major} -p /sbin/ldconfig
%files -n %{name}%{major}
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog TODO THANKS NEWS
%{_bindir}/%{name}
%{_bindir}/%{name}-config
%{_libdir}/*.so.*
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
%files -n lib%{name}%{major}
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog TODO THANKS NEWS
%{_bindir}/%{name}
%{_bindir}/%{name}-config
%{_libdir}/*.so.*
%files -n lib%{name}%{major}-devel
%defattr(-, root, root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri Jul 14 2006 Jean-Paul Saman <jpsaman@videolan.org>
- Adapted specfile for use in VLC contrib system.
* Tue Mar 12 2002 Behdad Esfahbod <behdad@bamdad.org>
- Use License instead of Copyright
- Moved pkgconfig to devel package instead of lib package.
* Sat Jan 26 2002 Behdad Esfahbod <behdad@bamdad.org>
- CFLAGS changed to OPT_CFLAGS.
* Wed Jan 9 2002 Behdad Esfahbod <behdad@bamdad.org>
- First spec released.
%define name lame
%define ver 3.97b2
%define rel 2
%define prefix %{_usr}
%define docdir %{_defaultdocdir}
Summary : LAME Ain't an MP3 Encoder... but it's the best.
Summary(fr) : LAME n'est pas un encodeur MP3 ;->
Name: %{name}
Version: %{ver}
Release: %{rel}
License: LGPL
Vendor: The LAME Project
URL: http://www.mp3dev.org/mp3
Group: Applications/Multimedia
Source: ftp://lame.sourceforge.net/pub/lame/src/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Requires: ncurses >= 5.0
BuildRequires: gcc >= 3.0.1, /usr/bin/find, ncurses-devel
Provides: mp3encoder
Prefix: /usr
%description
LAME is an educational tool to be used for learning about MP3 encoding. The
goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.
%description -l fr
LAME est un outil d'enseignement pour l'apprentissage de l'encodage MP3.
Le but du projet LAME est d'utiliser un mod�le "open source" afin
d'am�liorer la qualit� et la vitesse du MP3.
%package devel
Summary: Shared and static libraries for LAME.
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
LAME is an educational tool to be used for learning about MP3 encoding.
This package contains both the shared and the static libraries from the
LAME project.
You will also need to install the main lame package in order to install
these libraries.
%prep
%setup -n lame-3.97
%build
# Optimize the mother-fucker to the bone
export CC_OPTS="-O3 -march=i386 -mcpu=i686 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -Wall -pedantic"
%ifarch i686
export CC_OPTS="-O3 -fomit-frame-pointer -mcpu=i686 -march=i686 -malign-functions=4 -funroll-loops -fexpensive-optimizations -fschedule-insns2 -Wall -mfancy-math-387 -pipe"
%endif
%ifarch athlon
export CC_OPTS="-O3 -fomit-frame-pointer -fno-strength-reduce -mcpu=athlon -march=athlon -malign-functions=4 -funroll-loops -fexpensive-optimizations -fschedule-insns2 -Wall -mfancy-math-387 -pipe"
%endif
# Vorbis makes the build fail for now. . .
rm -f config.cache
CC="gcc" CFLAGS="${CC_OPTS}" %configure --host=${HOST} --build=${BUILD} --prefix=/usr \
--enable-nasm \
--enable-decoder \
--without-vorbis \
--enable-analyzer=no \
--disable-analyzer-hooks \
--enable-brhist \
--disable-debug
make CC="gcc" CFLAGS="${CC_OPTS}"
%install
rm -rf %{buildroot}
find . -name CVS | xargs rm -rf
mkdir -p $RPM_BUILD_ROOT%{_bindir}
%makeinstall
ln -sf lame/lame.h $RPM_BUILD_ROOT%{_includedir}/lame.h
install -D -m 644 doc/man/lame.1 $RPM_BUILD_ROOT%{_mandir}/man1/lame.1
# move back lame.h
#mv $RPM_BUILD_ROOT%{_includedir}/lame/lame.h $RPM_BUILD_ROOT%{_includedir}/lame.h
find doc/html -name "Makefile*" | xargs rm -f
# remove superflous documentation
rm -fr $RPM_BUILD_ROOT/usr/share/doc/lame
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root)
%doc COPYING ChangeLog README TODO USAGE doc/html
%doc doc/html
%{_bindir}/lame
%{_libdir}/libmp3lame.so.*
%{_mandir}/man1/lame.1*
%files devel
%defattr (-, root, root)
%doc API HACKING STYLEGUIDE
%{_libdir}/libmp3lame.a
%{_libdir}/libmp3lame.la
%{_libdir}/libmp3lame.so
%dir %{_includedir}/lame
%{_includedir}/lame/lame.h
/usr/include/lame.h
%changelog
* Fri Jul 14 2006 Jean-Paul Saman <jpsaman@videolan.org>
- Cross-devel enhancements
- Renamed legacy Copyright into License
* Sat May 11 2002 Yosi Markovich <yosim@bigfoot.com>
- Fixes to the spec file that include:
- Making sure the compiler is gcc version 3.0.1. Lame compiled with a version
greater than 3.0.1 is broken.
- Optimization flags for i686 will use i686 for march and mcpu, and not
athlon.
- Fix the dates in this Changelog section.
- Various small fixes merged from Matthias Saou.
- Thanks Fred Maciel <fred-m@crl.hitachi.co.jp> for his useful comments.
* Tue Jan 22 2002 Mark Taylor <mt@mp3dev.org>
- replaced lame.spec.in with Yosi's version. Merged some stuff from
the prevous lame.spec.in file, and appended changelog below.
* Tue Jan 22 2002 Yosi Markovich <yosim@bigfoot.com>
- Rewrote lame.spec.in to create a correct and nice spec file.
imho, this spec file is not good for anyone who wants to build
daily cvs snapshots. Closes bug #495975
* Tue Dec 11 2001 Yosi Markovich <yosim@bigfoot.com>
- Shamelessly stole Matthias Saou's excellent spec file to create daily
CVS snapshots of Lame. Other than that, nothing is new.
* Tue Oct 23 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Fixed the %pre and %post that should have been %post and %postun, silly me!
- Removed -malign-double (it's evil, Yosi told me and I tested, brrr ;-)).
- Now build with gcc3, VBR encoding gets a hell of a boost, impressive!
I recommend you now use "lame --r3mix", it's the best.
- Tried to re-enable vorbis, but it's a no-go.
* Thu Jul 26 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Build with kgcc to have VBR working.
* Wed Jul 25 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Update to 3.89beta : Must be built with a non-patched version of nasm
to work!
* Mon May 7 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Rebuilt for Red Hat 7.1.
- Disabled the vorbis support since it fails to build with it.
- Added a big optimisation section, thanks to Yosi Markovich
<senna@camelot.com> for this and other pointers.
* Sun Feb 11 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Split the package, there is now a -devel
* Thu Nov 26 2000 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Initial RPM release for RedHat 7.0 from scratch
* Wed Nov 21 2000 Eric Lassauge <lassauge@mail.dotcom.fr>
- Updated and corrected RPM to 3.89beta.
- Added french translations
* Sat Aug 04 2000 Markus Linnala �maage@cs.tut.fi�
- Build and include docs and libs correctly
- Build extra programs
* Tue Aug 01 2000 Stuart Young �cefiar1@optushome.com.au�
- Updated RPM to 3.85beta.
- Modified spec file (merged George and Keitaro's specs)
- Added reasonable info to the specs to reflect the maintainer
- Renamed lame.spec (plain spec is bad, mmkay?).
* Fri Jun 30 2000 Keitaro Yosimura �ramsy@linux.or.jp�
- Updated RPM to 3.84alpha.
- Better attempt at an RPM, independant of 3.83 release.
- (This is all surmise as there was no changelog).
* Thu May 30 2000 Georges Seguin �crow@planete.net�
- First RPM build around 3.83beta
%define name libcaca
%define version 0.9
%define release 1
Name: %{name}
Version: %{version}
Release: %{release}
URL: http://sam.zoy.org/projects/libcaca/
Source: http://sam.zoy.org/projects/libcaca/%{name}-%{version}.tar.gz
License: GPL
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Patch: %{name}-%{version}-doc.patch
Buildrequires: XFree86-devel, ncurses-devel >= 5, slang-devel
Buildrequires: imlib2-devel
Buildrequires: doxygen, tetex-latex, tetex-dvips
Summary: Text mode graphics library
%description
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
%package -n %{name}-devel
Summary: Development files for libcaca
Group: Development/C
Requires: XFree86-devel, ncurses-devel >= 5, slang-devel
Provides: %{name}-devel = %{version}-%{release}
%description -n %{name}-devel
libcaca is the Colour AsCii Art library. It provides high level functions
for colour text drawing, simple primitives for line, polygon and ellipse
drawing, as well as powerful image to text conversion routines.
This package contains the header files and static libraries needed to
compile applications or shared objects that use libcaca.
%package -n caca-utils
Summary: Text mode graphics utilities
Group: Graphics
%description -n caca-utils
This package contains utilities and demonstration programs for libcaca, the
Colour AsCii Art library.
cacaview is a simple image viewer for the terminal. It opens most image
formats such as JPEG, PNG, GIF etc. and renders them on the terminal using
ASCII art. The user can zoom and scroll the image, set the dithering method
or enable anti-aliasing.
cacaball is a tiny graphic program that renders animated ASCII metaballs on
the screen, cacafire is a port of AALib's aafire and displays burning ASCII
art flames, cacamoir animates colourful moire circles and cacaplas displays
an old school plasma effect.
cacademo is a simple application that shows the libcaca rendering features
such as line and ellipses drawing, triangle filling and sprite blitting.
%prep
case "${RPM_COMMAND:-all}" in
all)
%setup -q
%patch0 -p1
;;esac
%build
case "${RPM_COMMAND:-all}" in
all)
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--bindir=\${prefix}/bin \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--enable-slang --enable-ncurses --enable-x11 --enable-imlib2 --enable-doc
;;esac
make
%install
rm -rf %{buildroot}
%makeinstall
mv %{buildroot}/%{_prefix}/share/doc/libcaca-dev %{buildroot}/%{_prefix}/share/doc/libcaca-devel-%{version}
mkdir %{buildroot}/%{_prefix}/share/doc/caca-utils-%{version}
cp `find %{buildroot}/%{_prefix}/share/doc/libcaca-devel-%{version}/ -name '[A-Z]*'` %{buildroot}/%{_prefix}/share/doc/caca-utils-%{version}/
%clean
rm -rf %{buildroot}
%files -n %{name}-devel
%defattr(-,root,root)
%{_libdir}/*
%{_prefix}/bin/caca-config
%{_prefix}/include/*
%{_prefix}/share/doc/libcaca-devel-%{version}/*
%{_prefix}/share/man/man1/caca-config.1*
%{_prefix}/share/man/man3/*
%files -n caca-utils
%defattr(-,root,root)
%{_prefix}/bin/cacaball
%{_prefix}/bin/cacademo
%{_prefix}/bin/cacafire
%{_prefix}/bin/cacamoir
%{_prefix}/bin/cacaplas
%{_prefix}/bin/cacaview
%{_prefix}/share/doc/caca-utils-%{version}/*
%{_prefix}/share/libcaca/*
%{_prefix}/share/man/man1/cacaball.1*
%{_prefix}/share/man/man1/cacademo.1*
%{_prefix}/share/man/man1/cacafire.1*
%{_prefix}/share/man/man1/cacamoir.1*
%{_prefix}/share/man/man1/cacaplas.1*
%{_prefix}/share/man/man1/cacaview.1*
%changelog
* Sun Feb 2 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.9-1
- new release
* Sun Jan 18 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.8-1
- new release
* Sat Jan 7 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.7-1
- new release
* Sat Jan 4 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.6-2
- install documentation into {doc}/package-version instead of {doc}/package
- added tetex-dvips to the build dependencies
* Sat Jan 3 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.6-1
- new release
- more detailed descriptions
- split the RPM into libcaca-devel and caca-utils
- packages are rpmlint clean
* Mon Dec 29 2003 Richard Zidlicky <rz@linux-m68k.org> 0.5-1
- created specfile
Summary: libdca is a free library for decoding DTS Coherenet Acoustics streams.
Name: libdca
Version: svn_35
Release: 1
Group: System/Libraries
License: GPL
URL: http://developers.videolan.org/libdca
Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
libdca is a free library for decoding DTS Coherent Acoustics streams. It is
released under the terms of the GPL license. The DTS Coherent Acoustics
standard is used in a variety of applications, including DVD, DTS audio CD and
radio broadcasting.
%clean
rm -fr $RPM_BUILD_ROOT
%prep
%setup -n libdca
%build
./configure --prefix=/usr --enable-shared
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
/usr/bin/dtsdec
/usr/bin/extract_dts
/usr/share/man/man1/dtsdec.1
/usr/share/man/man1/extract_dts.1
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%package devel
Summary: Development headers and libraries for libdca
Group: Development/C
Requires: libdca
%files devel
%defattr(-,root,root)
/usr/include/dts.h
/usr/lib/libdts.a
/usr/lib/libdts_pic.a
/usr/lib/pkgconfig/libdts.pc
%description devel
libdca is a free library for decoding DTS Coherent Acoustics streams. It is
released under the terms of the GPL license. The DTS Coherent Acoustics
standard is used in a variety of applications, including DVD, DTS audio CD and
radio broadcasting.
%changelog
* Wed Nov 28 2007 Jean-Paul Saman <jpsaman@videolan.org>
- bumped up version number to svn_35.
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- initial specfile.
%define prefix /usr
%define name libdvdnav
%define ver 20050211
%define rel 1
Name: %{name}
Summary: DVD Navigation library
Version: %{ver}
Release: %{rel}
Group: Development/Libraries
License: GPL
Url: http://dvd.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
libdvdnav provides support to applications wishing to make use of advanced
DVD navigation features.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make install-strip DESTDIR=$RPM_BUILD_ROOT
%clean
rm -r $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README
%{prefix}/bin/dvdnav-config
%{prefix}/lib/libdvdnav*.la
%{prefix}/lib/libdvdnav*.so.*
%{prefix}/lib/libdvdnav*.so
%{prefix}/include/dvdnav/*
%{prefix}/share/aclocal/dvdnav.m4
%changelog
* Sun Mar 18 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
- Add missing files. Fix rpm generation.
* Tue Mar 12 2002 Rich Wareham <richwareham@users.sourceforge.net>
- Canabalisation to form libdvdnav spec file.
* Sun Sep 09 2001 Thomas Vander Stichele <thomas@apestaart.org>
- first spec file
Summary: ID3 tag manipulation library
Name: libid3tag
Version: 0.15.1b
Release: 1
Group: System/Libraries
License: GPL
URL: http://www.underbit.com/products/mad
Source: libid3tag-0.15.1b.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
libid3tag is a library for reading and (eventually) writing ID3 tags, both ID3v1 and the various versions of ID3v2.
%prep
%setup
%clean
rm -fr $RPM_BUILD_ROOT
%build
./configure --prefix=/usr --enable-shared
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc CHANGES COPYING COPYRIGHT CREDITS INSTALL README TODO VERSION
/usr/lib/libid3tag.so
/usr/lib/libid3tag.so.0
/usr/lib/libid3tag.so.0.3.0
%package devel
Summary: MPEG audio decoder library development headers en libraries.
Group: System/Libraries
Requires: libid3tag
%description devel
%files devel
%defattr(-,root,root)
/usr/include/id3tag.h
/usr/lib/libid3tag.a
/usr/lib/libid3tag.la
%changelog
* Sun Nov 24 2007 Jean-Paul Saman <jpsaman@videolan.org>
- Use prefix /usr by default.
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- specfile for libid3tag
Summary: MPEG audio decoder library
Name: libmad
Version: 0.15.1b
Release: 1
Group: System/Libraries
License: GPL
URL: http://www.underbit.com/products/mad
Source: libmad-0.15.1b.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
MAD (libmad) is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.
%prep
%setup
%clean
rm -fr $RPM_BUILD_ROOT
%build
./configure --prefix=/usr --enable-shared --enable-accuracy --enable-fpm=intel
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc CHANGES COPYING COPYRIGHT CREDITS INSTALL README TODO VERSION
/usr/lib/libmad.so
/usr/lib/libmad.so.0
/usr/lib/libmad.so.0.2.1
%package devel
Summary: MPEG audio decoder library development headers en libraries.
Group: System/Libraries
Requires: libmad
%description devel
MAD (libmad) is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.
%files devel
%defattr(-,root,root)
/usr/include/mad.h
/usr/lib/libmad.a
/usr/lib/libmad.la
%changelog
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- specfile for libmad
Summary: Modplug Plugin
Name: libmodplug
Version: 0.8
Release: 1
Group: System/Libraries
Source: libmodplug-0.8.tar.gz
URL: http://download.videolan.org/pub/videolan//testing/contrib/%{name}-%{version}.tar.gz
License: GPL
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
Requires: gzip, zip, bzip2
%description
Modplug Plugin originally developed for XMMS v2.0 / libmodplug v0.7
Plays 22 different mod formats, including:
MOD, S3M, XM, IT, 669, AMF (both of them),
AMS, DBM, DMF, DSM, FAR, MDL, MED, MTM,
OKT, PTM, STM, ULT, UMX, MT2, PSM.
Plays zip, rar, gzip, and bzip2 compressed mods. The following extensions are recognized:
zip: MDZ, S3Z, XMZ, ITZ
rar: MDR, S3R, XMR, ITR
gzip: MDGZ, S3GZ, XMGZ, ITGZ
You can also load plain old ZIP, RAR, and GZ files. If ModPlug finds a mod in them, it will play it.
Note: To play these formats, you need to have the associated decompression utilities (unzip, gunzip, unrar) installed.
Note(2): The format of the mod is NOT determined from the extension on compressed mods. For example, if you zipped a UMX mod and gave it the extension MDZ, it would work fine.
%prep
%setup
%clean
rm -fr $RPM_BUILD_ROOT
%build
./configure --prefix=/usr --enable-shared
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README TODO
/usr/lib/libmodplug.so
/usr/lib/libmodplug.so.0
/usr/lib/libmodplug.so.0.0.0
%package devel
Summary: Development headers and libraries for libmodplugin
Group: Development/C
%files devel
%defattr(-,root,root)
/usr/include/libmodplug/it_defs.h
/usr/include/libmodplug/modplug.h
/usr/include/libmodplug/sndfile.h
/usr/include/libmodplug/stdafx.h
/usr/lib/libmodplug.la
/usr/lib/pkgconfig/libmodplug.pc
%description devel
Modplug Plugin originally developed for XMMS v2.0 / libmodplug v0.7 Plays 22 different mod formats, including: MOD, S3M, XM, IT, 669, AMF (both of them),
AMS, DBM, DMF, DSM, FAR, MDL, MED, MTM,
OKT, PTM, STM, ULT, UMX, MT2, PSM.
Plays zip, rar, gzip, and bzip2 compressed mods. The following extensions are recognized:
zip: MDZ, S3Z, XMZ, ITZ
rar: MDR, S3R, XMR, ITR
gzip: MDGZ, S3GZ, XMGZ, ITGZ
You can also load plain old ZIP, RAR, and GZ files. If ModPlug finds a mod in them, it will play it.
Note: To play these formats, you need to have the associated decompression utilities (unzip, gunzip, unrar) installed.
Note(2): The format of the mod is NOT determined from the extension on compressed mods. For example, if you zipped a UMX mod and gave it the extension MDZ, it would work fine.
%changelog
* Tue Nov 27 2007 Jean-Paul Saman <jpsaman@videolan.org>
- version 0.7 -> 0.8
* Tue Aug 15 2006 Jean-Paul Saman <jpsaman@videolan.org>
- initial specfile
Summary: Musepack Decoder Library
Name: libmpcdec
Version: 1.2.2
Release: 1
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch0: mpcdec.patch
License: Musepack
URL: http://files.musepack.net/source/libmpcdec-%{version}.tar.bz2
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
Musepack Decoder Library
%clean
rm -fr $RPM_BUILD_ROOT
%prep
%setup
%patch0 -p1
%build
%configure --prefix=%{_prefix} --enable-shared
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README
/usr/lib/libmpcdec.so
/usr/lib/libmpcdec.so.3
/usr/lib/libmpcdec.so.3.1.1
%package devel
Summary: Development headers and libraries for Musepack decoder library
Group: System/Libraries
Requires: libmpcdec
%files devel
%defattr(-,root,root)
/usr/include/mpcdec/config_types.h
/usr/include/mpcdec/decoder.h
/usr/include/mpcdec/huffman.h
/usr/include/mpcdec/math.h
/usr/include/mpcdec/mpcdec.h
/usr/include/mpcdec/reader.h
/usr/include/mpcdec/requant.h
/usr/include/mpcdec/streaminfo.h
/usr/lib/libmpcdec.a
/usr/lib/libmpcdec.la
%description devel
Development headers and libraries for Musepack decoder library.
%changelog
* Wed Nov 28 2007 Jean-Paul Saman <jpsaman@videolan.org>
- version 1.2.1 -> 1.2.2
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- initial spec file.
Summary: Library providing XML and HTML support
Name: libxml2
Version: 2.6.26
Release: 1
License: MIT
Group: Development/Libraries
Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python python-devel zlib-devel
URL: http://xmlsoft.org/
Prefix: %{_prefix}
Docdir: %{_docdir}
%description
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
%package devel
Summary: Libraries, includes, etc. to develop XML and HTML applications
Group: Development/Libraries
Requires: libxml2 = %{version}
Requires: zlib-devel
Requires: pkgconfig
%description devel
Libraries, include files, etc you can use to develop XML applications.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
%package python
Summary: Python bindings for the libxml2 library
Group: Development/Libraries
Requires: libxml2 = %{version}
Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`)
%description python
The libxml2-python package contains a module that permits applications
written in the Python programming language to use the interface
supplied by the libxml2 library to manipulate XML files.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified.
%prep
%setup -q
%build
%configure
make
gzip -9 ChangeLog
%install
rm -fr %{buildroot}
%makeinstall
(cd doc/examples ; make clean ; rm -rf .deps)
gzip -9 doc/libxml2-api.xml
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -fr %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
%doc %{_mandir}/man1/xmllint.1*
%doc %{_mandir}/man1/xmlcatalog.1*
%doc %{_mandir}/man3/libxml.3*
%{_libdir}/lib*.so.*
%{prefix}/bin/xmllint
%{prefix}/bin/xmlcatalog
%files devel
%defattr(-, root, root)
%doc %{_mandir}/man1/xml2-config.1*
%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
%doc doc/*.html doc/html doc/*.gif doc/*.png
%doc doc/tutorial doc/libxml2-api.xml.gz
%doc doc/examples
%doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp
%doc %{_datadir}/gtk-doc/html/libxml2/*.html
%doc %{_datadir}/gtk-doc/html/libxml2/*.png
%doc %{_datadir}/gtk-doc/html/libxml2/*.css
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/*.sh
%{prefix}/include/*
%{prefix}/bin/xml2-config
%{prefix}/share/aclocal/libxml.m4
%{_libdir}/pkgconfig/libxml-2.0.pc
%files python
%defattr(-, root, root)
%doc AUTHORS ChangeLog.gz NEWS README Copyright
%{_libdir}/python*/site-packages/libxml2.py*
%{_libdir}/python*/site-packages/drv_libxml2.py*
%{_libdir}/python*/site-packages/libxml2mod*
%doc python/TODO
%doc python/libxml2class.txt
%doc python/tests/*.py
%doc doc/*.py
%doc doc/python.html
%{prefix}/share/doc/libxml2-2.6.26/html/*
%{prefix}/share/doc/libxml2-2.6.26/Copyright
%{prefix}/share/doc/libxml2-2.6.26/examples/*
%{prefix}/share/doc/libxml2-python-2.6.26/TODO
%{prefix}/share/doc/libxml2-python-2.6.26/examples/*
%changelog
* Wed Oct 31 2007 Daniel Veillard <veillard@redhat.com>
- upstream release 2.6.26 see http://xmlsoft.org/news.html
Summary: Live555 provides RTP/RTCP, RTSP, SIP multimedia streaming libraries
Name: live555
Version: 2007.10.31
Release: 1
License: GPL
URL: http://live555.com
Group: System/Libraries
Source: http://live555.com/liveMedia/public/%{name}-latest.tar.gz
Patch0: live.patch
Patch1: live-starttime.patch
Patch2: live-config.patch
BuildRoot: %_tmppath/%{name}-%{version}-%{release}-root
BuildRequires: sed
%package devel
Summary: Development tools, libraries and headerfiles for live555 RTP/RTCP, RTSP, SIP multimedia streaming library.
Group: Development/C
Provides: %{name}-devel = %{version}-cvs-%{release}
Requires: %{name} = %{version}-%{release}
%description
This code forms a set of C++ libraries for multimedia streaming, using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries - which can be compiled for Unix (including Linux and Mac OS X), Windows, and QNX (and other POSIX-compliant systems) - can be used to build streaming applications. The libraries are already being used to implement applications such as "liveCaster" and "playRTPMPEG" (for streaming MP3 audio using RTP/RTCP), and "vobStreamer" (for streaming DVD content using RTP/RTCP/RTSP). The libraries can also be used to stream, receive, and process MPEG, H.263+ or JPEG video, and several audio codecs. They can easily be extended to support additional (audio and/or video) codecs, and can also be used to build basic RTSP or SIP clients and servers, and have been used to add streaming support to existing media player applications, such as "VLC" and "MPlayer"
%description devel
Development headers and libraries for live555 multimedia streaming.
%prep
%setup -n live
%patch0 -p1
%patch1 -p1
sed -e 's/.*LIVEMEDIA_LIBRARY_VERSION_INT.*/#define LIVEMEDIA_LIBRARY_VERSION_INT 9999999999/' -i.bak liveMedia/include/liveMedia_version.hh
%patch2 -p1
%build
#sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's/%EXTRA_CPPFLAGS%/-I\/include/' -i.orig groupsock/Makefile.head
sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's/EXTRA_CPPFLAGS/-I\/include/' -i.orig groupsock/Makefile.head
./genMakefiles linux
CFLAGS="$RPM_OPT_FLAGS" make
%install
mkdir -p $RPM_BUILD_ROOT/usr/include/live555
mkdir -p $RPM_BUILD_ROOT/usr/lib/live555
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/live555
# copy headerfiles
cp -r liveMedia/include $RPM_BUILD_ROOT/usr/include/live555
cp -r groupsock/include $RPM_BUILD_ROOT/usr/include/live555
cp -r UsageEnvironment/include $RPM_BUILD_ROOT/usr/include/live555
cp -r BasicUsageEnvironment/include $RPM_BUILD_ROOT/usr/include/live555
# copy documentation
cp -r COPYING README $RPM_BUILD_ROOT/usr/share/doc/live555
# copy libraries
cp liveMedia/libliveMedia.a $RPM_BUILD_ROOT/usr/lib/live555/
cp groupsock/libgroupsock.a $RPM_BUILD_ROOT/usr/lib/live555/
cp UsageEnvironment/libUsageEnvironment.a $RPM_BUILD_ROOT/usr/lib/live555/
cp BasicUsageEnvironment/libBasicUsageEnvironment.a $RPM_BUILD_ROOT/usr/lib/live555/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING README
%dir /usr/share/doc/live555
/usr/share/doc/live555/COPYING
/usr/share/doc/live555/README
%files devel
%defattr(-,root,root)
%dir /usr/lib/live555
%dir /usr/include/live555
/usr/lib/live555/*
/usr/include/live555/*
%changelog
* Mon Nov 26 2007 Jean-Paul Saman <jpsaman@videolan.org>
- Updated to latest live555 version of 31 October 2007
* Thu Jul 19 2006 Jean-Paul Saman <jpsaman@videolan.org>
- start new specfile.
Summary: Tools and library for decoding MPEG 1/2 files
Name: mpeg2dec
Version: 0.4.1
Release: 1
License: GPL
URL: http://download.videolan.org/pub/videolan
Group: System/Libraries
Source: http://download.videolan.org/pub/videolan/%{name}-%{version}.tar.gz
BuildRoot: %_tmppath/%{name}-%{version}-%{release}-root
Prefix: /usr
%package devel
Summary: Development tools for programs which will use mpeg2dec library.
Group: Development/C
Provides: %{name}-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
%description
libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video
streams. It is released under the terms of the GPL license.
%description devel
libmpeg2 develop libraries and headers.
%prep
%setup -n %{name}-%{version}
%build
./bootstrap
CFLAGS="$RPM_OPT_FLAGS" ./configure -host=${HOST} --build=${BUILD} --prefix=/usr --without-x --disable-sdl
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
/usr/bin/corrupt_mpeg2
/usr/bin/extract_mpeg2
/usr/bin/mpeg2dec
/usr/share/man/man1/extract_mpeg2.1
/usr/share/man/man1/mpeg2dec.1
%files devel
%defattr(-,root,root)
%doc CodingStyle INSTALL
/usr/include/mpeg2dec/mpeg2.h
/usr/include/mpeg2dec/mpeg2convert.h
/usr/lib/libmpeg2.a
/usr/lib/libmpeg2convert.a
/usr/lib/libmpeg2convert.la
/usr/lib/libmpeg2.la
/usr/lib/pkgconfig/libmpeg2convert.pc
/usr/lib/pkgconfig/libmpeg2.pc
#%dir /usr/share/doc/mpeg2dec-devel-%{version}
%changelog
* Sat Nov 24 2007 Jean-Paul Saman <jpsaman@videolan.org>
- Use official mpeg2dec release.
* Thu Jul 19 2006 Jean-Paul Saman <jpsaman@videolan.org>
- start new specfile.
Summary: TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder
Name: twolame
Version: 0.3.9
Release: 1
License: LGPL
Group: Development/Libraries
Source: http://heanet.dl.sourceforge.net/sourceforge/twolame/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://www.twolame.org/
Prefix: %{_prefix}
Docdir: %{_docdir}
%description
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder.
It is based heavily on:
- tooLAME by Michael Cheng
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (lame.sf.net)
- other contributors (see AUTHORS)
TwoLAME should be able to be used as a drop-in replacement for
LAME (a MPEG Layer 3 encoder). The frontend takes very similar
command line options to LAME, and the backend library has a very
similar API to LAME.
%prep
%setup -q
%build
CFLAGS="${CFLAGS} -DLIBTWOLAME_STATIC" %configure --prefix=%{_prefix}
make
%install
rm -fr $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -fr %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-, root, root)
%doc ChangeLog AUTHORS COPYING README TODO
%{_libdir}/libtwolame.so*
/usr/man/man1/twolame.1
%package devel
Summary: TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder
Group: System/Libraries
Provides: %{name}-devel = %{version}-%{release}
Requires: faad2-devel
%description devel
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder.
It is based heavily on:
- tooLAME by Michael Cheng
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (lame.sf.net)
- other contributors (see AUTHORS)
TwoLAME should be able to be used as a drop-in replacement for
LAME (a MPEG Layer 3 encoder). The frontend takes very similar
command line options to LAME, and the backend library has a very
similar API to LAME.
%files devel
%defattr(-, root, root)
%{_libdir}/libtwolame.a
%{_libdir}/libtwolame.la
%{_includedir}/twolame.h
%{_libdir}/pkgconfig/twolame.pc
%{_datadir}/*
%changelog
* Wed Nov 28 2007 Jean-Paul Saman <jpsaman@videolan.org>
- First specfile
This diff is collapsed.
Summary: x264 - a free h264/avc encoder
Name: x264
Version: svn.604
Release: 1
Group: System/Libraries
License: GPL
Source: x264-svn-604.tar.gz
URL: http://developers.videolan.org/x264/
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
%description
x264 is a free library for encoding H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns Rullgård, Radek Czyz, Christian Heine (asm), Alex Izvorski, and Alex Wright. It is released under the terms of the GPL license.
%clean
rm -fr $RPM_BUILD_ROOT
%prep
%setup -n x264
%build
./configure --prefix=/usr --enable-pic --enable-shared
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
#fix up symlink
rm $RPM_BUILD_ROOT/usr/lib/libx264.so
cd $RPM_BUILD_ROOT/usr/lib/
ln -s libx264.so.45 libx264.so
cd -
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
/usr/bin/x264
/usr/lib/libx264.so
/usr/lib/libx264.so.54
%post -p /sbin/ldconfig
#ln -s /usr/lib/libx264.so.45 /usr/lib/libx264.so
%package devel
Summary: x264 - a free h264/avc encoder
Group: Development/C
Requires: x264
%files devel
%defattr(-,root,root)
/usr/include/x264.h
/usr/lib/libx264.a
/usr/lib/pkgconfig/x264.pc
%description devel
x264 is a free library for encoding H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns Rullgård, Radek Czyz, Christian Heine (asm), Alex Izvorski, and Alex Wright. It is released under the terms of the GPL license.
%changelog
* Tue Nov 27 2007 Jean-Paul Saman <jpsaman@videolan.org>
- svn 501 -> svn 604
* Sun Aug 13 2006 Jean-Paul Saman <jpsaman@videolan.org>
- 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