rpms/mythtv/devel .cvsignore,1.1,1.2 sources,1.1,1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/mythtv/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25896
Modified Files:
.cvsignore sources
Log Message:
initial import from livna
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mythtv/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:54:04 -0000 1.1
+++ .cvsignore 3 Aug 2008 15:17:17 -0000 1.2
@@ -0,0 +1,4 @@
+mythfrontend.png
+mythtv-setup.png
+mythplugins-0.21.tar.bz2
+mythtv-0.21.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mythtv/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:54:04 -0000 1.1
+++ sources 3 Aug 2008 15:17:17 -0000 1.2
@@ -0,0 +1,4 @@
+be3ab99952c2a3a135a7c4af90b08f15 mythfrontend.png
+be3ab99952c2a3a135a7c4af90b08f15 mythtv-setup.png
+6c08043227bef1384858deee12b5cdc3 mythplugins-0.21.tar.bz2
+49fc135e1cde90cd935c1229467fa37e mythtv-0.21.tar.bz2
16 years, 3 months
rpms/xmms-mp3/devel xmms-mp3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/xmms-mp3/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25792
Modified Files:
.cvsignore sources
Added Files:
xmms-mp3.spec
Log Message:
initial import from livna
--- NEW FILE xmms-mp3.spec ---
%define inputplugindir %(xmms-config --input-plugin-dir 2>/dev/null)
%define xmmsepoch 1
Summary: MP3 output plugin for XMMS
Name: xmms-mp3
Version: 1.2.10
Release: 6%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.xmms.org/
Source: http://www.xmms.org/files/1.2.x/xmms-%{version}.tar.bz2
Requires: xmms-libs = %{xmmsepoch}:%{version}
BuildRequires: gtk+-devel glib-devel
BuildRequires: xmms-devel = %{xmmsepoch}:%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%ifarch x86_64
BuildRequires: libtool
%endif
# --------------------------------------------------------------------
%description
XMMS is a multimedia (Ogg Vorbis, CDs) player for the X Window System
with an interface similar to Winamp's. XMMS supports playlists and
streaming content and has a configurable interface.
This is the output plugin needed to play MP3 audio files.
# --------------------------------------------------------------------
%prep
%setup -q -n xmms-%{version}
# --------------------------------------------------------------------
%build
%configure \
%ifarch athlon i686
--enable-simd \
%endif
--enable-kanji --enable-texthack --enable-arts-shared
perl -pi -e 's#\$\(top_builddir\)/libxmms/libxmms.la##g' Input/mpg123/Makefile
make -C Input/mpg123 \
%ifarch x86_64
LIBTOOL=/usr/bin/libtool \
%endif
%{?_smp_mflags}
# --------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{inputplugindir}
install -p -m 0755 Input/mpg123/.libs/libmpg123.so $RPM_BUILD_ROOT%{inputplugindir}
# --------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
# --------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%{inputplugindir}/libmpg123.so
# --------------------------------------------------------------------
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.2.10-6
- rebuild
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.2.10-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Fri Apr 7 2006 Dams <anvil[AT]livna.org> - 1.2.10-4
- Requires: xmms-libs instead of xmms, according to change in FE
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
- drop Epoch
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Fri Dec 31 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> 0:1.2.10-0.lvn.3
- fix x86_64 build; inside mach the integrated libtool does not work
* Sun May 16 2004 Dams <anvil[AT]livna.org> 0:1.2.10-0.lvn.2
- Added URL to Source0
* Wed Feb 25 2004 Dams <anvil[AT]livna.org> 0:1.2.10-0.lvn.1
- Updated to 1.2.10
* Fri Jan 30 2004 Dams <anvil[AT]livna.org> 0:1.2.9-0.lvn.1
- Updated to 1.2.9
* Tue Sep 30 2003 Dams <anvil[AT]livna.org> 0:1.2.8-0.fdr.2
- Fixed typo in description
- Fixed typo in configure option
* Sat Sep 27 2003 Dams <anvil[AT]livna.org> 0:1.2.8-0.fdr.1
- Spec file cleanup
- updated to xmms 1.2.8 for Fedora Core Test 2
- Using real xmms tarball
* Mon Mar 31 2003 Dams <anvil[AT]livna.org> 0:1.2.7-0.fdr.4
- Removed URL in Source
- Removed scriptlet %post %pre
* Sun Mar 30 2003 Dams <anvil[AT]livna.org> 0.fdr.3
- Added Epoch
- NPTL Patch applied even if we're on rh8
* Sun Mar 30 2003 Dams <anvil[AT]livna.org>
- Fixed typo in name of the patch.
- Included script to extract sources from xmms tarball
* Wed Feb 19 2003 Dams <anvil[AT]livna.org>
- Added 3dnow! support when target is athlon
* Tue Feb 18 2003 Dams <anvil[AT]livna.org>
- Based on the xmms 1.2.7-19.p spec file.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xmms-mp3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:57:08 -0000 1.1
+++ .cvsignore 3 Aug 2008 15:16:15 -0000 1.2
@@ -0,0 +1 @@
+xmms-1.2.10.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xmms-mp3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:57:08 -0000 1.1
+++ sources 3 Aug 2008 15:16:15 -0000 1.2
@@ -0,0 +1 @@
+03a85cfc5e1877a2e1f7be4fa1d3f63c xmms-1.2.10.tar.bz2
16 years, 3 months
rpms/vagalume/devel vagalume.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vagalume/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25077
Modified Files:
.cvsignore sources
Added Files:
vagalume.spec
Log Message:
initial import from livna
--- NEW FILE vagalume.spec ---
Name: vagalume
Version: 0.6
Release: 4%{?dist}
Summary: Last.fm client for GNOME and Maemo
Group: Applications/Multimedia
License: GPLv3
URL: http://vagalume.igalia.com/
Source0: http://people.igalia.com/berto/files/vagalume/source/vagalume_%{version}....
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gstreamer-devel gtk2-devel libxml2-devel
# curl has been renamed in F-9. New package still provides curl[-devel] but
# better be safe
%if 0%{?fedora} >= 9
BuildRequires: libcurl-devel
%else
BuildRequires: curl-devel
%endif
BuildRequires: libnotify-devel dbus-glib-devel
BuildRequires: desktop-file-utils gettext
Requires: hicolor-icon-theme
%description
Vagalume is a Last.fm client based on Gnome, and specially designed to
work in the Maemo platform.
Vagalume has the following features:
* It plays Last.fm streams using the Last.fm protocol v1.2
* It can play any Last.fm radio: personal, neighbours, loved
tracks, or any other arbitrary URL.
* It can download free tracks
* It implements the Audioscrobbler Realtime Submission Protocol
v1.2, specifically:
* Now Playing information
* Scrobbling of tracks that you listen
* Love/Ban ratings
* It displays the album cover of the track being played
* The user can tag artists, tracks and albums
* The user can send recommendations to other users
* The user can add tracks to their playlist
%prep
%setup -q -n %{name}-%{version}.orig
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
desktop-file-install --vendor="fedora" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/vagalume.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_bindir}/vagalume
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/vagalume.png
%{_datadir}/pixmaps/vagalume.*
%{_datadir}/vagalume
%{_mandir}/man*/*
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6-4
- rebuild
* Sat May 24 2008 Michel Salim <salimma(a)fedoraproject.org> - 0.6-3.1
- BR on curl-devel for Fedora < 9, instead of libcurl-devel
* Fri May 23 2008 Michel Salim <salimma(a)fedoraproject.org> - 0.6-3
- Update icon cache after (un)installation
* Mon May 19 2008 Michel Salim <salimma(a)fedoraproject.org> - 0.6-2
- Add BR on gettext
* Sun May 18 2008 Michel Salim <salimma(a)fedoraproject.org> - 0.6-1
- Update to 0.6
* Fri May 2 2008 Michel Salim <salimma(a)fedoraproject.org> - 0.5.1-1
- Update to 0.5.1
* Wed Nov 14 2007 Michel Salim <salimma(a)fedoraproject.org> - 0.2-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vagalume/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:56 -0000 1.1
+++ .cvsignore 3 Aug 2008 15:08:17 -0000 1.2
@@ -0,0 +1 @@
+vagalume_0.6.orig.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vagalume/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:56 -0000 1.1
+++ sources 3 Aug 2008 15:08:17 -0000 1.2
@@ -0,0 +1 @@
+c46e2cc182f7f427196a5bb682f10428 vagalume_0.6.orig.tar.gz
16 years, 3 months
rpms/ushare-freeworld/devel ushare-error.patch, NONE, 1.1 ushare-freeworld.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/ushare-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24928
Modified Files:
.cvsignore sources
Added Files:
ushare-error.patch ushare-freeworld.spec
Log Message:
initial import from livna
ushare-error.patch:
--- NEW FILE ushare-error.patch ---
--- ushare-1.1a/src/ushare.c 2007-12-09 14:03:36.000000000 +0100
+++ ushare-1.1a/src/ushare.c.new 2008-03-09 09:58:06.000000000 +0100
@@ -424,8 +424,6 @@
if ((itf->ifa_flags & IFF_UP)
&& !strncmp (itf->ifa_name, interface, IFNAMSIZ))
{
- log_error (_("Interface %s is down.\n"), interface);
- log_error (_("Recheck uShare's configuration and try again !\n"));
freeifaddrs (itflist);
return true;
}
--- NEW FILE ushare-freeworld.spec ---
Summary: UPnP (TM) A/V & DLNA Media Server
Name: ushare-freeworld
Version: 1.1a
Release: 5%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL: http://ushare.geexbox.org/
Source: http://ushare.geexbox.org/releases/ushare-%{version}.tar.bz2
Patch0: ushare-error.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libupnp-devel, pkgconfig, libdlna-devel
Requires: ushare >= %{version}
Requires(post): /usr/sbin/alternatives
Requires(preun): /usr/sbin/alternatives
Requires(postun): /sbin/service
%description
uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server
component that provides UPnP media devices with information on
available multimedia files. uShare uses the built-in http server
of libupnp to stream the files to clients.
%prep
%setup -q -n ushare-%{version}
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} --localedir=%{_datadir}/locale --sysconfdir=%{_sysconfdir} --enable-dlna --enable-debug
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%{__install} -pm 0755 -D src/ushare %{buildroot}%{_bindir}/ushare-freeworld
%clean
rm -rf %{buildroot}
%post
alternatives --install %{_bindir}/ushare ushare %{_bindir}/ushare-freeworld 20
service ushare condrestart &>/dev/null || :
%preun
if [ $1 -eq 0 ]; then
alternatives --remove ushare %{_bindir}/ushare-freeworld
service ushare condrestart &>/dev/null || :
fi
%postun
if [ $1 -ge 1 ]; then
service ushare condrestart &>/dev/null || :
fi
%files
%{_bindir}/ushare-freeworld
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.1a-5
- rebuild
* Sun Mar 09 2008 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.1a-4
- BZ 436607
* Fri Jan 25 2008 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.1a-3
- Correct some spec error
* Tue Dec 25 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.1a-2
- Correct some spec error
* Wed Dec 05 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.1a-1
- Update to 1.1a
* Sun Nov 18 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.0-4
- Rebuild for new libupnp.
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.0-2
- Rebuild for selinux ppc32 issue.
* Fri Jul 06 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 1.0-1
- Update to 1.0
* Tue Jun 26 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.10-4
- Rebuild
* Sat May 05 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.10-3
- Rebuild for libupnp-1.6.0
* Sat May 05 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.10-2
- Rebuild
* Mon Feb 26 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.10-1
- Update to 0.9.10
* Sun Feb 25 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.9-1
- Update to 0.9.9
* Sat Feb 17 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.8-2
- Rebuild for libupnp 1.4.2
* Wed Dec 13 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.8-1
- Update to 0.9.8
* Thu Jun 29 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.7-2
- Add pkgconfig to buildrequires
* Sun Mar 12 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.7-1
- Update to 0.9.7
* Tue Feb 14 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.6-1
- Update to 0.9.6
* Tue Feb 14 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.5-6
- Rebuild for FC5
* Fri Feb 10 2006 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.9.5-5
- Rebuild for FC5
* Tue Dec 27 2005 Eric Tanguy 0.9.5-4
- Use %find_lang macro instead of %{_datadir}/locale/*
* Tue Dec 27 2005 Eric Tanguy 0.9.5-3
- Drop "Requires: libupnp"
- replace %{_sysconfdir}/ushare.conf by %config(noreplace) %{_sysconfdir}/ushare.conf
* Tue Dec 27 2005 Eric Tanguy 0.9.5-2
- add patch for buffer
* Tue Dec 27 2005 Eric Tanguy 0.9.5-1
- First build
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/ushare-freeworld/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:48 -0000 1.1
+++ .cvsignore 3 Aug 2008 15:06:00 -0000 1.2
@@ -0,0 +1 @@
+ushare-1.1a.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/ushare-freeworld/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:48 -0000 1.1
+++ sources 3 Aug 2008 15:06:00 -0000 1.2
@@ -0,0 +1 @@
+5bbcdbf1ff85a9710fa3d4e82ccaa251 ushare-1.1a.tar.bz2
16 years, 3 months
rpms/twolame/devel twolame.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/twolame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24479
Modified Files:
.cvsignore sources
Added Files:
twolame.spec
Log Message:
initial import from livna
--- NEW FILE twolame.spec ---
Name: twolame
Version: 0.3.12
Release: 2%{?dist}
Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME
Group: Applications/Multimedia
License: LGPLv2+
URL: http://www.twolame.org/
Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsndfile-devel
BuildRequires: libtool
%description
TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME,
which in turn is based heavily on
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
This package contains the command line frontend.
%package libs
Summary: TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME
Group: System Environment/Libraries
Obsoletes: %{name} < 0.3.12-1
%description libs
TwoLAME is an optimised MPEG Audio Layer 2 encoding library based on tooLAME,
which in turn is based heavily on
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
This package contains the shared library.
%package devel
Summary: Development tools for TwoLAME applications
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains the header files and documentation
needed to develop applications with TwoLAME.
%prep
%setup -q
# convert manpage to UTF8
pushd doc
iconv -f iso8859-1 -t utf8 %{name}.1 > %{name}.1.utf && mv %{name}.1.utf %{name}.1
# fix HTML docs line endings
for file in html/*.html ; do
tr -d '\r' <$file >$file.unix && mv $file.unix $file
done
popd
%build
autoreconf -f -i
%configure --disable-static
%{__make} %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_docdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog README TODO
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%files libs
%defattr(-,root,root,-)
%attr(755,root,root) %{_libdir}/lib%{name}.so.*
%files devel
%defattr(644,root,root,755)
%doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}.h
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2
- rebuild
* Sun Jan 13 2008 Dominik Mierzejewski <rpm(a)greysector.net> 0.3.12-1
- updated to 0.3.12
- updated source URL
- split off libs to avoid multilib conflicts
- move docs processing to prep to avoid problems with shortcut builds
- update license tag
* Thu May 03 2007 Dominik Mierzejewski <rpm(a)greysector.net> 0.3.10-1
- updated to 0.3.10
- removed redundant BRs
* Wed Nov 01 2006 Dominik Mierzejewski <rpm(a)greysector.net> 0.3.8-1
- updated to 0.3.8
- rebuild autofiles to get rid of rpath
- disable static library build
- fix manpage encoding
- fix HTML docs line endings
* Sun Mar 12 2006 Dominik Mierzejewski <rpm(a)greysector.net> 0.3.6-1
- updated to 0.3.6
* Tue Jan 24 2006 Dominik Mierzejewski <rpm(a)greysector.net> 0.3.5-1
- updated to 0.3.5
- simplified package layout
- FE/livna compliance
* Sun Aug 21 2005 Dominik Mierzejewski <rpm(a)greysector.net>
- initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/twolame/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:24 -0000 1.1
+++ .cvsignore 3 Aug 2008 15:03:30 -0000 1.2
@@ -0,0 +1 @@
+twolame-0.3.12.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/twolame/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:24 -0000 1.1
+++ sources 3 Aug 2008 15:03:30 -0000 1.2
@@ -0,0 +1 @@
+d38c3ead5ac49b7425c1a9ef91126a35 twolame-0.3.12.tar.gz
16 years, 3 months
rpms/subtitleripper/devel subtitleripper-0.3-4-nopng.patch, NONE, 1.1 subtitleripper.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/subtitleripper/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24260
Modified Files:
.cvsignore sources
Added Files:
subtitleripper-0.3-4-nopng.patch subtitleripper.spec
Log Message:
initial import from livna
subtitleripper-0.3-4-nopng.patch:
--- NEW FILE subtitleripper-0.3-4-nopng.patch ---
diff -Naupr subtitleripper-new.orig/Makefile subtitleripper-new/Makefile
--- subtitleripper-new.orig/Makefile 2004-01-13 15:07:05.000000000 +0100
+++ subtitleripper-new/Makefile 2005-04-22 11:34:16.000000000 +0200
@@ -12,8 +12,8 @@ DEFINES += -D_HAVE_LIB_PPM_
LIBS += -lppm
### enable PNG support ###
-DEFINES += -D_HAVE_PNG_
-LIBS += -lpng
+#DEFINES += -D_HAVE_PNG_
+#LIBS += -lpng
### enable zlib support ###
DEFINES += -D_HAVE_ZLIB_
--- NEW FILE subtitleripper.spec ---
Summary: A tool to rip DVD subtitles
Name: subtitleripper
Version: 0.3
Release: 5%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://subtitleripper.sourceforge.net/
Source0: http://switch.dl.sourceforge.net/sourceforge/subtitleripper/%{name}-%{ver...
Patch0: subtitleripper-0.3-4-nopng.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: netpbm-devel zlib-devel
#-----------------------------------------------------------------------------
%description
Converts DVD subtitles into text format (e.g. subrip format) or VobSub
format. Based on transcode.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{name}
test -L %{_libdir}/libnetpbm.so && \
perl -pi -e 's/-lppm/-lnetpbm/g' Makefile
%patch0 -p1 -b .patch0
#-----------------------------------------------------------------------------
%build
CFLAGS="$RPM_OPT_FLAGS" make
#-----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
for i in pgm2txt srttool subtitle2pgm subtitle2vobsub
do
install -m 0755 $i $RPM_BUILD_ROOT/%{_bindir}
done
#-----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
#-----------------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%doc ChangeLog README*
%{_bindir}/pgm2txt
%{_bindir}/srttool
%{_bindir}/subtitle2pgm
%{_bindir}/subtitle2vobsub
#-----------------------------------------------------------------------------
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3-5
- rebuild
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
- drop Epoch
* Wed Sep 21 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:0.3-0.lvn.4
- Drop BR libpng, too
* Sat Sep 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:0.3-0.lvn.3
- Disable png-support for now cause it does not compile on FC4
* Mon Jun 28 2004 Dams <anvil[AT]livna.org> 0:0.3-0.lvn.2.4
- BuildReq libpng-devel
- Fix for libnetpbm on FC2
* Mon Jun 28 2004 Dams <anvil[AT]livna.org> 0:0.3.4-0.lvn.1
- Updated to 0.3-4
* Wed May 14 2003 Dams <anvil[AT]livna.org> 0:0.3-0.fdr.2
- Added missing zlib-devel BuildRequires
* Sat May 10 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/subtitleripper/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:08 -0000 1.1
+++ .cvsignore 3 Aug 2008 14:59:27 -0000 1.2
@@ -0,0 +1 @@
+subtitleripper-0.3-4.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/subtitleripper/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:08 -0000 1.1
+++ sources 3 Aug 2008 14:59:27 -0000 1.2
@@ -0,0 +1 @@
+c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz
16 years, 3 months
rpms/streamripper/devel streamripper-vswprintf-no-redef.patch, NONE, 1.1 streamripper.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/streamripper/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23886
Modified Files:
.cvsignore sources
Added Files:
streamripper-vswprintf-no-redef.patch streamripper.spec
Log Message:
initial import from livna
streamripper-vswprintf-no-redef.patch:
--- NEW FILE streamripper-vswprintf-no-redef.patch ---
diff -pruN streamripper-1.62.1-ori/lib/debug.c streamripper-1.62.1/lib/debug.c
--- streamripper-1.62.1-ori/lib/debug.c 2007-02-26 00:23:08.000000000 +0100
+++ streamripper-1.62.1/lib/debug.c 2007-08-08 18:09:52.000000000 +0200
@@ -29,8 +29,10 @@
#define vswprintf _vsnwprintf
#else
/* This prototype is missing in some systems */
+#if ! HAVE_VSWPRINTF
int vswprintf (wchar_t * ws, size_t n, const wchar_t * format, va_list arg);
#endif
+#endif
/*****************************************************************************
* Public functions
diff -pruN streamripper-1.62.1-ori/lib/mchar.c streamripper-1.62.1/lib/mchar.c
--- streamripper-1.62.1-ori/lib/mchar.c 2007-05-26 20:33:35.000000000 +0200
+++ streamripper-1.62.1/lib/mchar.c 2007-08-08 18:09:34.000000000 +0200
@@ -60,8 +60,10 @@
#else
#define ICONV_WCHAR "WCHAR_T"
/* This prototype is missing in some systems */
+#if ! HAVE_VSWPRINTF
int vswprintf (wchar_t * ws, size_t n, const wchar_t * format, va_list arg);
#endif
+#endif
/*****************************************************************************
--- NEW FILE streamripper.spec ---
Summary: Shoutcast and icecast compatible streams recorder
Name: streamripper
Version: 1.62.3
Release: 8%{?dist}
Group: Applications/Multimedia
URL: http://streamripper.sourceforge.net/
License: GPLv2
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: libmad-devel
BuildRequires: tre-devel
BuildRequires: faad2-devel
Patch0: streamripper-vswprintf-no-redef.patch
%description
Streamripper records shoutcast and icecast compatible streams, in their
native format. The following formats are supported: mp3, nsv, aac, and
ogg. The meta data within the stream are interpreted to determine the
beginning and end of each song, and stores the songs on your hard disk
as individual files. In addition, streamripper includes a relay server
for listening to the station while you are recording.
%prep
%setup -q
%patch0 -p1
chmod 0644 ./lib/charset.h
%build
## To be sure we will not use the embedded libmad
rm -rf ./libmad-*
## To be sure we will not use the embedded tre
rm -rf ./tre-*
%configure --disable-static
make %{?_smp_mflags} CFLAGS="%{optflags} -L%{_libdir}"
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p -c"
## man page must be converted to utf8
%define man_ori %{buildroot}/%{_mandir}/man1/streamripper.1
%define man_tmp %{man_ori}.utf8
iconv -f ISO-8859-1 -t utf8 %{man_ori} -o %{man_tmp}
mv -f %{man_tmp} %{man_ori}
%files
%defattr(-,root,root,-)
%doc README THANKS *.txt CHANGES COPYING
%{_bindir}/*
%{_mandir}/man1/*
%clean
rm -rf %{buildroot}
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.62.3-8
- rebuild
* Sat Nov 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1.62.3-7
- rebuilt
* Mon Sep 03 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.3-6
- New streamripper release
* Sat Sep 01 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.2-5
- Force Makefile to search lib in _libdir
- Add INSTALL="install -p -c" for make install
* Mon Aug 13 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.2-4
- New release of streamripper
- Spec clean-up
* Thu Aug 9 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.1-3
- Force to use external tre lib.
* Wed Aug 8 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.1-2
- Convert man page to UTF8
- Add streamripper-vswprintf-no-redef.patch
* Wed Aug 8 2007 Patrice Bouchand <patrice.bouchand.fedora(a)gmail.com> 1.62.1-1
- Initial Fedora release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/streamripper/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:00 -0000 1.1
+++ .cvsignore 3 Aug 2008 14:56:06 -0000 1.2
@@ -0,0 +1 @@
+streamripper-1.62.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/streamripper/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:00 -0000 1.1
+++ sources 3 Aug 2008 14:56:06 -0000 1.2
@@ -0,0 +1 @@
+127eb52355d0d10183ee22c44b5a9039 streamripper-1.62.3.tar.gz
16 years, 3 months
rpms/normalize/devel normalize.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/normalize/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23168
Modified Files:
.cvsignore sources
Added Files:
normalize.spec
Log Message:
initial import from livna
--- NEW FILE normalize.spec ---
%define plugindir %(xmms-config --effect-plugin-dir 2>/dev/null)
Summary: Tool for adjusting the volume of audio files to a standard level
Name: normalize
Version: 0.7.7
Release: 3%{?dist}
URL: http://normalize.nongnu.org/
License: GPL
Group: Applications/Multimedia
Source: http://savannah.nongnu.org/download/normalize/normalize-0.7.7.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: audiofile-devel >= 1:0.2.1-2, libmad-devel
BuildRequires: gettext
# Binaries from the following are required.
BuildRequires: mad, lame, vorbis-tools
# Explicit, because won't be detected automatically.
Requires: mad, lame, vorbis-tools
%ifarch x86_64
BuildRequires: libtool
%endif
%description
normalize is a tool for adjusting the volume of audio files to a
standard level. This is useful for things like creating mixed CDs
and mp3 collections, where different recording levels on different
albums can cause the volume to vary greatly from song to song.
%package -n xmms-%{name}
Summary: Relative volume adjustment plugin for XMMS
Group: Applications/Multimedia
BuildRequires: xmms-devel, gtk+-devel
Requires: xmms-libs, %{name} = %{version}-%{release}
%description -n xmms-%{name}
Plugin for XMMS to honour relative volume adjustment (RVA2)
ID3 tag frames.
%prep
%setup -q
%build
%configure --enable-xmms --with-mad --with-audiofile
make \
%ifarch x86_64
LIBTOOL=/usr/bin/libtool \
%endif
%{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING README NEWS THANKS TODO
%{_bindir}/normalize
%{_bindir}/normalize-mp3
%{_bindir}/normalize-ogg
%{_mandir}/man1/normalize.1.gz
%{_mandir}/man1/normalize-mp3.1.gz
%files -n xmms-%{name}
%defattr(-,root,root)
%{plugindir}/librva.so
%exclude %{_libdir}/xmms/Effect/librva.*a
# The * here is for x86_64 build where a librva.a and a librva.la are builded
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.7.7-3
- rebuild
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.7.7-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sun Sep 24 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.7-1
- Update to 0.7.7 (new upstream locations).
* Fri Apr 7 2006 Dams <anvil[AT]livna.org> - 0.7.6-11
- xmms package requires xmms-libs instead of xmms
* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.7.6-10
- Drop Epoch completely
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
- drop Epoch
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Fri Dec 31 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> 0:0.7.6-0.lvn.9
- fix x86_64 build; inside mach the integrated libtool does not work
* Thu May 20 2004 Dams <anvil[AT]livna.org> - 0:0.7.6-0.lvn.8
- xmms-config errors redirected to dev/null
* Sun May 4 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.7.6-0.fdr.7
- Use $RPM_BUILD_ROOT instead of %{buildroot}.
- Fix spec file in accordance with bug #213 comments #14 and #15.
* Sun Apr 27 2003 Michael Schwendt <mschwendt[AT]users.sf.net>
- Rename package normalize-xmms to xmms-normalize.
- Use explicit Epoch 1 for versioned audiofile, drop version
requirement for xmms.
* Sat Apr 26 2003 Michael Schwendt <mschwendt[AT]users.sf.net>
- Drop explicit Requires where possible.
- Update for split "mad" packages (bug #187).
* Fri Apr 25 2003 Michael Schwendt <mschwendt[AT]users.sf.net>
- Update spec file according to Fedora package request bug #213.
* Sat Apr 5 2003 Michael Schwendt <mschwendt[AT]users.sf.net>
- Depend on libmad-*.
- RHL9 build.
* Sun Apr 14 2002 Michael Schwendt <mschwendt[AT]users.sf.net>
- Initial RPM built for Red Hat Linux 7.2.
- Wants libaudiofile >= 0.2.2, but 0.2.1-2 seems to work.
and passes tests, too.
- Descriptions taken from Chris Vaill's spec file.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/normalize/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Jul 2008 18:14:14 -0000 1.1
+++ .cvsignore 3 Aug 2008 14:45:26 -0000 1.2
@@ -0,0 +1 @@
+normalize-0.7.7.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/normalize/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Jul 2008 18:14:14 -0000 1.1
+++ sources 3 Aug 2008 14:45:26 -0000 1.2
@@ -0,0 +1 @@
+1749b16fc7a08aa5d0cf9f76eeaa8436 normalize-0.7.7.tar.bz2
16 years, 3 months
rpms/libmpeg3/devel libmpeg3-1.5.2-gnustack.patch, NONE, 1.1 libmpeg3-1.7-boostrap.patch, NONE, 1.1 libmpeg3-1.7-cinelerra_autotools.patch, NONE, 1.1 libmpeg3-1.7-cinelerra_hacking.patch, NONE, 1.1 libmpeg3-1.7-fix_commented.patch, NONE, 1.1 libmpeg3-1.7-makefile.patch, NONE, 1.1 libmpeg3-1.7-memcpy.patch, NONE, 1.1 libmpeg3-1.7-pkgconfig.in.patch, NONE, 1.1 libmpeg3-1.7-spec_in.patch, NONE, 1.1 libmpeg3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/libmpeg3/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22722
Modified Files:
.cvsignore sources
Added Files:
libmpeg3-1.5.2-gnustack.patch libmpeg3-1.7-boostrap.patch
libmpeg3-1.7-cinelerra_autotools.patch
libmpeg3-1.7-cinelerra_hacking.patch
libmpeg3-1.7-fix_commented.patch libmpeg3-1.7-makefile.patch
libmpeg3-1.7-memcpy.patch libmpeg3-1.7-pkgconfig.in.patch
libmpeg3-1.7-spec_in.patch libmpeg3.spec
Log Message:
initial import from livna
libmpeg3-1.5.2-gnustack.patch:
--- NEW FILE libmpeg3-1.5.2-gnustack.patch ---
diff -ru libmpeg3-1.5.2.orig/video/mmxidct.S libmpeg3-1.5.2/video/mmxidct.S
--- libmpeg3-1.5.2.orig/video/mmxidct.S 2006-04-24 23:13:14.000000000 +0200
+++ libmpeg3-1.5.2/video/mmxidct.S 2006-04-24 23:13:47.000000000 +0200
@@ -673,3 +673,7 @@
ret
.Lfe1:
.size IDCT_mmx,.Lfe1-IDCT_mmx
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
diff -ru libmpeg3-1.5.2.orig/video/reconmmx.s libmpeg3-1.5.2/video/reconmmx.s
--- libmpeg3-1.5.2.orig/video/reconmmx.s 2006-04-24 23:13:14.000000000 +0200
+++ libmpeg3-1.5.2/video/reconmmx.s 2006-04-24 23:13:20.000000000 +0200
@@ -298,4 +298,6 @@
pop esi
ret
-
+%ifidn __OUTPUT_FORMAT__,elf
+section .note.GNU-stack noalloc noexec nowrite progbits
+%endif
libmpeg3-1.7-boostrap.patch:
--- NEW FILE libmpeg3-1.7-boostrap.patch ---
diff -uNr libmpeg3-1.7-bootstrap/bootstrap libmpeg3-1.7/bootstrap
--- libmpeg3-1.7-bootstrap/bootstrap 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-1.7/bootstrap 2007-09-14 00:27:39.000000000 +0200
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -x
+aclocal
+libtoolize --force --copy
+autoheader
+automake --add-missing --copy
+autoconf
libmpeg3-1.7-cinelerra_autotools.patch:
--- NEW FILE libmpeg3-1.7-cinelerra_autotools.patch ---
diff -uNr libmpeg3-1.7/audio/ac3.c libmpeg3-cinelerra/audio/ac3.c
--- libmpeg3-1.7/audio/ac3.c 2006-01-11 05:42:23.000000000 +0100
+++ libmpeg3-cinelerra/audio/ac3.c 2007-07-05 00:42:40.000000000 +0200
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <stdio.h>
-#include "a52.h"
+#include <a52dec/a52.h>
#include "mpeg3private.h"
#include "mpeg3protos.h"
diff -uNr libmpeg3-1.7/audio/Makefile.am libmpeg3-cinelerra/audio/Makefile.am
--- libmpeg3-1.7/audio/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-cinelerra/audio/Makefile.am 2007-07-05 00:42:40.000000000 +0200
@@ -0,0 +1,12 @@
+noinst_LTLIBRARIES = libmpeg3_audio.la
+libmpeg3_audio_la_SOURCES = ac3.c dct.c huffman.c layer2.c layer3.c mpeg3audio.c pcm.c synthesizers.c tables.c
+libmpeg3_audio_la_LDFLAGS =
+
+noinst_HEADERS = ac3.h huffman.h mpeg3audio.h tables.h
+
+AM_CFLAGS = $(CPU_CFLAGS) $(LARGEFILE_CFLAGS)
+AM_CXXFLAGS = $(CPU_CFLAGS) $(LARGEFILE_CFLAGS)
+INCLUDES=-I$(srcdir)/..
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool $(LTC_FLAGS)
+
diff -uNr libmpeg3-1.7/configure.in libmpeg3-cinelerra/configure.in
--- libmpeg3-1.7/configure.in 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-cinelerra/configure.in 2007-09-08 23:27:17.000000000 +0200
@@ -0,0 +1,83 @@
+# Process this file with autoconf to produce a configure script.
+AC_INIT(libmpeg3, 1.7)
+AM_INIT_AUTOMAKE([dist-bzip2])
+AC_PREREQ(2.53)
+AM_CONFIG_HEADER([config.h])
+AM_PROG_AS
+AC_DISABLE_SHARED
+AC_ENABLE_STATIC
+AC_PROG_LIBTOOL
+
+LIBMPEG3_VERSION_CURRENT=1
+LIBMPEG3_VERSION_REVISION=0
+LIBMPEG3_VERSION_AGE=0
+LIBMPEG3_VERSION_INFO=$LIBMPEG3_VERSION_CURRENT:$LIBMPEG3_VERSION_REVISION:$LIBMPEG3_VERSION_AGE
+AC_SUBST(LIBMPEG3_VERSION_INFO)
+
+# Checks for programs.
+AC_PROG_CC
+
+# hack for using nasm for .S files
+CCAS="nasm --tag=$CC"
+AC_SUBST(CCAS)
+AC_SUBST(CCASFLAGS)
+
+############## MMX
+
+AC_ARG_ENABLE(mmx,
+ AC_HELP_STRING([--enable-mmx], [enables support for mmx (default is autodetect)]),
+ [ enable_mmx=$enableval ],[ enable_mmx=auto ])
+case "$target_cpu" in
+i586 | i686)
+ test "x$enable_mmx" = "xauto" && enable_mmx=yes
+
+ CPU_CFLAGS="-DX86_CPU $CPU_CFLAGS"
+
+ if test "x$enable_mmx" = "xyes"; then
+ CPU_CFLAGS="-DHAVE_MMX -DUSE_MMX $CPU_CFLAGS" # -D_MMX_ doesn't work
+ enable_mmx32=yes
+ fi
+;;
+x86_64)
+ test "x$enable_mmx" = "xauto" && enable_mmx=yes
+ CPU_CFLAGS="-DX86_CPU $CPU_CFLAGS"
+ if test "x$enable_mmx" = "xyes"; then
+ CPU_CFLAGS="-DHAVE_MMX -DUSE_MMX $CPU_CFLAGS"
+
+ fi
+;;
+esac
+
+test "x$enable_mmx" = "xauto" && enable_mmx=no
+
+AM_CONDITIONAL(USEMMX, test "x$enable_mmx" = "xyes")
+AM_CONDITIONAL(USEMMX32, test "x$enable_mmx32" = "xyes")
+AM_CONDITIONAL(TARGET_BUILTIN_VECTOR,test "x$enable_mmx" = "xyes")
+AC_SUBST(LIBDECORE_LIBADD)
+AC_SUBST(CPU_CFLAGS)
+
+############## END OF MMX
+
+LARGEFILE_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+AC_SUBST(LARGEFILE_CFLAGS)
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdlib.h string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_C_INLINE
+AC_STRUCT_TM
+
+# Checks for libraries.
+
+AC_CONFIG_FILES([
+Makefile
+audio/Makefile
+video/Makefile
+libmpeg3.spec
+libmpeg3.pc
+])
+AC_OUTPUT
+
diff -uNr libmpeg3-1.7/Makefile.am libmpeg3-cinelerra/Makefile.am
--- libmpeg3-1.7/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-cinelerra/Makefile.am 2007-09-08 22:58:17.000000000 +0200
@@ -0,0 +1,61 @@
+lib_LTLIBRARIES = libmpeg3.la
+AM_CFLAGS = $(CPU_CFLAGS) $(LARGEFILE_CFLAGS)
+libmpeg3_la_LDFLAGS = -version-info @LIBMPEG3_VERSION_INFO@
+libmpeg3_la_LIBADD = -la52 video/libmpeg3_video.la audio/libmpeg3_audio.la -lm \
+ -lpthread
+libmpeg3_la_SOURCES = libmpeg3.c mpeg3bits.c mpeg3atrack.c mpeg3css.c \
+ mpeg3demux.c \
+ mpeg3ifo.c \
+ mpeg3io.c \
+ mpeg3strack.c \
+ mpeg3title.c \
+ mpeg3tocutil.c \
+ mpeg3vtrack.c \
+ workarounds.c
+
+bin_PROGRAMS = mpeg3dump mpeg3peek mpeg3toc mpeg3cat # mpeg2qt
+mpeg3dump_SOURCES = mpeg3dump.c
+mpeg3dump_LDADD = libmpeg3.la
+mpeg3dump_CFLAGS = $(AM_CFLAGS)
+mpeg3peek_SOURCES = mpeg3peek.c
+mpeg3peek_LDADD = libmpeg3.la
+mpeg3peek_CFLAGS = $(AM_CFLAGS)
+mpeg3toc_SOURCES = mpeg3toc.c
+mpeg3toc_LDADD = libmpeg3.la
+mpeg3toc_CFLAGS = $(AM_CFLAGS)
+mpeg3cat_SOURCES = mpeg3cat.c
+mpeg3cat_LDADD = libmpeg3.la
+mpeg3cat_CFLAGS = $(AM_CFLAGS)
+#mpeg2qt_SOURCES = mpeg2qt.c # disabled to prevent circle dependencies
+#mpeg2qt_LDADD = libmpeg3.la -lpng -lz -ldl -lquicktime4linux
+#mpeg2qt_CFLAGS = $(AM_CFLAGS) -I$(includedir)/quicktime4linux
+
+SUBDIRS = audio video
+
+EXTRA_DIST = docs
+
+noinst_HEADERS = bitstream.h \
+ ifo.h \
+ libmpeg3.h \
+ mpeg3atrack.h \
+ mpeg3css.h \
+ mpeg3css_fake.c \
+ mpeg3demux.h \
+ mpeg3io.h \
+ mpeg3private.h \
+ mpeg3private.inc \
+ mpeg3protos.h \
+ mpeg3title.h \
+ mpeg3vtrack.h \
+ timecode.h \
+ workarounds.h
+
+dist_noinst_SCRIPTS = bootstrap
+
+pkgincludedir=$(includedir)/mpeg3
+pkginclude_HEADERS=libmpeg3.h mpeg3private.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libmpeg3.pc
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool $(LTC_FLAGS)
diff -uNr libmpeg3-1.7/video/Makefile.am libmpeg3-cinelerra/video/Makefile.am
--- libmpeg3-1.7/video/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-cinelerra/video/Makefile.am 2007-07-05 00:42:40.000000000 +0200
@@ -0,0 +1,29 @@
+noinst_LTLIBRARIES = libmpeg3_video.la
+libmpeg3_video_la_SOURCES = getpicture.c headers.c idct.c macroblocks.c mmxtest.c motion.c \
+ mpeg3cache.c \
+ mpeg3video.c \
+ output.c \
+ reconstruct.c \
+ seek.c \
+ slice.c \
+ subtitle.c \
+ vlc.c
+
+if USEMMX
+libmpeg3_video_la_SOURCES += mmxidct.S reconmmx.s
+else
+libmpeg3_video_la_SOURCES +=
+endif
+
+noinst_HEADERS = idct.h \
+ layerdata.h \
+ mpeg3video.h \
+ mpeg3videoprotos.h \
+ slice.h \
+ vlc.h
+
+libmpeg3_video_la_LDFLAGS=
+AM_CFLAGS = $(CPU_CFLAGS) $(LARGEFILE_CFLAGS)
+INCLUDES=-I$(srcdir)/..
+
+LIBTOOL = $(SHELL) $(top_builddir)/libtool $(LTC_FLAGS)
libmpeg3-1.7-cinelerra_hacking.patch:
--- NEW FILE libmpeg3-1.7-cinelerra_hacking.patch ---
diff -uNr libmpeg3-1.7/libmpeg3.c libmpeg3-cinelerra/libmpeg3.c
--- libmpeg3-1.7/libmpeg3.c 2006-03-29 06:14:26.000000000 +0200
+++ libmpeg3-cinelerra/libmpeg3.c 2007-07-05 00:42:40.000000000 +0200
@@ -181,6 +181,7 @@
strncasecmp(ext, ".mpg", 4) &&
strncasecmp(ext, ".vob", 4) &&
strncasecmp(ext, ".mpeg", 4) &&
+ strncasecmp(ext, ".m2t", 4) &&
strncasecmp(ext, ".ac3", 4))
result = 0;
}
diff -uNr libmpeg3-1.7/libmpeg3.h libmpeg3-cinelerra/libmpeg3.h
--- libmpeg3-1.7/libmpeg3.h 2006-03-29 06:14:26.000000000 +0200
+++ libmpeg3-cinelerra/libmpeg3.h 2007-07-05 00:42:40.000000000 +0200
@@ -5,6 +5,7 @@
extern "C" {
#endif
+// FIXME: don't include private definitions in external header
#include "mpeg3private.h"
diff -uNr libmpeg3-1.7/mpeg3toc.c libmpeg3-cinelerra/mpeg3toc.c
--- libmpeg3-1.7/mpeg3toc.c 2005-12-23 23:54:55.000000000 +0100
+++ libmpeg3-cinelerra/mpeg3toc.c 2007-07-05 00:42:40.000000000 +0200
@@ -574,7 +574,7 @@
if(j == vtracks - 1 && l == frame_count - 1)
{
total_frames += frame_count;
- fprintf(stderr, "Video: title=%lld total_frames=%d ", title_number, total_frames);
+ fprintf(stderr, "Video: title=%lld total_frames=%d (%.1f \%)", title_number, total_frames,100*((float)position)/((float) mpeg3demux_movie_size(demuxer)));
}
}
}
diff -uNr libmpeg3-1.7/video/output.c libmpeg3-cinelerra/video/output.c
--- libmpeg3-1.7/video/output.c 2006-01-07 10:55:56.000000000 +0100
+++ libmpeg3-cinelerra/video/output.c 2007-07-05 00:42:40.000000000 +0200
@@ -104,7 +104,7 @@
*data++ = 0;
#define STORE_PIXEL_RGB565 \
- *((unsigned short*)data) = \
+ *(*(unsigned short**)(&data))++ = \
((CLIP(r_l) & 0xf8) << 8) | \
((CLIP(g_l) & 0xfc) << 3) | \
((CLIP(b_l) & 0xf8) >> 3); \
diff -uNr libmpeg3-1.7/video/vlc.c libmpeg3-cinelerra/video/vlc.c
--- libmpeg3-1.7/video/vlc.c 2005-04-21 05:59:42.000000000 +0200
+++ libmpeg3-cinelerra/video/vlc.c 2007-07-05 00:42:40.000000000 +0200
@@ -1,3 +1,6 @@
+// FIXME: vlc.h redefines ERROR to 99 if and only if error is defined.
+#define ERROR
+
#include "mpeg3private.h"
#include "mpeg3protos.h"
#include "vlc.h"
libmpeg3-1.7-fix_commented.patch:
--- NEW FILE libmpeg3-1.7-fix_commented.patch ---
diff -up libmpeg3-1.7/mpeg3protos.h.commented libmpeg3-1.7/mpeg3protos.h
--- libmpeg3-1.7/mpeg3protos.h.commented 2006-03-29 06:14:26.000000000 +0200
+++ libmpeg3-1.7/mpeg3protos.h 2007-09-11 18:20:08.000000000 +0200
@@ -390,7 +390,7 @@ int mpeg3demux_open_title(mpeg3_demuxer_
/* Go to the absolute byte given */
int mpeg3demux_seek_byte(mpeg3_demuxer_t *demuxer, int64_t byte);
-/* Seek to the title and cell containing the absolute byte of the
+/* Seek to the title and cell containing the absolute byte of the */
/* demuxer. */
/* Called at the beginning of every packet. */
int mpeg3_seek_phys(mpeg3_demuxer_t *demuxer);
libmpeg3-1.7-makefile.patch:
--- NEW FILE libmpeg3-1.7-makefile.patch ---
diff -up libmpeg3-1.7/Makefile.makefile libmpeg3-1.7/Makefile
--- libmpeg3-1.7/Makefile.makefile 2006-02-15 06:09:31.000000000 +0100
+++ libmpeg3-1.7/Makefile 2007-09-08 03:16:05.000000000 +0200
@@ -9,6 +9,10 @@ ifeq ("$(PREFIX)", "")
PREFIX=/usr
endif
+ifeq ("$(LIBDIR)", "")
+LIBDIR=$(PREFIX)/lib
+endif
+
ifeq ($(origin CFLAGS), environment)
HAVE_CFLAGS := y
else
@@ -16,36 +20,13 @@ HAVE_CFLAGS := n
endif
+ifeq ("$(OBJDIR)", "")
OBJDIR := $(shell uname --machine)
-
-
-
-
-ifeq ($(OBJDIR), alpha)
- USE_MMX = 0
- ifneq ($(HAVE_CFLAGS), y)
- CFLAGS := -O4 -arch ev67 -ieee -accept c99_keywords -gcc_messages
- endif
-endif
-
-ifeq ($(OBJDIR), i686)
- USE_MMX = 1
- ifneq ($(HAVE_CFLAGS), y)
- CFLAGS := -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/local/include
- endif
- CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-endif
-
-ifeq ($(OBJDIR), x86_64)
- ifneq ($(HAVE_CFLAGS), y)
- CFLAGS := -O2 -fomit-frame-pointer -I/usr/local/include
- endif
- CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-
-
endif
+CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+
ifeq ($(USE_CSS), 1)
CFLAGS += -DHAVE_CSS
@@ -64,8 +45,7 @@ endif
CFLAGS += \
-I. \
- -I$(A52DIR)/include \
- -I$(A52DIR)/liba52
+ -I/usr/include/a52dec
@@ -136,9 +116,9 @@ DIRS := \
$(OBJDIR)/audio \
$(OBJDIR)/video
-include Makefile.a52
+#include Makefile.a52
-DIRS += $(A52DIRS)
+#DIRS += $(A52DIRS)
OUTPUT = $(OBJDIR)/libmpeg3.a
@@ -147,40 +127,40 @@ UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mp
#$(OBJDIR)/mpeg3split
-LIBS = -lm -lpthread
+LIBS = -lm -lpthread -la52
$(shell if ! test -d $(OBJDIR) \; then mkdir -p $(OBJDIR) \; fi )
-$(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
-$(shell echo $(A52CFLAGS) > $(OBJDIR)/a52_flags)
-$(shell echo $(OBJS) $(ASMOBJS) $(A52OBJS) $(NASMOBJS) > $(OBJDIR)/objs)
+#(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
+#$(shell echo $(A52CFLAGS) > $(OBJDIR)/a52_flags)
+#$(shell echo $(OBJS) $(ASMOBJS) $(NASMOBJS) > $(OBJDIR)/objs)
$(shell mkdir -p $(DIRS) )
all: $(OUTPUT) $(UTILS)
-$(OUTPUT): $(OBJS) $(ASMOBJS) $(NASMOBJS) $(A52OBJS)
- ar rcs $(OUTPUT) `cat $(OBJDIR)/objs`
+$(OUTPUT): $(OBJS) $(ASMOBJS) $(NASMOBJS)
+ ar rcs $(OUTPUT) $(OBJS) $(ASMOBJS) $(NASMOBJS)
$(OBJDIR)/mpeg3dump: $(OUTPUT) mpeg3dump.c
- $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS)
+ $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS)
$(OBJDIR)/mpeg3peek: $(OUTPUT) mpeg3peek.c
- $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3peek mpeg3peek.c $(OUTPUT) $(LIBS)
+ $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg3peek mpeg3peek.c $(OUTPUT) $(LIBS)
$(OBJDIR)/mpeg3toc: $(OUTPUT) mpeg3toc.c
- $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3toc mpeg3toc.c $(OUTPUT) $(LIBS)
+ $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg3toc mpeg3toc.c $(OUTPUT) $(LIBS)
$(OBJDIR)/mpeg3cat: $(OUTPUT) mpeg3cat.c
- $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3cat mpeg3cat.c $(OUTPUT) $(LIBS)
+ $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg3cat mpeg3cat.c $(OUTPUT) $(LIBS)
#$(OBJDIR)/mpeg3split: $(OUTPUT)
-# $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS)
+# $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS)
$(OBJDIR)/mpeg2qt: $(OUTPUT)
- $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg2qt mpeg2qt.c \
+ $(CC) $(CFLAGS) -o $(OBJDIR)/mpeg2qt mpeg2qt.c \
$(OUTPUT) \
$(LIBS) \
-I. \
@@ -191,9 +171,12 @@ $(OBJDIR)/mpeg2qt: $(OUTPUT)
-ldl
install:
- cp $(UTILS) $(PREFIX)/bin
-# cp $(OUTPUT) $(PREFIX)/lib
-# cp libmpeg3.h mpeg3private.h $(PREFIX)/include
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp $(UTILS) $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(LIBDIR)
+ cp $(OUTPUT) $(DESTDIR)$(LIBDIR)
+ mkdir -p $(DESTDIR)$(PREFIX)/include
+ cp libmpeg3.h mpeg3private.h $(DESTDIR)$(PREFIX)/include
clean:
rm -rf $(OBJDIR)
@@ -206,13 +189,13 @@ wc:
cat *.c *.h audio/*.c audio/*.h video/*.c video/*.h | wc
$(OBJS):
- $(CC) -c `cat $(OBJDIR)/c_flags` $(subst $(OBJDIR)/,, $*.c) -o $*.o
+ $(CC) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
$(ASMOBJS):
- $(CC) -c `cat $(OBJDIR)/c_flags` $(subst $(OBJDIR)/,, $*.S) -o $*.o
+ $(CC) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.S) -o $*.o
$(NASMOBJS):
$(NASM) -f elf $(subst $(OBJDIR)/,, $*.s) -o $*.o
-$(A52OBJS):
- $(CC) -c `cat $(OBJDIR)/a52_flags` $(subst $(OBJDIR)/,, $*.c) -o $*.o
+#(A52OBJS):
+# $(CC) -c $(CFLAGS) $(subst $(OBJDIR)/,, $*.c) -o $*.o
$(OBJDIR)/libmpeg3.o: libmpeg3.c
$(OBJDIR)/mpeg3atrack.o: mpeg3atrack.c
libmpeg3-1.7-memcpy.patch:
--- NEW FILE libmpeg3-1.7-memcpy.patch ---
diff -ur libmpeg3-1.7.orig/audio/mpeg3audio.c libmpeg3-1.7/audio/mpeg3audio.c
--- libmpeg3-1.7.orig/audio/mpeg3audio.c 2006-02-19 13:43:27.000000000 +0200
+++ libmpeg3-1.7/audio/mpeg3audio.c 2007-08-17 18:06:37.000000000 +0300
@@ -3,7 +3,7 @@
#include <math.h>
#include <stdlib.h>
-
+#include <string.h>
diff -ur libmpeg3-1.7.orig/video/subtitle.c libmpeg3-1.7/video/subtitle.c
--- libmpeg3-1.7.orig/video/subtitle.c 2006-02-27 06:14:00.000000000 +0200
+++ libmpeg3-1.7/video/subtitle.c 2007-08-17 18:07:00.000000000 +0300
@@ -2,6 +2,7 @@
#include "mpeg3protos.h"
#include <stdlib.h>
+#include <string.h>
static unsigned char get_nibble(unsigned char **ptr, int *nibble)
{
libmpeg3-1.7-pkgconfig.in.patch:
--- NEW FILE libmpeg3-1.7-pkgconfig.in.patch ---
diff -uNr libmpeg3-1.7_spec/libmpeg3.pc.in libmpeg3-1.7/libmpeg3.pc.in
--- libmpeg3-1.7_spec/libmpeg3.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-1.7/libmpeg3.pc.in 2007-09-11 22:08:28.000000000 +0200
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=@libdir@
+includedir=@includedir@/mpeg3
+
+Name: @PACKAGE@
+Description: Decoder of various derivatives of MPEG standards
+Version: @VERSION@
+Requires:
+Conflicts:
+Libs: -L${libdir} -lmpeg3 -lpthread -la52
+Cflags: -I${includedir}
libmpeg3-1.7-spec_in.patch:
--- NEW FILE libmpeg3-1.7-spec_in.patch ---
diff -uNr libmpeg3-1.7_spec/libmpeg3.spec.in libmpeg3-1.7/libmpeg3.spec.in
--- libmpeg3-1.7_spec/libmpeg3.spec.in 1970-01-01 01:00:00.000000000 +0100
+++ libmpeg3-1.7/libmpeg3.spec.in 2007-09-11 21:34:13.000000000 +0200
@@ -0,0 +1,160 @@
+Summary: Decoder of various derivatives of MPEG standards
+Name: libmpeg3
+Version: @VERSION@
+Release: 1%{?dist}
+License: GPLv2+
+Group: System Environment/Libraries
+URL: http://heroinewarrior.com/libmpeg3.php3
+Source: http://dl.sf.net/heroines/libmpeg3-%{version}-src.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#BuildRequires: nasm
+#BuildRequires: a52dec-devel
+
+#BuildRequires: autoconf, libtool, automake
+
+%description
+LibMPEG3 decodes the many many derivatives of MPEG standards into
+uncompressed data suitable for editing and playback.
+
+libmpeg3 currently decodes:
+ - MPEG-1 Layer II/III Audio and program streams
+ - MPEG-2 Layer III Audio, program streams and transport streams
+ - MPEG-1 and MPEG-2 Video
+ - AC3 Audio
+ - IFO files
+ - VOB files
+
+
+%package utils
+Summary: Utilities from libmpeg3
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description utils
+LibMPEG3 decodes the many many derivatives of MPEG standards into
+uncompressed data suitable for editing and playback.
+
+This package contains utility programs based on libmpeg3.
+
+
+%package devel
+Summary: Development files for libmpeg3
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+LibMPEG3 decodes the many many derivatives of MPEG standards into
+uncompressed data suitable for editing and playback.
+
+This package contains files needed to build applications that will use
+libmpeg3.
+
+
+%prep
+%setup -q
+
+
+
+
+%build
+%configure --enable-shared --enable-static
+%ifarch i686 x86_64
+# --enable-mmx \
+%endif
+
+make %{?_smp_mflags}
+
+
+
+%install
+%{__rm} -rf %{buildroot}
+
+%{__make} install \
+ LIBDIR=%{_libdir} \
+ DESTDIR=%{buildroot} \
+ INSTALL="install -c -p"
+
+%{__rm} -rf %{buildroot}%{_libdir}/*.la
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-, root, root, -)
+%doc COPYING
+%{_libdir}/*.so.*
+
+%files utils
+%defattr(-, root, root, -)
+%{_bindir}/mpeg3cat
+%{_bindir}/mpeg3dump
+%{_bindir}/mpeg3peek
+%{_bindir}/mpeg3toc
+#{_bindir}/mpeg2qt
+
+%files devel
+%defattr(-, root, root,-)
+%doc docs/*
+%{_libdir}/*.so
+%{_libdir}/*.a
+%{_includedir}/mpeg3/
+%{_libdir}/pkgconfig/*.pc
+
+
+%changelog
+* Sun Sep 9 2007 kwizart < kwizart at gmail.com > - 1.7-4
+- Add autotools support (default is still static )
+- Remove internal css
+- Build with our cflags (-fPIC is no more necessary )
+
+* Fri Sep 7 2007 kwizart < kwizart at gmail.com > - 1.7-3
+- Add dist tag
+- modified patch for Makefile
+- Add BR's
+
+* Wed Sep 20 2006 Matthias Saou <http://freshrpms.net/> 1.7-2
+- Run make twice since there is an EOF error that makes the first run abort.
+
+* Mon Jul 3 2006 Matthias Saou <http://freshrpms.net/> 1.7-1
+- Update to 1.7.
+
+* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 1.6-2
+- Add -fPIC to the CFLAGS to fix transcode build on x86_64.
+
+* Thu Jan 19 2006 Matthias Saou <http://freshrpms.net/> 1.6-1
+- Update to 1.6.
+- Split "main" into "utils" (bin) and "devel" (the static lib).
+- Add Makefile patch to ease install and get our CFLAGS used.
+- Don't enable MMX on x86_64, the x86 asm fails.
+
+* Mon Aug 15 2005 Matthias Saou <http://freshrpms.net/> 1.5.4-5
+- Force __USE_LARGEFILE64 to fix FC4 ppc build.
+
+* Fri Apr 22 2005 Matthias Saou <http://freshrpms.net/> 1.5.4-4
+- Add gcc4 patch.
+
+* Thu Nov 4 2004 Matthias Saou <http://freshrpms.net/> 1.5.4-3
+- Remove unneeded /usr/bin fix, since we don't use "make install".
+- Replace -O? with -O1 in optflags since build fails with O2 and gcc 3.4.
+- Make nasm mandatory : The configure script won't run without it anyway.
+- Use libdir/*.* in order to not catch all debuginfo files too.
+- Added -devel provides for now.
+
+* Sat Jun 26 2004 Dag Wieers <dag(a)wieers.com> - 1.5.4-2
+- Fixes for x86_64.
+
+* Wed Apr 07 2004 Dag Wieers <dag(a)wieers.com> - 1.5.4-1
+- Updated to release 1.5.4.
+
+* Mon Sep 08 2003 Dag Wieers <dag(a)wieers.com> - 1.5.2-0
+- Updated to release 1.5.2.
+
+* Wed Feb 12 2003 Dag Wieers <dag(a)wieers.com> - 1.4-0
+- Initial package. (using DAR)
--- NEW FILE libmpeg3.spec ---
Summary: Decoder of various derivatives of MPEG standards
Name: libmpeg3
Version: 1.7
Release: 6%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://heroinewarrior.com/libmpeg3.php3
Source: http://dl.sf.net/heroines/libmpeg3-%{version}-src.tar.bz2
Patch0: libmpeg3-1.7-makefile.patch
Patch1: libmpeg3-1.7-cinelerra_autotools.patch
Patch2: libmpeg3-1.7-cinelerra_hacking.patch
Patch3: libmpeg3-1.7-fix_commented.patch
Patch4: libmpeg3-1.7-spec_in.patch
Patch5: libmpeg3-1.7-pkgconfig.in.patch
Patch6: libmpeg3-1.7-boostrap.patch
# Patches 7/8 from gentoo
#http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmpeg3/files/
Patch7: libmpeg3-1.5.2-gnustack.patch
Patch8: libmpeg3-1.7-memcpy.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nasm
BuildRequires: a52dec-devel
BuildRequires: libtool
%description
LibMPEG3 decodes the many many derivatives of MPEG standards into
uncompressed data suitable for editing and playback.
libmpeg3 currently decodes:
- MPEG-1 Layer II/III Audio and program streams
- MPEG-2 Layer III Audio, program streams and transport streams
- MPEG-1 and MPEG-2 Video
- AC3 Audio
- IFO files
- VOB files
%package utils
Summary: Utilities from libmpeg3
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
%description utils
LibMPEG3 decodes the many many derivatives of MPEG standards into
uncompressed data suitable for editing and playback.
This package contains utility programs based on libmpeg3.
%package devel
Summary: Development files for libmpeg3
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
LibMPEG3 decodes the many many derivatives of MPEG standards into
uncompressed data suitable for editing and playback.
This package contains files needed to build applications that will use
libmpeg3.
%prep
%setup -q
#patch0 -p1 -b .makefile
# Removed unneeded files
#rm -rf a52dec-* depend.a52
# Patch autotools
%patch1 -p1
# Thoses patches was taken from cinepaint cvs
# Which have special libmpeg3
#patch2 -p1 -b .cine_hack
# Fix comments
%patch3 -p1 -b .commented
# Add spec.in
%patch4 -p1
# Add pkgconfig.in
%patch5 -p1
# Add ./bootstrap
%patch6 -p1
# gentoo patches
%patch7 -p1 -b .gnustack
%patch8 -p1 -b .memcpy
# Touch docs files:
touch INSTALL README NEWS AUTHORS ChangeLog
# Build autotools
chmod 755 bootstrap
./bootstrap
%build
# Enable USE_MMX for archs that support it, not by default on i386
%configure --enable-shared --disable-static \
%ifarch i686 x86_64
# --enable-mmx \
%endif
# This seems not to work with x86_64 on AMD64
# Error: suffix or operands invalid for `push'
#sed -i -e 's|$(CCASFLAGS)|#$(CCASFLAGS)|g' video/Makefile
make %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install \
LIBDIR=%{_libdir} \
DESTDIR=%{buildroot} \
INSTALL="install -c -p"
%{__rm} -rf %{buildroot}%{_libdir}/*.la
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc COPYING
%{_libdir}/*.so.*
%files utils
%defattr(-, root, root, -)
%{_bindir}/mpeg3cat
%{_bindir}/mpeg3dump
%{_bindir}/mpeg3peek
%{_bindir}/mpeg3toc
%files devel
%doc docs/*
%defattr(-, root, root,-)
%{_libdir}/*.so
%{_includedir}/mpeg3/
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.7-6
- rebuild
* Fri Sep 28 2007 kwizart < kwizart at gmail.com > - 1.7-5
- Add gentoo patches
7: Remove executable stacks, thanks to Martin von Gagern in gentoo #131155.
8: Fix missing include string.h for implicit declaration of memcpy.
* Thu Sep 13 2007 kwizart < kwizart at gmail.com > - 1.7-4
- Add autotools support (default is shared )
- Remove internal css
- Build with our cflags (-fPIC is no more necessary )
- TODO build mpeg2qt
* Fri Sep 7 2007 kwizart < kwizart at gmail.com > - 1.7-3
- Add dist tag
- modified patch for Makefile
- Add BR's
* Wed Sep 20 2006 Matthias Saou <http://freshrpms.net/> 1.7-2
- Run make twice since there is an EOF error that makes the first run abort.
* Mon Jul 3 2006 Matthias Saou <http://freshrpms.net/> 1.7-1
- Update to 1.7.
* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 1.6-2
- Add -fPIC to the CFLAGS to fix transcode build on x86_64.
* Thu Jan 19 2006 Matthias Saou <http://freshrpms.net/> 1.6-1
- Update to 1.6.
- Split "main" into "utils" (bin) and "devel" (the static lib).
- Add Makefile patch to ease install and get our CFLAGS used.
- Don't enable MMX on x86_64, the x86 asm fails.
* Mon Aug 15 2005 Matthias Saou <http://freshrpms.net/> 1.5.4-5
- Force __USE_LARGEFILE64 to fix FC4 ppc build.
* Fri Apr 22 2005 Matthias Saou <http://freshrpms.net/> 1.5.4-4
- Add gcc4 patch.
* Thu Nov 4 2004 Matthias Saou <http://freshrpms.net/> 1.5.4-3
- Remove unneeded /usr/bin fix, since we don't use "make install".
- Replace -O? with -O1 in optflags since build fails with O2 and gcc 3.4.
- Make nasm mandatory : The configure script won't run without it anyway.
- Use libdir/*.* in order to not catch all debuginfo files too.
- Added -devel provides for now.
* Sat Jun 26 2004 Dag Wieers <dag(a)wieers.com> - 1.5.4-2
- Fixes for x86_64.
* Wed Apr 07 2004 Dag Wieers <dag(a)wieers.com> - 1.5.4-1
- Updated to release 1.5.4.
* Mon Sep 08 2003 Dag Wieers <dag(a)wieers.com> - 1.5.2-0
- Updated to release 1.5.2.
* Wed Feb 12 2003 Dag Wieers <dag(a)wieers.com> - 1.4-0
- Initial package. (using DAR)
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libmpeg3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:53:00 -0000 1.1
+++ .cvsignore 3 Aug 2008 14:43:42 -0000 1.2
@@ -0,0 +1 @@
+libmpeg3-1.7-src.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libmpeg3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:53:00 -0000 1.1
+++ sources 3 Aug 2008 14:43:42 -0000 1.2
@@ -0,0 +1 @@
+4a3e8896164d59d7d0dff69b50b75352 libmpeg3-1.7-src.tar.bz2
16 years, 3 months
rpms/libdlna/devel libdlna-pkgconfig.patch, NONE, 1.1 libdlna.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/libdlna/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22297
Modified Files:
.cvsignore sources
Added Files:
libdlna-pkgconfig.patch libdlna.spec
Log Message:
initial import from livna
libdlna-pkgconfig.patch:
--- NEW FILE libdlna-pkgconfig.patch ---
--- libdlna-0.2.3/configure 2007-11-26 21:47:43.000000000 +0100
+++ libdlna-0.2.3/configure.new 2007-12-14 22:40:43.000000000 +0100
@@ -270,7 +270,7 @@
cat <<EOF >$name.pc
prefix=$PREFIX
exec_prefix=\${prefix}
-libdir=\${exec_prefix}/lib
+libdir=${libdir}
includedir=\${prefix}/include
Name: $name
@@ -597,7 +597,7 @@
add_cflags "-O5"
add_ldflags "-O5"
else
- add_cflags "-O3"
+ add_cflags ""
fi
fi
@@ -697,7 +697,7 @@
#################################################
# make pkg-config files
#################################################
-pkgconfig_generate libdlna "DLNA (Digital Living Network Alliance) library" "$VERSION" "-ldlna $extralibs" "libavformat libavcodec"
+pkgconfig_generate libdlna "DLNA (Digital Living Network Alliance) library" "$VERSION" "-ldlna" "libavformat libavcodec"
clean
exit 0
--- NEW FILE libdlna.spec ---
Version: 0.2.3
Summary: Open-source implementation of DLNA (Digital Living Network Alliance) standards
Name: libdlna
Release: 6%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://libdlna.geexbox.org/
Source: http://libdlna.geexbox.org/releases/%{name}-%{version}.tar.bz2
Patch0: libdlna-pkgconfig.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ffmpeg-devel
%description
Libdlna aims at being the reference open-source implementation of
DLNA (Digital Living Network Alliance) standards.
%package devel
Group: Development/Libraries
Summary: Include files needed for development with libdlna
Requires: libdlna = %{version}-%{release}
Requires: pkgconfig
Requires: ffmpeg-devel
%description devel
The libdlna-devel package contains the files necessary for development with
the libdlna libraries.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} --libdir=%{_libdir} --includedir=%{_includedir} --disable-static
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog AUTHORS README
%{_libdir}/libdlna.so.*
%files devel
%defattr(0644,root,root,0755)
%{_includedir}/dlna.h
%{_libdir}/libdlna.so
%{_libdir}/pkgconfig/libdlna.pc
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.2.3-6
- rebuild
* Sun Feb 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.2.3-5
- rebuild for new ffmpeg
* Thu Jan 03 2008 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-4
- add requires ffmpeg-devel for devel package
* Fri Dec 14 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-3
- Modify libdlna-pkgconfig.patch
* Fri Dec 14 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-2
- Modify configure to fix pkgconfig for lib64
- Modify configure to use -O2 instead of -O3
* Sun Nov 18 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libdlna/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:52:42 -0000 1.1
+++ .cvsignore 3 Aug 2008 14:39:18 -0000 1.2
@@ -0,0 +1 @@
+libdlna-0.2.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libdlna/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:52:42 -0000 1.1
+++ sources 3 Aug 2008 14:39:18 -0000 1.2
@@ -0,0 +1 @@
+2c974f95b711e5fd07f78fc4ebfcca66 libdlna-0.2.3.tar.bz2
16 years, 3 months