rpms/xine/F-8 xine-ui-0.99.5-desktop.patch, NONE, 1.1 xine-ui-0.99.5-shared-lirc.patch, NONE, 1.1 xine.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/xine/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28848
Modified Files:
.cvsignore sources
Added Files:
xine-ui-0.99.5-desktop.patch xine-ui-0.99.5-shared-lirc.patch
xine.spec
Log Message:
initial import from livna
xine-ui-0.99.5-desktop.patch:
--- NEW FILE xine-ui-0.99.5-desktop.patch ---
--- xine-ui-0.99.5/misc/desktops/xine.desktop~ 2005-08-25 19:16:45.000000000 +0300
+++ xine-ui-0.99.5/misc/desktops/xine.desktop 2007-07-13 17:40:06.000000000 +0300
@@ -1,10 +1,10 @@
[Desktop Entry]
-Encoding=UTF-8
-Name=xine
-Comment=Video Player
+Name=Xine
+GenericName=Media Player
Exec=xine
MimeType=video/mpeg;video/quicktime;video/x-msvideo;video/x-anim;audio/x-mp3;audio/x-mp2;
Icon=xine
Terminal=false
Type=Application
-Categories=Application;AudioVideo;Player;
+Categories=AudioVideo;Player;
+StartupWMClass=xine
xine-ui-0.99.5-shared-lirc.patch:
--- NEW FILE xine-ui-0.99.5-shared-lirc.patch ---
--- xine-ui-0.99.5/m4/_xine.m4~ 2006-07-01 05:26:26.000000000 +0300
+++ xine-ui-0.99.5/m4/_xine.m4 2007-07-13 17:29:54.000000000 +0300
@@ -35,15 +35,7 @@ AC_DEFUN([AC_CHECK_LIRC],
[AC_CHECK_HEADER(lirc/lirc_client.h, true, have_lirc=no)], have_lirc=no)
if test "$have_lirc" = "yes"; then
- if test x"$LIRC_PREFIX" != "x"; then
- lirc_libprefix="$LIRC_PREFIX/lib"
- LIRC_INCLUDE="-I$LIRC_PREFIX/include"
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
- AC_CHECK_FILE(["$llirc/liblirc_client.a"],
- [LIRC_LIBS="$llirc/liblirc_client.a"]
- AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblir_client) installed]),,)
- done
+ AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed])
else
AC_MSG_RESULT([*** LIRC client support not available, LIRC support will be disabled ***]);
fi
--- xine-ui-0.99.5/configure~ 2007-05-01 01:51:18.000000000 +0300
+++ xine-ui-0.99.5/configure 2007-07-13 17:28:19.000000000 +0300
@@ -14414,39 +14414,11 @@ fi
if test "$have_lirc" = "yes"; then
- if test x"$LIRC_PREFIX" != "x"; then
- lirc_libprefix="$LIRC_PREFIX/lib"
- LIRC_INCLUDE="-I$LIRC_PREFIX/include"
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
- as_ac_File=`echo "ac_cv_file_"$llirc/liblirc_client.a"" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for \"$llirc/liblirc_client.a\"" >&5
-echo $ECHO_N "checking for \"$llirc/liblirc_client.a\"... $ECHO_C" >&6
-if eval "test \"\${$as_ac_File+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- test "$cross_compiling" = yes &&
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
- { (exit 1); exit 1; }; }
-if test -r ""$llirc/liblirc_client.a""; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
-if test `eval echo '${'$as_ac_File'}'` = yes; then
- LIRC_LIBS="$llirc/liblirc_client.a"
-
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIRC
_ACEOF
-fi
-
- done
+ LIRC_LIBS=-llirc_client
else
echo "$as_me:$LINENO: result: *** LIRC client support not available, LIRC support will be disabled ***" >&5
echo "${ECHO_T}*** LIRC client support not available, LIRC support will be disabled ***" >&6;
--- NEW FILE xine.spec ---
# TODO, sometime: nvtvsimple
Summary: Free multimedia player
Name: xine
Version: 0.99.5
Release: 2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://xinehq.de/
Source0: http://downloads.sourceforge.net/xine/xine-ui-%{version}.tar.gz
Patch0: xine-ui-0.99.5-shared-lirc.patch
Patch1: xine-ui-0.99.5-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Provides: xine-ui = %{version}-%{release}
BuildRequires: xine-lib-devel >= 1.1.0
BuildRequires: aalib-devel >= 1.2.0
BuildRequires: libpng-devel gettext ncurses-devel
BuildRequires: libtermcap-devel desktop-file-utils readline-devel
BuildRequires: curl-devel >= 7.10.2 lirc-devel libcaca-devel
BuildRequires: libXxf86vm-devel libXv-devel libXinerama-devel libXtst-devel
BuildRequires: libXt-devel libXft-devel
# libXext-devel and fontconfig-devel should be pulled in by other libX*-devel
BuildRequires: libXext-devel fontconfig-devel
Conflicts: xine-skins <= 1.0
Requires(post): coreutils
Requires(postun): coreutils
# --------------------------------------------------------------------
%description
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs.
It also decodes multimedia files like AVI, MOV, WMV, and MP3 from
local disk drives, and displays multimedia streamed over the Internet.
# --------------------------------------------------------------------
%prep
%setup -q -n %{name}-ui-%{version}
touch -r m4/_xine.m4 m4/_xine.m4.stamp
%patch0 -p1
touch -r m4/_xine.m4.stamp m4/_xine.m4
%patch1 -p1
# Fix unversioned dlopen("libX11.so") in aaxine
libx11so=$(ls -1 %{_libdir}/libX11.so.? | tail -n 1)
if [ -n "$libx11so" -a -f "$libx11so" ] ; then
sed -i -e "s/\"libX11\\.so\"/\"$(basename $libx11so)\"/" src/aaui/main.c
fi
touch -r configure.ac configure.ac.stamp
sed -i -e 's/LINUX_KD_HB/LINUX_KD_H/' -e 's|linux/kd\.hb|linux/kd.h|' \
config.h.in configure.ac configure
touch -r configure.ac.stamp configure.ac
for f in doc/man/{de,es,fr}/*.1* doc/README?{cs,de,es,fi,fr,it} ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
for f in doc/README_uk ; do
iconv -f koi8-r -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
for f in doc/man/pl/*.1* doc/README?{cs,pl}* ; do
iconv -f iso-8859-2 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
# --------------------------------------------------------------------
%build
%configure --disable-dependency-tracking --enable-vdr-keys --with-aalib
make %{?_smp_mflags}
# --------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang 'xi\(ne-ui\|tk\)'
rm -R $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/pixmaps
desktop-file-install --vendor livna --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/%{name}/desktop/xine.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
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet
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
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet
fi
:
%files -f 'xi\(ne-ui\|tk\)'.lang
%defattr(-,root,root,-)
%doc doc/README*
%{_bindir}/aaxine
%{_bindir}/cacaxine
%{_bindir}/fbxine
%{_bindir}/xine
%{_bindir}/xine-bugreport
%{_bindir}/xine-check
%{_bindir}/xine-remote
%{_datadir}/%{name}
%{_datadir}/applications/*xine.desktop
%{_datadir}/icons/hicolor/*x*/apps/xine.png
%{_mandir}/man1/*.1*
%lang(de) %{_mandir}/de/man1/*.1*
%lang(es) %{_mandir}/es/man1/*.1*
%lang(fr) %{_mandir}/fr/man1/*.1*
%lang(pl) %{_mandir}/pl/man1/*.1*
# --------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.99.5-2
- rebuild
* Sat Jul 14 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.99.5-1
- 0.99.5, lots of patches made obsolete.
- Update icon cache and desktop database.
- Patch {aa,caca}xine to dlopen libX11.so.* instead of libX11.so at runtime.
- Patch to look for linux/kd.h instead of linux/kd.hb during build.
- Don't run autotools during build.
* Thu Mar 01 2007 Thorsten Leemhuis <fedora at leemhuis.info> - 0.99.4-11
- rebuild for new curl
* Tue Nov 7 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-10
- Re-enable VDR keys and patch, patched xine-lib not required (#1241).
* Thu Nov 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-9
- Drop X-Livna and Application desktop entry categories.
* Thu Nov 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-8
- Make VDR support optional, disabled by default, fixes #1238.
* Thu Apr 20 2006 Dams <anvil[AT]livna.org> - 0.99.4-7
- Added patch8 to fix up buffer overflow describe in #926
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Fri Jan 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.6
- %%langify non-English manpages, really convert all (and more docs) to UTF-8.
- Improve summary and description.
* Tue Jan 3 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.5
- Adapt to modular X.
- Drop pre-FC5 workarounds and rpmbuild conditionals.
* Thu Sep 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.4
- Clean up obsolete pre-FC3 stuff (LIRC and CACA now unconditionally enabled).
- Drop zero Epochs.
* Thu Sep 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.4-0.lvn.3
- Apply sprintf, uifixups and xftfontsize patches from Alex Stewart/freshrpms.
- Fix fbxine crash when the tty mode can't be set (upstreamed).
- Fix fbxine usage message and options (upstreamed).
- Make vdr support conditional (default enabled), require vdr-patched xine-lib
if enabled, and build with it for FC4+.
- Build with gcc4 again on FC4+.
* Sun Aug 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.4-0.lvn.2
- Sync VDR patch with vdr-xine-0.7.5 (just for tracking purposes, no changes).
* Tue Aug 2 2005 Dams <anvil[AT]livna.org> - 0:0.99.4-0.lvn.1
- Updated to 0.99.4
- Fixed files section
- Dropped patch5
- Dropped patch3
* Sun Jul 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.8
- Build with compat-gcc-32 for FC4 ("--with gcc32") as a temporary workaround
for spurious directory creation attempts (#419) and possibly other issues.
- Use shared LIRC client libs, possibly enable LIRC support also on x86_64.
- Apply gcc4 menu crash fix, kudos for the patch to freshrpms.net and
Alex Stewart, this'll be handy when we try with gcc4 again (#467).
- Clean up obsolete pre-FC2 stuff.
* Sat Jun 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.7
- Apply VDR support update patch from vdr-xine-0.7.4.
* Sat May 28 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 0:0.99.3-0.lvn.6
- Fix typo
* Mon May 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.5
- Add support for CACA, rebuild with "--without caca" to disable (#380).
* Sat Apr 30 2005 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.4
- Fixed gcc4 build
* Wed Apr 13 2005 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.3
- Conditional lirc buildreq (default enabled)
* Sat Jan 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.2
- Enable support for VDR interaction keys.
- Enable curl unconditionally.
- Build with dependency tracking disabled.
* Wed Dec 29 2004 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.1
- Updated to 0.99.3
* Tue Jul 6 2004 Dams <anvil[AT]livna.org> 0:0.99.2-0.lvn.2
- Updated no-march/mcpu patch
- Updated mkinstalldirs patch
* Mon Jul 5 2004 Dams <anvil[AT]livna.org> 0:0.99.2-0.lvn.1
- Updated to 0.99.2
* Sun Jun 13 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.3
- Updated desktop entry for HID compliance
* Fri May 21 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.2
- Updated URL in Source0
* Sat Apr 17 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.1
- Updated to 0.99.1
* Thu Feb 26 2004 Dams <anvil[AT]livna.org> 0:0.9.23-0.lvn.2
- Updated xine-lib version requirement in build dependancy
- Hopefully fixed build for RH9
* Thu Dec 25 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.lvn.1
- s/fedora/livna/
* Thu Dec 25 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.fdr.1
- Updated patch for no march/mcpu from configure
* Wed Dec 24 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.fdr.1
- Updated to 0.9.23
* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.4
- Added patch to fix po/Makefile for servern2 build
* Sun Aug 31 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.3
- Translated manpages iconv'ed into utf-8 encoding
* Sat Aug 23 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.2
- Conflict with old xine-skins packages
- Removed lirc conditionnal build requirement
- Added conditionnal Build dependencies for curl
- Added missing libtool BuildRequires
* Wed Aug 20 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.2
- No more -skins package
- No more url in Source0
* Fri Aug 8 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.1
- Updated to 0.9.22
* Tue Jul 15 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.3
- exporting SED=__sed seems to fix build to rh80
* Sun Jul 6 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.2
- Trying to avoid unowned directories
- Patch for configure not to set march/mcpu.
- Removed BuildArch.
* Sat May 17 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.1
- Updated to 0.9.21
- buildroot -> RPM_BUILD_ROOT
- Updated URL in Source0
- Updated BuildRequires
* Sat Apr 12 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.5
- Arch stuff
* Wed Apr 9 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.4
- Fixed typo
- Rebuild, linked against xine-lib 1 beta10
* Mon Apr 7 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.3
- Only one find_lang
* Mon Apr 7 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.2
- Added BuildRequires.
- Added --with directives.
- Added use of desktop-file-install
- Added more Requires tag.
* Thu Apr 3 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xine/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:57:16 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:01:28 -0000 1.2
@@ -0,0 +1 @@
+xine-ui-0.99.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xine/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:57:16 -0000 1.1
+++ sources 5 Aug 2008 17:01:28 -0000 1.2
@@ -0,0 +1 @@
+e643cd1fcad4d98a5ae4eb877ce5087b xine-ui-0.99.5.tar.gz
16 years, 3 months
rpms/xine/F-9 xine-ui-0.99.5-desktop.patch, NONE, 1.1 xine-ui-0.99.5-shared-lirc.patch, NONE, 1.1 xine.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/xine/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28721
Modified Files:
.cvsignore sources
Added Files:
xine-ui-0.99.5-desktop.patch xine-ui-0.99.5-shared-lirc.patch
xine.spec
Log Message:
initial import from livna
xine-ui-0.99.5-desktop.patch:
--- NEW FILE xine-ui-0.99.5-desktop.patch ---
--- xine-ui-0.99.5/misc/desktops/xine.desktop~ 2005-08-25 19:16:45.000000000 +0300
+++ xine-ui-0.99.5/misc/desktops/xine.desktop 2007-07-13 17:40:06.000000000 +0300
@@ -1,10 +1,10 @@
[Desktop Entry]
-Encoding=UTF-8
-Name=xine
-Comment=Video Player
+Name=Xine
+GenericName=Media Player
Exec=xine
MimeType=video/mpeg;video/quicktime;video/x-msvideo;video/x-anim;audio/x-mp3;audio/x-mp2;
Icon=xine
Terminal=false
Type=Application
-Categories=Application;AudioVideo;Player;
+Categories=AudioVideo;Player;
+StartupWMClass=xine
xine-ui-0.99.5-shared-lirc.patch:
--- NEW FILE xine-ui-0.99.5-shared-lirc.patch ---
--- xine-ui-0.99.5/m4/_xine.m4~ 2006-07-01 05:26:26.000000000 +0300
+++ xine-ui-0.99.5/m4/_xine.m4 2007-07-13 17:29:54.000000000 +0300
@@ -35,15 +35,7 @@ AC_DEFUN([AC_CHECK_LIRC],
[AC_CHECK_HEADER(lirc/lirc_client.h, true, have_lirc=no)], have_lirc=no)
if test "$have_lirc" = "yes"; then
- if test x"$LIRC_PREFIX" != "x"; then
- lirc_libprefix="$LIRC_PREFIX/lib"
- LIRC_INCLUDE="-I$LIRC_PREFIX/include"
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
- AC_CHECK_FILE(["$llirc/liblirc_client.a"],
- [LIRC_LIBS="$llirc/liblirc_client.a"]
- AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblir_client) installed]),,)
- done
+ AC_DEFINE([HAVE_LIRC],,[Define this if you have LIRC (liblirc_client) installed])
else
AC_MSG_RESULT([*** LIRC client support not available, LIRC support will be disabled ***]);
fi
--- xine-ui-0.99.5/configure~ 2007-05-01 01:51:18.000000000 +0300
+++ xine-ui-0.99.5/configure 2007-07-13 17:28:19.000000000 +0300
@@ -14414,39 +14414,11 @@ fi
if test "$have_lirc" = "yes"; then
- if test x"$LIRC_PREFIX" != "x"; then
- lirc_libprefix="$LIRC_PREFIX/lib"
- LIRC_INCLUDE="-I$LIRC_PREFIX/include"
- fi
- for llirc in $lirc_libprefix /lib /usr/lib /usr/local/lib; do
- as_ac_File=`echo "ac_cv_file_"$llirc/liblirc_client.a"" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for \"$llirc/liblirc_client.a\"" >&5
-echo $ECHO_N "checking for \"$llirc/liblirc_client.a\"... $ECHO_C" >&6
-if eval "test \"\${$as_ac_File+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- test "$cross_compiling" = yes &&
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
- { (exit 1); exit 1; }; }
-if test -r ""$llirc/liblirc_client.a""; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
-if test `eval echo '${'$as_ac_File'}'` = yes; then
- LIRC_LIBS="$llirc/liblirc_client.a"
-
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIRC
_ACEOF
-fi
-
- done
+ LIRC_LIBS=-llirc_client
else
echo "$as_me:$LINENO: result: *** LIRC client support not available, LIRC support will be disabled ***" >&5
echo "${ECHO_T}*** LIRC client support not available, LIRC support will be disabled ***" >&6;
--- NEW FILE xine.spec ---
# TODO, sometime: nvtvsimple
Summary: Free multimedia player
Name: xine
Version: 0.99.5
Release: 2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://xinehq.de/
Source0: http://downloads.sourceforge.net/xine/xine-ui-%{version}.tar.gz
Patch0: xine-ui-0.99.5-shared-lirc.patch
Patch1: xine-ui-0.99.5-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Provides: xine-ui = %{version}-%{release}
BuildRequires: xine-lib-devel >= 1.1.0
BuildRequires: aalib-devel >= 1.2.0
BuildRequires: libpng-devel gettext ncurses-devel
BuildRequires: libtermcap-devel desktop-file-utils readline-devel
BuildRequires: curl-devel >= 7.10.2 lirc-devel libcaca-devel
BuildRequires: libXxf86vm-devel libXv-devel libXinerama-devel libXtst-devel
BuildRequires: libXt-devel libXft-devel
# libXext-devel and fontconfig-devel should be pulled in by other libX*-devel
BuildRequires: libXext-devel fontconfig-devel
Conflicts: xine-skins <= 1.0
Requires(post): coreutils
Requires(postun): coreutils
# --------------------------------------------------------------------
%description
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs.
It also decodes multimedia files like AVI, MOV, WMV, and MP3 from
local disk drives, and displays multimedia streamed over the Internet.
# --------------------------------------------------------------------
%prep
%setup -q -n %{name}-ui-%{version}
touch -r m4/_xine.m4 m4/_xine.m4.stamp
%patch0 -p1
touch -r m4/_xine.m4.stamp m4/_xine.m4
%patch1 -p1
# Fix unversioned dlopen("libX11.so") in aaxine
libx11so=$(ls -1 %{_libdir}/libX11.so.? | tail -n 1)
if [ -n "$libx11so" -a -f "$libx11so" ] ; then
sed -i -e "s/\"libX11\\.so\"/\"$(basename $libx11so)\"/" src/aaui/main.c
fi
touch -r configure.ac configure.ac.stamp
sed -i -e 's/LINUX_KD_HB/LINUX_KD_H/' -e 's|linux/kd\.hb|linux/kd.h|' \
config.h.in configure.ac configure
touch -r configure.ac.stamp configure.ac
for f in doc/man/{de,es,fr}/*.1* doc/README?{cs,de,es,fi,fr,it} ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
for f in doc/README_uk ; do
iconv -f koi8-r -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
for f in doc/man/pl/*.1* doc/README?{cs,pl}* ; do
iconv -f iso-8859-2 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
# --------------------------------------------------------------------
%build
%configure --disable-dependency-tracking --enable-vdr-keys --with-aalib
make %{?_smp_mflags}
# --------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang 'xi\(ne-ui\|tk\)'
rm -R $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/pixmaps
desktop-file-install --vendor livna --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/%{name}/desktop/xine.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
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet
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
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet
fi
:
%files -f 'xi\(ne-ui\|tk\)'.lang
%defattr(-,root,root,-)
%doc doc/README*
%{_bindir}/aaxine
%{_bindir}/cacaxine
%{_bindir}/fbxine
%{_bindir}/xine
%{_bindir}/xine-bugreport
%{_bindir}/xine-check
%{_bindir}/xine-remote
%{_datadir}/%{name}
%{_datadir}/applications/*xine.desktop
%{_datadir}/icons/hicolor/*x*/apps/xine.png
%{_mandir}/man1/*.1*
%lang(de) %{_mandir}/de/man1/*.1*
%lang(es) %{_mandir}/es/man1/*.1*
%lang(fr) %{_mandir}/fr/man1/*.1*
%lang(pl) %{_mandir}/pl/man1/*.1*
# --------------------------------------------------------------------
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.99.5-2
- rebuild
* Sat Jul 14 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.99.5-1
- 0.99.5, lots of patches made obsolete.
- Update icon cache and desktop database.
- Patch {aa,caca}xine to dlopen libX11.so.* instead of libX11.so at runtime.
- Patch to look for linux/kd.h instead of linux/kd.hb during build.
- Don't run autotools during build.
* Thu Mar 01 2007 Thorsten Leemhuis <fedora at leemhuis.info> - 0.99.4-11
- rebuild for new curl
* Tue Nov 7 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-10
- Re-enable VDR keys and patch, patched xine-lib not required (#1241).
* Thu Nov 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-9
- Drop X-Livna and Application desktop entry categories.
* Thu Nov 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-8
- Make VDR support optional, disabled by default, fixes #1238.
* Thu Apr 20 2006 Dams <anvil[AT]livna.org> - 0.99.4-7
- Added patch8 to fix up buffer overflow describe in #926
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Fri Jan 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.6
- %%langify non-English manpages, really convert all (and more docs) to UTF-8.
- Improve summary and description.
* Tue Jan 3 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.5
- Adapt to modular X.
- Drop pre-FC5 workarounds and rpmbuild conditionals.
* Thu Sep 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.99.4-0.lvn.4
- Clean up obsolete pre-FC3 stuff (LIRC and CACA now unconditionally enabled).
- Drop zero Epochs.
* Thu Sep 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.4-0.lvn.3
- Apply sprintf, uifixups and xftfontsize patches from Alex Stewart/freshrpms.
- Fix fbxine crash when the tty mode can't be set (upstreamed).
- Fix fbxine usage message and options (upstreamed).
- Make vdr support conditional (default enabled), require vdr-patched xine-lib
if enabled, and build with it for FC4+.
- Build with gcc4 again on FC4+.
* Sun Aug 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.4-0.lvn.2
- Sync VDR patch with vdr-xine-0.7.5 (just for tracking purposes, no changes).
* Tue Aug 2 2005 Dams <anvil[AT]livna.org> - 0:0.99.4-0.lvn.1
- Updated to 0.99.4
- Fixed files section
- Dropped patch5
- Dropped patch3
* Sun Jul 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.8
- Build with compat-gcc-32 for FC4 ("--with gcc32") as a temporary workaround
for spurious directory creation attempts (#419) and possibly other issues.
- Use shared LIRC client libs, possibly enable LIRC support also on x86_64.
- Apply gcc4 menu crash fix, kudos for the patch to freshrpms.net and
Alex Stewart, this'll be handy when we try with gcc4 again (#467).
- Clean up obsolete pre-FC2 stuff.
* Sat Jun 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.7
- Apply VDR support update patch from vdr-xine-0.7.4.
* Sat May 28 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 0:0.99.3-0.lvn.6
- Fix typo
* Mon May 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.5
- Add support for CACA, rebuild with "--without caca" to disable (#380).
* Sat Apr 30 2005 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.4
- Fixed gcc4 build
* Wed Apr 13 2005 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.3
- Conditional lirc buildreq (default enabled)
* Sat Jan 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.99.3-0.lvn.2
- Enable support for VDR interaction keys.
- Enable curl unconditionally.
- Build with dependency tracking disabled.
* Wed Dec 29 2004 Dams <anvil[AT]livna.org> - 0:0.99.3-0.lvn.1
- Updated to 0.99.3
* Tue Jul 6 2004 Dams <anvil[AT]livna.org> 0:0.99.2-0.lvn.2
- Updated no-march/mcpu patch
- Updated mkinstalldirs patch
* Mon Jul 5 2004 Dams <anvil[AT]livna.org> 0:0.99.2-0.lvn.1
- Updated to 0.99.2
* Sun Jun 13 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.3
- Updated desktop entry for HID compliance
* Fri May 21 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.2
- Updated URL in Source0
* Sat Apr 17 2004 Dams <anvil[AT]livna.org> 0:0.99.1-0.lvn.1
- Updated to 0.99.1
* Thu Feb 26 2004 Dams <anvil[AT]livna.org> 0:0.9.23-0.lvn.2
- Updated xine-lib version requirement in build dependancy
- Hopefully fixed build for RH9
* Thu Dec 25 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.lvn.1
- s/fedora/livna/
* Thu Dec 25 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.fdr.1
- Updated patch for no march/mcpu from configure
* Wed Dec 24 2003 Dams <anvil[AT]livna.org> 0:0.9.23-0.fdr.1
- Updated to 0.9.23
* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.4
- Added patch to fix po/Makefile for servern2 build
* Sun Aug 31 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.3
- Translated manpages iconv'ed into utf-8 encoding
* Sat Aug 23 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.2
- Conflict with old xine-skins packages
- Removed lirc conditionnal build requirement
- Added conditionnal Build dependencies for curl
- Added missing libtool BuildRequires
* Wed Aug 20 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.2
- No more -skins package
- No more url in Source0
* Fri Aug 8 2003 Dams <anvil[AT]livna.org> 0:0.9.22-0.fdr.1
- Updated to 0.9.22
* Tue Jul 15 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.3
- exporting SED=__sed seems to fix build to rh80
* Sun Jul 6 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.2
- Trying to avoid unowned directories
- Patch for configure not to set march/mcpu.
- Removed BuildArch.
* Sat May 17 2003 Dams <anvil[AT]livna.org> 0:0.9.21-0.fdr.1
- Updated to 0.9.21
- buildroot -> RPM_BUILD_ROOT
- Updated URL in Source0
- Updated BuildRequires
* Sat Apr 12 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.5
- Arch stuff
* Wed Apr 9 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.4
- Fixed typo
- Rebuild, linked against xine-lib 1 beta10
* Mon Apr 7 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.3
- Only one find_lang
* Mon Apr 7 2003 Dams <anvil[AT]livna.org> 0:0.9.20-0.fdr.2
- Added BuildRequires.
- Added --with directives.
- Added use of desktop-file-install
- Added more Requires tag.
* Thu Apr 3 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xine/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:57:16 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:01:14 -0000 1.2
@@ -0,0 +1 @@
+xine-ui-0.99.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xine/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:57:16 -0000 1.1
+++ sources 5 Aug 2008 17:01:14 -0000 1.2
@@ -0,0 +1 @@
+e643cd1fcad4d98a5ae4eb877ce5087b xine-ui-0.99.5.tar.gz
16 years, 3 months
rpms/mp3gain/F-9 mp3gain-cflags.patch, NONE, 1.1 mp3gain-exit.patch, NONE, 1.1 mp3gain-tempfile-default.patch, NONE, 1.1 mp3gain.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/mp3gain/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28591
Modified Files:
.cvsignore sources
Added Files:
mp3gain-cflags.patch mp3gain-exit.patch
mp3gain-tempfile-default.patch mp3gain.spec
Log Message:
initial import from livna
mp3gain-cflags.patch:
--- NEW FILE mp3gain-cflags.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/Makefile mp3gain-1_4_6-src.zip_FILES/Makefile
--- mp3gain-1_4_6-src.zip_FILES.OLD/Makefile 2004-04-03 02:24:36.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/Makefile 2006-11-26 13:10:09.000000000 -0500
@@ -6,7 +6,7 @@
CC= gcc
-CFLAGS= -Wall -O3 -DHAVE_MEMCPY
+CFLAGS= $(RPM_OPT_FLAGS) -DHAVE_MEMCPY
ifneq ($(OSTYPE),beos)
INSTALL_PATH= /usr/local/bin
mp3gain-exit.patch:
--- NEW FILE mp3gain-exit.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/gain_analysis.c mp3gain-1_4_6-src.zip_FILES/gain_analysis.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/gain_analysis.c 2004-04-03 02:24:36.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/gain_analysis.c 2006-11-20 17:10:06.000000000 -0500
@@ -111,7 +111,7 @@
#define MAX_dB 120. // Table entries for 0...MAX_dB (normal max. values are 70...80 dB)
#define MAX_ORDER (BUTTER_ORDER > YULE_ORDER ? BUTTER_ORDER : YULE_ORDER)
-#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME) // max. Samples per Time slice
+#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME +1) // max. Samples per Time slice
#define PINK_REF 64.82 //298640883795 // calibration value
Float_t linprebuf [MAX_ORDER * 2];
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/common.c mp3gain-1_4_6-src.zip_FILES/mpglibDBL/common.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/common.c 2003-08-11 17:02:56.000000000 -0400
+++ mp3gain-1_4_6-src.zip_FILES/mpglibDBL/common.c 2006-11-20 17:12:10.000000000 -0500
@@ -160,7 +160,7 @@
fprintf(stderr,"Stream error\n");
fclose(stdout);
fclose(stderr);
- exit(0);
+ exit(EXIT_FAILURE);
}
if(fr->mpeg25) {
fr->sampling_frequency = 6 + ((newhead>>10)&0x3);
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/interface.c mp3gain-1_4_6-src.zip_FILES/mpglibDBL/interface.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/interface.c 2004-03-22 14:29:16.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/mpglibDBL/interface.c 2006-11-20 17:11:35.000000000 -0500
@@ -137,7 +137,7 @@
fprintf(stderr,"Fatal error! tried to read past mp buffer\n");
fclose(stdout);
fclose(stderr);
- exit(0);
+ exit(EXIT_FAILURE);
}
pos = mp->tail->pos;
}
mp3gain-tempfile-default.patch:
--- NEW FILE mp3gain-tempfile-default.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mp3gain.c mp3gain-1_4_6-src.zip_FILES/mp3gain.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mp3gain.c 2004-12-23 15:47:04.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/mp3gain.c 2006-11-20 17:14:03.000000000 -0500
@@ -42,7 +42,11 @@
* out there will have come up with superior versions already...
*
* So have fun dissecting.
- */
+ */
+
+/* stf: make -t the default
+ * -T restores old behaviour
+ */
#include <stdio.h>
#include <stdlib.h>
@@ -117,8 +121,8 @@
unsigned char buffer[BUFFERSIZE];
int writeself = 0;
-int QuietMode = 0;
-int UsingTemp = 0;
+int QuietMode = 0;
+int UsingTemp = 1;
int NowWriting = 0;
double lastfreq = -1.0;
@@ -701,7 +705,8 @@
fclose(inf);
inf = NULL;
passError(MP3GAIN_UNSPECIFED_ERROR, 3,
- "\nCan't open ", outfilename, " for temp writing\n");
+ "\nCan't open ", outfilename, " for temp writing\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MAKE_TMP;
}
@@ -715,7 +720,8 @@
if (UsingTemp && (outf != NULL))
fclose(outf);
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "\nCan't open ", filename, " for modifying\n");
+ "\nCan't open ", filename, " for modifying\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MODIFY_FILE;
}
else {
@@ -926,7 +932,8 @@
passError(MP3GAIN_CANCELLED,3,"Cancelled processing.\n", filename, " is probably corrupted now.");
}
if (saveTime)
- fileTime(filename, setStoredTime);
+ fileTime(filename, setStoredTime);
+ NowWriting = 0;
return;
}
#endif
@@ -995,8 +1002,9 @@
if (outlength != inlength) {
deleteFile(outfilename);
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "Not enough temp space on disk to modify ", filename,
- "\nEither free some space, or do not use \"temp file\" option\n");
+ "Not enough temp space on disk to modify ", filename,
+ "\nEither free some space, or switch off \"temp file\" option with -T\n");
+ NowWriting = 0;
return M3G_ERR_NOT_ENOUGH_TMP_SPACE;
}
else {
@@ -1004,7 +1012,8 @@
if (deleteFile(filename)) {
deleteFile(outfilename); //try to delete tmp file
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "Can't open ", filename, " for modifying\n");
+ "Can't open ", filename, " for modifying\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MODIFY_FILE;
}
if (moveFile(outfilename, filename)) {
@@ -1012,7 +1021,8 @@
"Problem re-naming ", outfilename, " to ", filename,
"\nThe mp3 was correctly modified, but you will need to re-name ",
outfilename, " to ", filename,
- " yourself.\n");
+ " yourself.\n");
+ NowWriting = 0;
return M3G_ERR_RENAME_TMP;
};
if (saveTime)
@@ -1214,9 +1224,10 @@
fprintf(stderr,"\t%cm <i> - modify suggested MP3 gain by integer i\n",SWITCH_CHAR);
fprintf(stderr,"\t%cd <n> - modify suggested dB gain by floating-point n\n",SWITCH_CHAR);
fprintf(stderr,"\t%cc - ignore clipping warning when applying gain\n",SWITCH_CHAR);
- fprintf(stderr,"\t%co - output is a database-friendly tab-delimited list\n",SWITCH_CHAR);
- fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original\n",SWITCH_CHAR);
- fprintf(stderr,"\t instead of modifying bytes in original file\n");
+ fprintf(stderr,"\t%co - output is a database-friendly tab-delimited list\n",SWITCH_CHAR);
+ fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original \n",SWITCH_CHAR);
++ fprintf(stderr,"\t instead of modifying bytes in original file (default)\n");
++ fprintf(stderr,"\t%cT - mp3gain directly modifies mp3 file (opposite of %ct)\n",SWITCH_CHAR,SWITCH_CHAR);
fprintf(stderr,"\t%cq - Quiet mode: no status messages\n",SWITCH_CHAR);
fprintf(stderr,"\t%cp - Preserve original file timestamp\n",SWITCH_CHAR);
fprintf(stderr,"\t%cx - Only find max. amplitude of mp3\n",SWITCH_CHAR);
@@ -1505,9 +1516,12 @@
break;
- case 't':
- case 'T':
+ case 't':
UsingTemp = !0;
+ break;
+
+ case 'T':
+ UsingTemp = 0;
break;
case 'u':
--- NEW FILE mp3gain.spec ---
%define tarball_version 1_4_6
Name: mp3gain
Version: 1.4.6
Release: 5%{?dist}
Summary: Lossless MP3 volume adjustment tool
Group: Applications/Multimedia
License: LGPL
URL: http://mp3gain.sourceforge.net
Source0: http://osdn.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{tarball_vers...
Source1: %{name}.1.gz
Source2: README.method
Patch0: %{name}-tempfile-default.patch
Patch1: %{name}-exit.patch
Patch2: %{name}-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
MP3Gain analyzes and adjusts mp3 files so that they have the same
volume. It does not just do peak normalization, as many normalizers
do. Instead, it does some statistical analysis to determine how loud
the file actually sounds to the human ear. Also, the changes MP3Gain
makes are completely lossless. There is no quality lost in the change
because the program adjusts the mp3 file directly, without decoding
and re-encoding.
%prep
%setup -q -c %{name}-%{tarball_version}
%patch0 -p1 -b .tempfile
%patch1 -p1 -b .exit
%patch2 -p1 -b .cflags
install -p -m 644 %{SOURCE2} .
%{__sed} -i 's/\r//' lgpl.txt
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -Dp -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -Dp -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc lgpl.txt README.method
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.4.6-5
- rebuild
* Tue Nov 28 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-4
- Bump.
* Sun Nov 26 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-3
- D'Oh! Add HAVE_MEMCPY back to cflag patch.
* Sun Nov 26 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-2
- Update cflags patch to use RPM_OPT_FLAGS.
* Mon Nov 20 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-1
- Initial Livna spec.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mp3gain/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:53:32 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:00:37 -0000 1.2
@@ -0,0 +1,2 @@
+mp3gain-1_4_6-src.zip
+mp3gain.1.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mp3gain/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:53:32 -0000 1.1
+++ sources 5 Aug 2008 17:00:37 -0000 1.2
@@ -0,0 +1,2 @@
+4327167375dce5bce97625729a95fdb9 mp3gain-1_4_6-src.zip
+be6cfa62f64a2f4c2818de9b93411525 mp3gain.1.gz
16 years, 3 months
rpms/mp3gain/F-8 mp3gain-cflags.patch, NONE, 1.1 mp3gain-exit.patch, NONE, 1.1 mp3gain-tempfile-default.patch, NONE, 1.1 mp3gain.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/mp3gain/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28458
Modified Files:
.cvsignore sources
Added Files:
mp3gain-cflags.patch mp3gain-exit.patch
mp3gain-tempfile-default.patch mp3gain.spec
Log Message:
initial import from livna
mp3gain-cflags.patch:
--- NEW FILE mp3gain-cflags.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/Makefile mp3gain-1_4_6-src.zip_FILES/Makefile
--- mp3gain-1_4_6-src.zip_FILES.OLD/Makefile 2004-04-03 02:24:36.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/Makefile 2006-11-26 13:10:09.000000000 -0500
@@ -6,7 +6,7 @@
CC= gcc
-CFLAGS= -Wall -O3 -DHAVE_MEMCPY
+CFLAGS= $(RPM_OPT_FLAGS) -DHAVE_MEMCPY
ifneq ($(OSTYPE),beos)
INSTALL_PATH= /usr/local/bin
mp3gain-exit.patch:
--- NEW FILE mp3gain-exit.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/gain_analysis.c mp3gain-1_4_6-src.zip_FILES/gain_analysis.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/gain_analysis.c 2004-04-03 02:24:36.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/gain_analysis.c 2006-11-20 17:10:06.000000000 -0500
@@ -111,7 +111,7 @@
#define MAX_dB 120. // Table entries for 0...MAX_dB (normal max. values are 70...80 dB)
#define MAX_ORDER (BUTTER_ORDER > YULE_ORDER ? BUTTER_ORDER : YULE_ORDER)
-#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME) // max. Samples per Time slice
+#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME +1) // max. Samples per Time slice
#define PINK_REF 64.82 //298640883795 // calibration value
Float_t linprebuf [MAX_ORDER * 2];
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/common.c mp3gain-1_4_6-src.zip_FILES/mpglibDBL/common.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/common.c 2003-08-11 17:02:56.000000000 -0400
+++ mp3gain-1_4_6-src.zip_FILES/mpglibDBL/common.c 2006-11-20 17:12:10.000000000 -0500
@@ -160,7 +160,7 @@
fprintf(stderr,"Stream error\n");
fclose(stdout);
fclose(stderr);
- exit(0);
+ exit(EXIT_FAILURE);
}
if(fr->mpeg25) {
fr->sampling_frequency = 6 + ((newhead>>10)&0x3);
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/interface.c mp3gain-1_4_6-src.zip_FILES/mpglibDBL/interface.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mpglibDBL/interface.c 2004-03-22 14:29:16.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/mpglibDBL/interface.c 2006-11-20 17:11:35.000000000 -0500
@@ -137,7 +137,7 @@
fprintf(stderr,"Fatal error! tried to read past mp buffer\n");
fclose(stdout);
fclose(stderr);
- exit(0);
+ exit(EXIT_FAILURE);
}
pos = mp->tail->pos;
}
mp3gain-tempfile-default.patch:
--- NEW FILE mp3gain-tempfile-default.patch ---
diff -ur mp3gain-1_4_6-src.zip_FILES.OLD/mp3gain.c mp3gain-1_4_6-src.zip_FILES/mp3gain.c
--- mp3gain-1_4_6-src.zip_FILES.OLD/mp3gain.c 2004-12-23 15:47:04.000000000 -0500
+++ mp3gain-1_4_6-src.zip_FILES/mp3gain.c 2006-11-20 17:14:03.000000000 -0500
@@ -42,7 +42,11 @@
* out there will have come up with superior versions already...
*
* So have fun dissecting.
- */
+ */
+
+/* stf: make -t the default
+ * -T restores old behaviour
+ */
#include <stdio.h>
#include <stdlib.h>
@@ -117,8 +121,8 @@
unsigned char buffer[BUFFERSIZE];
int writeself = 0;
-int QuietMode = 0;
-int UsingTemp = 0;
+int QuietMode = 0;
+int UsingTemp = 1;
int NowWriting = 0;
double lastfreq = -1.0;
@@ -701,7 +705,8 @@
fclose(inf);
inf = NULL;
passError(MP3GAIN_UNSPECIFED_ERROR, 3,
- "\nCan't open ", outfilename, " for temp writing\n");
+ "\nCan't open ", outfilename, " for temp writing\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MAKE_TMP;
}
@@ -715,7 +720,8 @@
if (UsingTemp && (outf != NULL))
fclose(outf);
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "\nCan't open ", filename, " for modifying\n");
+ "\nCan't open ", filename, " for modifying\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MODIFY_FILE;
}
else {
@@ -926,7 +932,8 @@
passError(MP3GAIN_CANCELLED,3,"Cancelled processing.\n", filename, " is probably corrupted now.");
}
if (saveTime)
- fileTime(filename, setStoredTime);
+ fileTime(filename, setStoredTime);
+ NowWriting = 0;
return;
}
#endif
@@ -995,8 +1002,9 @@
if (outlength != inlength) {
deleteFile(outfilename);
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "Not enough temp space on disk to modify ", filename,
- "\nEither free some space, or do not use \"temp file\" option\n");
+ "Not enough temp space on disk to modify ", filename,
+ "\nEither free some space, or switch off \"temp file\" option with -T\n");
+ NowWriting = 0;
return M3G_ERR_NOT_ENOUGH_TMP_SPACE;
}
else {
@@ -1004,7 +1012,8 @@
if (deleteFile(filename)) {
deleteFile(outfilename); //try to delete tmp file
passError( MP3GAIN_UNSPECIFED_ERROR, 3,
- "Can't open ", filename, " for modifying\n");
+ "Can't open ", filename, " for modifying\n");
+ NowWriting = 0;
return M3G_ERR_CANT_MODIFY_FILE;
}
if (moveFile(outfilename, filename)) {
@@ -1012,7 +1021,8 @@
"Problem re-naming ", outfilename, " to ", filename,
"\nThe mp3 was correctly modified, but you will need to re-name ",
outfilename, " to ", filename,
- " yourself.\n");
+ " yourself.\n");
+ NowWriting = 0;
return M3G_ERR_RENAME_TMP;
};
if (saveTime)
@@ -1214,9 +1224,10 @@
fprintf(stderr,"\t%cm <i> - modify suggested MP3 gain by integer i\n",SWITCH_CHAR);
fprintf(stderr,"\t%cd <n> - modify suggested dB gain by floating-point n\n",SWITCH_CHAR);
fprintf(stderr,"\t%cc - ignore clipping warning when applying gain\n",SWITCH_CHAR);
- fprintf(stderr,"\t%co - output is a database-friendly tab-delimited list\n",SWITCH_CHAR);
- fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original\n",SWITCH_CHAR);
- fprintf(stderr,"\t instead of modifying bytes in original file\n");
+ fprintf(stderr,"\t%co - output is a database-friendly tab-delimited list\n",SWITCH_CHAR);
+ fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original \n",SWITCH_CHAR);
++ fprintf(stderr,"\t instead of modifying bytes in original file (default)\n");
++ fprintf(stderr,"\t%cT - mp3gain directly modifies mp3 file (opposite of %ct)\n",SWITCH_CHAR,SWITCH_CHAR);
fprintf(stderr,"\t%cq - Quiet mode: no status messages\n",SWITCH_CHAR);
fprintf(stderr,"\t%cp - Preserve original file timestamp\n",SWITCH_CHAR);
fprintf(stderr,"\t%cx - Only find max. amplitude of mp3\n",SWITCH_CHAR);
@@ -1505,9 +1516,12 @@
break;
- case 't':
- case 'T':
+ case 't':
UsingTemp = !0;
+ break;
+
+ case 'T':
+ UsingTemp = 0;
break;
case 'u':
--- NEW FILE mp3gain.spec ---
%define tarball_version 1_4_6
Name: mp3gain
Version: 1.4.6
Release: 5%{?dist}
Summary: Lossless MP3 volume adjustment tool
Group: Applications/Multimedia
License: LGPL
URL: http://mp3gain.sourceforge.net
Source0: http://osdn.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{tarball_vers...
Source1: %{name}.1.gz
Source2: README.method
Patch0: %{name}-tempfile-default.patch
Patch1: %{name}-exit.patch
Patch2: %{name}-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
MP3Gain analyzes and adjusts mp3 files so that they have the same
volume. It does not just do peak normalization, as many normalizers
do. Instead, it does some statistical analysis to determine how loud
the file actually sounds to the human ear. Also, the changes MP3Gain
makes are completely lossless. There is no quality lost in the change
because the program adjusts the mp3 file directly, without decoding
and re-encoding.
%prep
%setup -q -c %{name}-%{tarball_version}
%patch0 -p1 -b .tempfile
%patch1 -p1 -b .exit
%patch2 -p1 -b .cflags
install -p -m 644 %{SOURCE2} .
%{__sed} -i 's/\r//' lgpl.txt
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -Dp -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -Dp -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc lgpl.txt README.method
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.4.6-5
- rebuild
* Tue Nov 28 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-4
- Bump.
* Sun Nov 26 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-3
- D'Oh! Add HAVE_MEMCPY back to cflag patch.
* Sun Nov 26 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-2
- Update cflags patch to use RPM_OPT_FLAGS.
* Mon Nov 20 2006 Brian Pepple <bpepple(a)fedoraproject.org> - 1.4.6-1
- Initial Livna spec.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mp3gain/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:53:32 -0000 1.1
+++ .cvsignore 5 Aug 2008 17:00:13 -0000 1.2
@@ -0,0 +1,2 @@
+mp3gain-1_4_6-src.zip
+mp3gain.1.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mp3gain/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:53:32 -0000 1.1
+++ sources 5 Aug 2008 17:00:13 -0000 1.2
@@ -0,0 +1,2 @@
+4327167375dce5bce97625729a95fdb9 mp3gain-1_4_6-src.zip
+be6cfa62f64a2f4c2818de9b93411525 mp3gain.1.gz
16 years, 3 months
rpms/vdr-remote/F-8 .cvsignore,1.2,1.3 sources,1.2,1.3
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vdr-remote/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28814
Modified Files:
.cvsignore sources
Log Message:
update sources for F8
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-8/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 4 Aug 2008 19:54:34 -0000 1.2
+++ .cvsignore 4 Aug 2008 19:58:11 -0000 1.3
@@ -1,2 +1,2 @@
vdr-plugin-remote_0.3.8-3.ds.diff.gz
-vdr-remote-0.4.0.tgz
+vdr-remote-0.3.9.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 4 Aug 2008 19:54:34 -0000 1.2
+++ sources 4 Aug 2008 19:58:11 -0000 1.3
@@ -1,2 +1,2 @@
3ea16c95d376985090fc88c7932b8007 vdr-plugin-remote_0.3.8-3.ds.diff.gz
-336fa829fc24100d47545094218141a6 vdr-remote-0.4.0.tgz
+c2c85c2168df9567908b4652dbf98faf vdr-remote-0.3.9.tgz
16 years, 3 months
rpms/vdrsync/F-8 vdrsync-panteltje.patch, NONE, 1.1 vdrsync-recpath.patch, NONE, 1.1 vdrsync.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vdrsync/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28664
Modified Files:
.cvsignore sources
Added Files:
vdrsync-panteltje.patch vdrsync-recpath.patch vdrsync.spec
Log Message:
initial import from livna
vdrsync-panteltje.patch:
--- NEW FILE vdrsync-panteltje.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2007-01-21 01:34:21.000000000 +0200
@@ -39,7 +39,7 @@
my %progs = (
tcmplex => "",
mplex => "",
- tcmplex_panteltje => "",
+ 'tcmplex-panteltje' => "",
dvdauthor => "",
mkisofs => "",
transcode => "",
@@ -576,7 +576,7 @@
my $mplex_command;
- $mplex_command = "nice -n 19 $progs{tcmplex_panteltje} -i $filestomux[0] -0 $filestomux[1]";
+ $mplex_command = "nice -n 19 $progs{'tcmplex-panteltje'} -i $filestomux[0] -0 $filestomux[1]";
dprint("Mplexing using tcmplex-panteltje\n");
my $counter = 2;
while (scalar(@filestomux) > $counter) {
@@ -1393,14 +1393,14 @@
if ($transc_mpx && (! $progs{tcmplex})) {
die "Usage of tcmplex was specified, but the program could not be found within your path\n";
}
- if ($panteltje && (! $progs{tcmplex_panteltje})) {
+ if ($panteltje && (! $progs{'tcmplex-panteltje'})) {
die "Usage of tcmplex-panteltje was specified, but the program could not be found within your path\n";
}
- if ($mplex && (! $progs{tcmplex_panteltje}) && (! $progs{tcmplex}) && (! $progs{mplex})) {
+ if ($mplex && (! $progs{'tcmplex-panteltje'}) && (! $progs{tcmplex}) && (! $progs{mplex})) {
die "Need to multiplex the files, but did not find a single multiplexer\n";
}
if ($mplex && (! $panteltje) && (! $transc_mpx) && (! $progs{mplex})) {
- if ($progs{tcmplex_panteltje}) {
+ if ($progs{'tcmplex-panteltje'}) {
$panteltje = 1;
} elsif ($progs{tcmplex}) {
$transc_mpx = 1;
vdrsync-recpath.patch:
--- NEW FILE vdrsync-recpath.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2005-09-20 17:34:55.000000000 +0300
@@ -5561,13 +5561,13 @@
closedir $DIR;
my @files = sort (grep { /\d{3}.vdr$/ } @allfiles);
- $self->{summary_file} = $indir . "summary.vdr" if (-e "$indir/summary.vdr");
- $self->{marks_file} = $indir . "marks.vdr" if (-e "$indir/marks.vdr");
- $self->{index_file} = $indir . "index.vdr" if (-e "$indir/index.vdr");
- $self->{chapter_marks_file} = $indir . "chapter_marks.vdr" if (-e "$indir/chapter_marks.vdr");
+ $self->{summary_file} = "$indir/summary.vdr" if (-e "$indir/summary.vdr");
+ $self->{marks_file} = "$indir/marks.vdr" if (-e "$indir/marks.vdr");
+ $self->{index_file} = "$indir/index.vdr" if (-e "$indir/index.vdr");
+ $self->{chapter_marks_file} = "$indir/chapter_marks.vdr" if (-e "$indir/chapter_marks.vdr");
foreach (@files) {
- $_ = $indir . $_;
+ $_ = "$indir/$_";
#print "trying to open $_\n";
my $DUMMYFH;
open $DUMMYFH, "$_" or die "Can not open $_: $!\n";
--- NEW FILE vdrsync.spec ---
Name: vdrsync
Version: 0.1.3
Release: 8.PRE1.050322%{?dist}
Summary: Recording demultiplexer for VDR
Group: Applications/Multimedia
License: GPLv2
URL: http://vdrsync.vdr-portal.de/
Source0: http://vdrsync.vdr-portal.de/releases/%{name}-%{version}PRE1.tgz
Source1: http://vdrsync.vdr-portal.de/releases/%{name}-050322.tgz
Patch0: %{name}-recpath.patch
Patch1: %{name}-panteltje.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: dejavu-lgc-fonts
Requires: dvdauthor
Requires: ffmpeg
Requires: m2vrequantiser
Requires: mjpegtools
Requires: mkisofs
%description
vdrsync is a script that demultiplexes VDR recordings and tries to
synchronize the video and audio streams by addition or deletion of
audio data. It can also start some other tools at the end of a run to
generate a video DVD Directory structure that can be burned on a DVD.
%prep
%setup -q -n %{name}-%{version}PRE1 -a1
mv vdrsync-050322/*.pl vdrsync-050322/CHANGES . ; rm -rf vdrsync-050322
%patch0
%patch1
for f in README.dvd-menu MANUAL-DE ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
rename .pl "" *.pl
%{__perl} -pi -e "s/tcmplex_panteltje/'tcmplex-panteltje'/g" vdrsync
%{__perl} -pi -e 's/(vdrsync(_buffer)?|dvd-menu)\.pl/$1/g' *
%{__perl} -pi -e 's|vdrsync_buffer|%{_datadir}/vdrsync/vdrsync_buffer|' \
vdrsync
%{__perl} -pi -e 's|/usr/X11R6/lib/X11/fonts/truetype/arial.ttf|%{_datadir}/fonts/dejavu-lgc/DejaVuLGCSans.ttf| ; s/arial.ttf/DejaVuLGCSans.ttf/' *dvd-menu*
%build
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{_bindir}
install -pm 755 vdrsync dvd-menu $RPM_BUILD_ROOT%{_bindir}
install -Dpm 755 vdrsync_buffer \
$RPM_BUILD_ROOT%{_datadir}/vdrsync/vdrsync_buffer
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGES COPYING MANUAL README* TODO
%lang(de) %doc MANUAL-DE
%{_bindir}/vdrsync
%{_bindir}/dvd-menu
%{_datadir}/vdrsync/
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.1.3-8.PRE1.050322
- rebuild
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-7.PRE1.050322
- Use DejaVu LGC fonts instead of Bitstream Vera.
- Fix some tcmplex-panteltje detection bugs.
- License: GPLv2
* Fri Oct 27 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-6.PRE1.050322
- Use m2vrequantiser instead of transcode.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.1.3-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-4.PRE1.050322
- Rebuild.
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.1.3-3.PRE1.050322
- drop 1.lvn from release
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.3.PRE1.050322
- Fix missing dir separator in recording paths.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.2.PRE1.050322
- 050322 snapshot, cleanup patch applied upstream.
* Fri Aug 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.1.PRE1
- Convert docs to UTF-8.
* Sat Jun 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.2.PRE1
- Rebuild for FC4.
* Mon Jan 31 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.1.PRE1
- Update to 0.1.3PRE1.
* Sun Dec 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0.1.2.2-0.2
- Remove unnecessary Epochs.
* Sun Nov 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.2.2-0.scop.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdrsync/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:52 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:55:52 -0000 1.2
@@ -0,0 +1,2 @@
+vdrsync-0.1.3PRE1.tgz
+vdrsync-050322.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdrsync/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:52 -0000 1.1
+++ sources 4 Aug 2008 19:55:52 -0000 1.2
@@ -0,0 +1,2 @@
+2efa8cef6b38d391f19c7e822c2ddec1 vdrsync-0.1.3PRE1.tgz
+5400f0e0e15ba1a434108eaa782c7905 vdrsync-050322.tgz
16 years, 3 months
rpms/vdrsync/F-9 vdrsync-panteltje.patch, NONE, 1.1 vdrsync-recpath.patch, NONE, 1.1 vdrsync.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vdrsync/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28538
Modified Files:
.cvsignore sources
Added Files:
vdrsync-panteltje.patch vdrsync-recpath.patch vdrsync.spec
Log Message:
initial import from livna
vdrsync-panteltje.patch:
--- NEW FILE vdrsync-panteltje.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2007-01-21 01:34:21.000000000 +0200
@@ -39,7 +39,7 @@
my %progs = (
tcmplex => "",
mplex => "",
- tcmplex_panteltje => "",
+ 'tcmplex-panteltje' => "",
dvdauthor => "",
mkisofs => "",
transcode => "",
@@ -576,7 +576,7 @@
my $mplex_command;
- $mplex_command = "nice -n 19 $progs{tcmplex_panteltje} -i $filestomux[0] -0 $filestomux[1]";
+ $mplex_command = "nice -n 19 $progs{'tcmplex-panteltje'} -i $filestomux[0] -0 $filestomux[1]";
dprint("Mplexing using tcmplex-panteltje\n");
my $counter = 2;
while (scalar(@filestomux) > $counter) {
@@ -1393,14 +1393,14 @@
if ($transc_mpx && (! $progs{tcmplex})) {
die "Usage of tcmplex was specified, but the program could not be found within your path\n";
}
- if ($panteltje && (! $progs{tcmplex_panteltje})) {
+ if ($panteltje && (! $progs{'tcmplex-panteltje'})) {
die "Usage of tcmplex-panteltje was specified, but the program could not be found within your path\n";
}
- if ($mplex && (! $progs{tcmplex_panteltje}) && (! $progs{tcmplex}) && (! $progs{mplex})) {
+ if ($mplex && (! $progs{'tcmplex-panteltje'}) && (! $progs{tcmplex}) && (! $progs{mplex})) {
die "Need to multiplex the files, but did not find a single multiplexer\n";
}
if ($mplex && (! $panteltje) && (! $transc_mpx) && (! $progs{mplex})) {
- if ($progs{tcmplex_panteltje}) {
+ if ($progs{'tcmplex-panteltje'}) {
$panteltje = 1;
} elsif ($progs{tcmplex}) {
$transc_mpx = 1;
vdrsync-recpath.patch:
--- NEW FILE vdrsync-recpath.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2005-09-20 17:34:55.000000000 +0300
@@ -5561,13 +5561,13 @@
closedir $DIR;
my @files = sort (grep { /\d{3}.vdr$/ } @allfiles);
- $self->{summary_file} = $indir . "summary.vdr" if (-e "$indir/summary.vdr");
- $self->{marks_file} = $indir . "marks.vdr" if (-e "$indir/marks.vdr");
- $self->{index_file} = $indir . "index.vdr" if (-e "$indir/index.vdr");
- $self->{chapter_marks_file} = $indir . "chapter_marks.vdr" if (-e "$indir/chapter_marks.vdr");
+ $self->{summary_file} = "$indir/summary.vdr" if (-e "$indir/summary.vdr");
+ $self->{marks_file} = "$indir/marks.vdr" if (-e "$indir/marks.vdr");
+ $self->{index_file} = "$indir/index.vdr" if (-e "$indir/index.vdr");
+ $self->{chapter_marks_file} = "$indir/chapter_marks.vdr" if (-e "$indir/chapter_marks.vdr");
foreach (@files) {
- $_ = $indir . $_;
+ $_ = "$indir/$_";
#print "trying to open $_\n";
my $DUMMYFH;
open $DUMMYFH, "$_" or die "Can not open $_: $!\n";
--- NEW FILE vdrsync.spec ---
Name: vdrsync
Version: 0.1.3
Release: 9.PRE1.050322%{?dist}
Summary: Recording demultiplexer for VDR
Group: Applications/Multimedia
License: GPLv2
URL: http://vdrsync.vdr-portal.de/
Source0: http://vdrsync.vdr-portal.de/releases/%{name}-%{version}PRE1.tgz
Source1: http://vdrsync.vdr-portal.de/releases/%{name}-050322.tgz
Patch0: %{name}-recpath.patch
Patch1: %{name}-panteltje.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: dejavu-lgc-fonts >= 2.21
Requires: dvdauthor
Requires: ffmpeg
Requires: m2vrequantiser
Requires: mjpegtools
Requires: mkisofs
%description
vdrsync is a script that demultiplexes VDR recordings and tries to
synchronize the video and audio streams by addition or deletion of
audio data. It can also start some other tools at the end of a run to
generate a video DVD Directory structure that can be burned on a DVD.
%prep
%setup -q -n %{name}-%{version}PRE1 -a1
mv vdrsync-050322/*.pl vdrsync-050322/CHANGES . ; rm -rf vdrsync-050322
%patch0
%patch1
for f in README.dvd-menu MANUAL-DE ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
rename .pl "" *.pl
%{__perl} -pi -e "s/tcmplex_panteltje/'tcmplex-panteltje'/g" vdrsync
%{__perl} -pi -e 's/(vdrsync(_buffer)?|dvd-menu)\.pl/$1/g' *
%{__perl} -pi -e 's|vdrsync_buffer|%{_datadir}/vdrsync/vdrsync_buffer|' \
vdrsync
%{__perl} -pi -e 's|/usr/X11R6/lib/X11/fonts/truetype/arial.ttf|%{_datadir}/fonts/dejavu/DejaVuLGCSans.ttf| ; s/arial.ttf/DejaVuLGCSans.ttf/' *dvd-menu*
%build
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{_bindir}
install -pm 755 vdrsync dvd-menu $RPM_BUILD_ROOT%{_bindir}
install -Dpm 755 vdrsync_buffer \
$RPM_BUILD_ROOT%{_datadir}/vdrsync/vdrsync_buffer
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGES COPYING MANUAL README* TODO
%lang(de) %doc MANUAL-DE
%{_bindir}/vdrsync
%{_bindir}/dvd-menu
%{_datadir}/vdrsync/
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.1.3-9.PRE1.050322
- rebuild
* Sun Nov 18 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-8.PRE1.050322
- Adjust font paths for dejavu-lgc-fonts 2.21+.
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-7.PRE1.050322
- Use DejaVu LGC fonts instead of Bitstream Vera.
- Fix some tcmplex-panteltje detection bugs.
- License: GPLv2
* Fri Oct 27 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-6.PRE1.050322
- Use m2vrequantiser instead of transcode.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.1.3-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-4.PRE1.050322
- Rebuild.
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.1.3-3.PRE1.050322
- drop 1.lvn from release
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.3.PRE1.050322
- Fix missing dir separator in recording paths.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.2.PRE1.050322
- 050322 snapshot, cleanup patch applied upstream.
* Fri Aug 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.1.PRE1
- Convert docs to UTF-8.
* Sat Jun 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.2.PRE1
- Rebuild for FC4.
* Mon Jan 31 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.1.PRE1
- Update to 0.1.3PRE1.
* Sun Dec 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0.1.2.2-0.2
- Remove unnecessary Epochs.
* Sun Nov 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.2.2-0.scop.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdrsync/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:52 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:55:19 -0000 1.2
@@ -0,0 +1,2 @@
+vdrsync-0.1.3PRE1.tgz
+vdrsync-050322.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdrsync/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:52 -0000 1.1
+++ sources 4 Aug 2008 19:55:19 -0000 1.2
@@ -0,0 +1,2 @@
+2efa8cef6b38d391f19c7e822c2ddec1 vdrsync-0.1.3PRE1.tgz
+5400f0e0e15ba1a434108eaa782c7905 vdrsync-050322.tgz
16 years, 3 months
rpms/vdr-remote/F-8 vdr-remote.conf, NONE, 1.1 vdr-remote.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vdr-remote/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28416
Modified Files:
.cvsignore sources
Added Files:
vdr-remote.conf vdr-remote.spec
Log Message:
initial import from livna
--- NEW FILE vdr-remote.conf ---
# Configuration snippet for vdr-remote -*- sh -*-
#
# Add command line options to pass to the remote plugin to PLUGIN_OPTIONS.
# See /usr/share/doc/vdr-remote-*/README for info about available options.
PLUGIN_OPTIONS=""
--- NEW FILE vdr-remote.spec ---
%define pname remote
%define plugindir %(vdr-config --plugindir 2>/dev/null || echo ERROR)
%define apiver %(vdr-config --apiversion 2>/dev/null || echo ERROR)
Name: vdr-%{pname}
Version: 0.3.9
Release: 3%{?dist}
Summary: Extended remote control plugin for VDR
Group: Applications/Multimedia
License: GPL+
URL: http://www.escape-edv.de/endriss/vdr/
Source0: http://www.escape-edv.de/endriss/vdr/%{name}-%{version}.tgz
Source1: %{name}.conf
Patch0: http://zap.tartarus.org/~ds/debian/dists/stable/main/source/vdr-plugin-re...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vdr-devel >= 1.3.47
Requires: vdr(abi) = %{apiver}
%description
This plugin extends VDR's remote control capabilities, adding support
for Linux input devices, keyboards (tty), TCP connections, and LIRC.
%prep
%setup -q -n %{pname}-%{version}
%patch0 -p1
patch -p1 -i debian/patches/01_debian.dpatch
patch -p1 -i debian/patches/02_no_abort.dpatch
patch -p1 -i debian/patches/03_eventX.dpatch
sed -i -e 's/0\.3\.8/0.3.9/g' debian/patches/04_constness.dpatch
patch -p1 -i debian/patches/04_constness.dpatch
sed -i -e 's|include Make.config|include $(VDRDIR)/Make.config|' Makefile
for f in CONTRIBUTORS HISTORY ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr all
%install
rm -rf $RPM_BUILD_ROOT
make install LIBDIR=. VDRDIR=%{_libdir}/vdr # ugh
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -pm 755 libvdr-%{pname}.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CONTRIBUTORS COPYING FAQ HISTORY README
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
%{plugindir}/libvdr-%{pname}.so.%{apiver}
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.9-3
- rebuild
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.3.9-2
- License: GPL+
- Refresh Darren Salt's patch.
* Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.3.9-1
- 0.3.9, build for VDR 1.4.5.
* Sat Nov 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.8-3
- Rebuild for VDR 1.4.4.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.3.8-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.8-1
- 0.3.8, build for VDR 1.4.3.
* Sun Aug 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-3
- Rebuild for VDR 1.4.1-3.
* Sun Jun 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-2
- Rebuild for VDR 1.4.1.
* Sun May 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-1
- 0.3.7.
* Sun Apr 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-4
- Sync with 0.3.6-1.ds, build for VDR 1.4.0.
* Mon Apr 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-3
- Rebuild/adjust for VDR 1.3.47, require versioned vdr(abi).
- Trim pre-RLO %%changelog entries.
* Sun Mar 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-2
- Rebuild for VDR 1.3.45.
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.3.6-1
- drop 0.lvn from release
* Sun Mar 5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-0.lvn.1
- 0.3.6 + 0.3.5-1.ds.
* Wed Mar 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.5
- Rebuild for VDR 1.3.44.
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Feb 21 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.4
- Sync with 0.3.5-2.ds.
* Sun Feb 19 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.3
- Sync with 0.3.5-1.ds, rebuild for VDR 1.3.43.
* Sun Feb 5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.2
- Rebuild for VDR 1.3.42.
* Wed Jan 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.1
- 0.3.5.
* Sun Jan 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.4
- Rebuild for VDR 1.3.40.
* Sat Jan 21 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.3
- Fix plugin filename (#738).
* Sun Jan 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.2
- Rebuild for VDR 1.3.39.
* Mon Jan 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.1
- 0.3.4 + 1.ds.
- Rebuild for VDR 1.3.38.
* Mon Nov 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.10
- Rebuild for VDR 1.3.37.
* Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.9
- Rebuild for VDR 1.3.36.
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.8
- Rebuild for VDR 1.3.35.
* Mon Oct 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.7
- Rebuild for VDR 1.3.34.
* Sun Sep 25 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.6
- Rebuild for VDR 1.3.33.
* Sun Sep 11 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.5
- Rebuild for VDR 1.3.32.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.4
- Rebuild for VDR 1.3.31.
* Sun Aug 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.3
- Rebuild for VDR 1.3.30.
* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.2
- Try to avoid build system problems by not using %%expand with vdr-config.
* Sun Aug 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.1
- Improve description, convert docs to UTF-8.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:44 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:54:34 -0000 1.2
@@ -0,0 +1,2 @@
+vdr-plugin-remote_0.3.8-3.ds.diff.gz
+vdr-remote-0.4.0.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:44 -0000 1.1
+++ sources 4 Aug 2008 19:54:34 -0000 1.2
@@ -0,0 +1,2 @@
+3ea16c95d376985090fc88c7932b8007 vdr-plugin-remote_0.3.8-3.ds.diff.gz
+336fa829fc24100d47545094218141a6 vdr-remote-0.4.0.tgz
16 years, 3 months
rpms/vdr-remote/F-9 vdr-remote.conf, NONE, 1.1 vdr-remote.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/vdr-remote/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28006
Modified Files:
.cvsignore sources
Added Files:
vdr-remote.conf vdr-remote.spec
Log Message:
initial import from livna
--- NEW FILE vdr-remote.conf ---
# Configuration snippet for vdr-remote -*- sh -*-
#
# Add command line options to pass to the remote plugin to PLUGIN_OPTIONS.
# See /usr/share/doc/vdr-remote-*/README for info about available options.
PLUGIN_OPTIONS=""
--- NEW FILE vdr-remote.spec ---
%define pname remote
%define plugindir %(vdr-config --plugindir 2>/dev/null || echo ERROR)
%define apiver %(vdr-config --apiversion 2>/dev/null || echo ERROR)
Name: vdr-%{pname}
Version: 0.4.0
Release: 2%{?dist}
Summary: Extended remote control plugin for VDR
Group: Applications/Multimedia
License: GPL+
URL: http://www.escape-edv.de/endriss/vdr/
Source0: http://www.escape-edv.de/endriss/vdr/%{name}-%{version}.tgz
Source1: %{name}.conf
Patch0: http://zap.tartarus.org/~ds/debian/dists/stable/main/source/vdr-plugin-re...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vdr-devel >= 1.3.47
Requires: vdr(abi) = %{apiver}
%description
This plugin extends VDR's remote control capabilities, adding support
for Linux input devices, keyboards (tty), TCP connections, and LIRC.
%prep
%setup -q -n %{pname}-%{version}
%patch0 -p1
patch -p1 -i debian/patches/01_debian.dpatch
patch -p1 -i debian/patches/02_no_abort.dpatch
sed -i \
-e 's/0\.3\.8/0.4.0/g' \
-e 's/"Remote control"/trNOOP("Remote control")/' \
debian/patches/04_constness.dpatch
patch -p1 -i debian/patches/04_constness.dpatch
sed -i -e 's|include Make.config|include $(VDRDIR)/Make.config|' Makefile
for f in CONTRIBUTORS HISTORY ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr all
%install
rm -rf $RPM_BUILD_ROOT
make install LIBDIR=. VDRDIR=%{_libdir}/vdr # ugh
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -pm 755 libvdr-%{pname}.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CONTRIBUTORS COPYING FAQ HISTORY README
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
%{plugindir}/libvdr-%{pname}.so.%{apiver}
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.4.0-2
- rebuild
* Tue Apr 8 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.4.0-1
- 0.4.0.
- Build for VDR 1.6.0.
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.3.9-2
- License: GPL+
- Refresh Darren Salt's patch.
* Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.3.9-1
- 0.3.9, build for VDR 1.4.5.
* Sat Nov 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.8-3
- Rebuild for VDR 1.4.4.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.3.8-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.8-1
- 0.3.8, build for VDR 1.4.3.
* Sun Aug 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-3
- Rebuild for VDR 1.4.1-3.
* Sun Jun 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-2
- Rebuild for VDR 1.4.1.
* Sun May 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.7-1
- 0.3.7.
* Sun Apr 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-4
- Sync with 0.3.6-1.ds, build for VDR 1.4.0.
* Mon Apr 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-3
- Rebuild/adjust for VDR 1.3.47, require versioned vdr(abi).
- Trim pre-RLO %%changelog entries.
* Sun Mar 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-2
- Rebuild for VDR 1.3.45.
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.3.6-1
- drop 0.lvn from release
* Sun Mar 5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.6-0.lvn.1
- 0.3.6 + 0.3.5-1.ds.
* Wed Mar 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.5
- Rebuild for VDR 1.3.44.
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Feb 21 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.4
- Sync with 0.3.5-2.ds.
* Sun Feb 19 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.3
- Sync with 0.3.5-1.ds, rebuild for VDR 1.3.43.
* Sun Feb 5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.2
- Rebuild for VDR 1.3.42.
* Wed Jan 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.5-0.lvn.1
- 0.3.5.
* Sun Jan 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.4
- Rebuild for VDR 1.3.40.
* Sat Jan 21 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.3
- Fix plugin filename (#738).
* Sun Jan 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.2
- Rebuild for VDR 1.3.39.
* Mon Jan 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.3.4-0.lvn.1
- 0.3.4 + 1.ds.
- Rebuild for VDR 1.3.38.
* Mon Nov 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.10
- Rebuild for VDR 1.3.37.
* Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.9
- Rebuild for VDR 1.3.36.
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.8
- Rebuild for VDR 1.3.35.
* Mon Oct 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.7
- Rebuild for VDR 1.3.34.
* Sun Sep 25 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.6
- Rebuild for VDR 1.3.33.
* Sun Sep 11 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.5
- Rebuild for VDR 1.3.32.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.4
- Rebuild for VDR 1.3.31.
* Sun Aug 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.3
- Rebuild for VDR 1.3.30.
* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.2
- Try to avoid build system problems by not using %%expand with vdr-config.
* Sun Aug 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.3.3-1.lvn.1
- Improve description, convert docs to UTF-8.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:44 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:53:58 -0000 1.2
@@ -0,0 +1,2 @@
+vdr-plugin-remote_0.3.8-3.ds.diff.gz
+vdr-remote-0.4.0.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdr-remote/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:44 -0000 1.1
+++ sources 4 Aug 2008 19:53:58 -0000 1.2
@@ -0,0 +1,2 @@
+3ea16c95d376985090fc88c7932b8007 vdr-plugin-remote_0.3.8-3.ds.diff.gz
+336fa829fc24100d47545094218141a6 vdr-remote-0.4.0.tgz
16 years, 3 months
rpms/vdr-mp3/F-8 vdr-mp3-mediasources.sh, NONE, 1.1 vdr-mp3-mp3.conf, NONE, 1.1 vdr-mp3-mplayer-minimal.sh, NONE, 1.1 vdr-mp3-mplayer.conf, NONE, 1.1 vdr-mp3-mplayer.sh-0.8.7-defaults.patch, NONE, 1.1 vdr-mp3-mplayer.sh-0.8.7-lircrc.patch, NONE, 1.1 vdr-mp3-mplayer.sh-framedrop.patch, NONE, 1.1 vdr-mp3-mplayer.sh-identify.patch, NONE, 1.1 vdr-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/vdr-mp3/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27876
Modified Files:
.cvsignore sources
Added Files:
vdr-mp3-mediasources.sh vdr-mp3-mp3.conf
vdr-mp3-mplayer-minimal.sh vdr-mp3-mplayer.conf
vdr-mp3-mplayer.sh-0.8.7-defaults.patch
vdr-mp3-mplayer.sh-0.8.7-lircrc.patch
vdr-mp3-mplayer.sh-framedrop.patch
vdr-mp3-mplayer.sh-identify.patch vdr-mp3.spec
Log Message:
initial import from livna
--- NEW FILE vdr-mp3-mediasources.sh ---
#!/bin/sh
# http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT
for file in /media/* ; do
if [ -d "$file" ] ; then
type="`basename $file`"
if [ "$type" = cdrom ] ; then
echo "$file;CD-ROM;1"
elif [ "$type" = cdrecorder ] ; then
echo "$file;CD Writer;1"
elif [ "$type" = zip ] ; then
echo "$file;Zip Drive;1"
fi
fi
done
--- NEW FILE vdr-mp3-mp3.conf ---
# Configuration snippet for vdr-mp3 -*- sh -*-
#
# Add command line options to pass to the mp3 plugin to PLUGIN_OPTIONS.
# See /usr/share/doc/vdr-mp3-*/README for info about available options.
PLUGIN_OPTIONS="-C /var/cache/vdr/mp3"
--- NEW FILE vdr-mp3-mplayer-minimal.sh ---
#!/bin/sh
#
# Minimal script for launching MPlayer from VDR.
#
# Expectations:
# - mplayer is found in $PATH
# - everything is configured properly in mplayer's config files
file="$1"
opts=
case "$file" in
*.pls|*.m3u) opts="$opts -playlist" ;;
esac
while shift ; do
case "$1" in
SLAVE) opts="$opts -slave -quiet -nolirc" ;;
AID) opts="$opts -aid $2" ; shift ;;
esac
done
exec mplayer $opts "$file"
--- NEW FILE vdr-mp3-mplayer.conf ---
# Configuration snippet for vdr-mplayer -*- sh -*-
#
# Add command line options to pass to the mplayer plugin to PLUGIN_OPTIONS.
# See /usr/share/doc/vdr-mplayer-*/README for info about available options.
#
# In particular, you may want to change the script used to launch mplayer.
# The vdr-mplayer package ships two scripts of them; mplayer.sh (the
# default one) is a full featured one including support for playing DVD's,
# and mplayer-minimal.sh is a bare minimum one that you may want to use if
# you don't like the things done by the full one (scaling etc). Set
# "-M mplayer-minimal.sh" to use the minimal one.
PLUGIN_OPTIONS="-R /var/lib/vdr"
vdr-mp3-mplayer.sh-0.8.7-defaults.patch:
--- NEW FILE vdr-mp3-mplayer.sh-0.8.7-defaults.patch ---
--- m/mplayer.sh.conf~ 2007-02-11 17:38:06.000000000 +0200
+++ m/mplayer.sh.conf 2007-02-25 13:25:00.000000000 +0200
@@ -1,4 +1,4 @@
-# Config File for mplayer.sh ...
+# Config File for mplayer.sh ... -*- sh -*-
#
# $Id: mplayer.sh.conf,v 1.24.2.3 2007/02/11 15:19:35 juri Exp $
#
@@ -67,9 +67,8 @@
# how to play AC3 audio?
# for AC3 via sound card (ALSA driver):
-AC3AOUT="-ao alsa9 -ac hwac3"
-# for AC3 via DVB (doesn't need AC3overDVB patch);
-# needs MPlayer 0.90 final, or newer:
+AC3AOUT="-ao alsa -ac hwac3"
+# for AC3 via DVB (doesn't need AC3overDVB patch):
#AC3AOUT="-ac hwac3"
# what aspect ratio has your TV set?
@@ -81,17 +80,10 @@
# *** Optional Setting *** Simply Remove them if they do not fit your needs...
# ***
-# What detelecinig filter should we use to play NTSC material as PAL?
+# What detelecining filter should we use to play NTSC material as PAL?
# This is only used if you have set NTSC to false and PAL to true.
-# If you use MPlayer versions 1.0 or higher I recommend to use the
-# following setting "ivtc=1", but this is not supported by MPlayer 0.9x
-#DETC_FILTER="ivtc=1"
-DETC_FILTER="detc=dr=2:am=1"
-
-# What version of MPlayer do you have?
-# if you have 0.9x then choose 'false'
-# if you have 1.0(pre) then choose 'true'
-MPLAYER_V1="true"
+DETC_FILTER="ivtc=1"
+#DETC_FILTER="detc=dr=2:am=1"
# Cache Option for MPlayer
CACHE="4096"
@@ -115,10 +107,10 @@
DVDFiles="/video/plugins/DVD-VCD"
# What is your DVD-ROM device ?
-DVD="/dev/hdc"
+DVD="/dev/dvd"
# What languages do your DVD's use ?
-DVDLANG="de"
+DVDLANG="en"
# extra DVD options
#DVDOPTIONS="-af volume=+10"
--- m/mplayer.sh~ 2007-02-11 17:34:07.000000000 +0200
+++ m/mplayer.sh 2007-02-25 13:26:12.000000000 +0200
@@ -253,13 +253,6 @@
SUFFIX=$(echo -e "${FILE:$[${#FILE}-4]:4}" | tr [A-Z] [a-z])
debugvar SUFFIX $SUFFIX
- if test -z "$MPLAYER_V1"; then
- echolog "*** MPLAYER_V1 not set! Setting it to 'false'."
- echolog "*** If you cannot play cue-files, then set it to 'true'."
- MPLAYER_V1="false"
- fi
- debugvar MPLAYER_V1 "$MPLAYER_V1"
-
return;
}
@@ -518,12 +511,7 @@
fi
unset FILE
elif test "${SUFFIX}" == ".cue"; then
- if $MPLAYER_V1; then
- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF cue://$FILE:2"
- unset FILE
- else
- CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF -vcd 2 -cuefile"
- fi
+ CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF cue://$FILE:2"
else
# Try to determine the video attributes
if $DEBUG; then echolog "*** DEBUG: Calling getvidxy function to analyze source video stream ..."; fi
vdr-mp3-mplayer.sh-0.8.7-lircrc.patch:
--- NEW FILE vdr-mp3-mplayer.sh-0.8.7-lircrc.patch ---
--- mplayer.sh.conf~ 2007-02-11 17:38:06.000000000 +0200
+++ mplayer.sh.conf 2007-02-25 13:31:21.000000000 +0200
@@ -100,7 +100,11 @@
FRAMEDROP="true"
# Lirc RC File
-LIRCRC="/video/.lircrc"
+if ldd "$MPLAYER" 2>/dev/null | grep liblirc_client >/dev/null 2>&1 ; then
+ LIRCRC="/etc/vdr/lircrc"
+else
+ LIRCRC=""
+fi
# do we have a slow CPU?
# if so, reduce the Y resolution to the half of the possible maximum:
vdr-mp3-mplayer.sh-framedrop.patch:
--- NEW FILE vdr-mp3-mplayer.sh-framedrop.patch ---
--- mplayer.sh~ 2004-11-06 23:00:00.000000000 +0200
+++ mplayer.sh 2004-12-24 11:58:18.949657706 +0200
@@ -189,7 +189,7 @@
if test -z "$FRAMEDROP" -o "$FRAMEDROP" != "true"; then FRAMEDROP=false; fi
debugvar FRAMEDROP "$FRAMEDROP"
- if $FRAMEDROP; then FDSTR="-framedrop"; fi
+ if $FRAMEDROP; then FDSTR="-framedrop"; else FDSTR="-noframedrop"; fi
debugvar FDSTR "$FDSTR"
declare LIRCSTR="" # no extra Lirc option!
vdr-mp3-mplayer.sh-identify.patch:
--- NEW FILE vdr-mp3-mplayer.sh-identify.patch ---
--- mplayer.sh.orig 2004-11-06 23:00:00.000000000 +0200
+++ mplayer.sh 2005-07-18 20:53:04.000000000 +0300
@@ -268,7 +268,7 @@
local TEMP1 MPLAYER_RETURN
ORIG_X=0; ORIG_Y=0
- TEMP1=`$MPLAYER -identify -vo null -ao null -frames 0 "$FILE" 2>/dev/null | grep -i -e "^ID_"`
+ TEMP1=`$MPLAYER -identify -vo null -nosound -frames 0 -cache-min 0 -nolirc -nojoystick "$FILE" 2>/dev/null | grep -i -e "^ID_"`
MPLAYER_RETURN=$?
debugmsg "OutputFromMPLAYER:" "$TEMP1"
debugmsg "MPLAYER_RETURN: " "$MPLAYER_RETURN"
--- NEW FILE vdr-mp3.spec ---
# TODO:
# - mplayer.sh:
# - patch to allow playing audio files (currently insists to find video)
# - audio CD support?
%define plugindir %(vdr-config --plugindir 2>/dev/null || echo ERROR)
%define configdir %(vdr-config --configdir 2>/dev/null || echo ERROR)
%define videodir %(vdr-config --videodir 2>/dev/null || echo ERROR)
%define audiodir %(vdr-config --audiodir 2>/dev/null || echo ERROR)
%define datadir %(vdr-config --datadir 2>/dev/null || echo ERROR)
%define cachedir %(vdr-config --cachedir 2>/dev/null || echo ERROR)
%define vardir %(vdr-config --vardir 2>/dev/null || echo ERROR)
%define apiver %(vdr-config --apiversion 2>/dev/null || echo ERROR)
%define vdr_user %(vdr-config --user 2>/dev/null || echo ERROR)
Name: vdr-mp3
Version: 0.10.1
Release: 2%{?dist}
Summary: Sound playback plugin for VDR
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.muempf.de/
Source0: http://www.muempf.de/down/%{name}-%{version}.tar.gz
Source1: http://batleth.sapienti-sat.org/projects/VDR/versions/mplayer.sh-0.8.7.ta...
Source2: %{name}-mediasources.sh
Source3: %{name}-mp3.conf
Source4: %{name}-mplayer.conf
Source5: %{name}-mplayer-minimal.sh
Patch0: %{name}-mplayer.sh-0.8.7-lircrc.patch
Patch1: %{name}-mplayer.sh-framedrop.patch
Patch2: %{name}-mplayer.sh-identify.patch
Patch3: %{name}-mplayer.sh-0.8.7-defaults.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vdr-devel >= 1.4.0
BuildRequires: libsndfile-devel >= 1.0.0
BuildRequires: libvorbis-devel
BuildRequires: %{__perl}
BuildRequires: libmad-devel
BuildRequires: libid3tag-devel
Requires: vdr(abi) = %{apiver}
Requires: netpbm-progs
Requires: mjpegtools >= 1.8.0
Requires: file
%description
The MP3 plugin adds audio playback capability to VDR. Supported audio
formats are those supported by libmad, libsndfile and libvorbis.
%package -n vdr-mplayer
Summary: MPlayer plugin for VDR
Group: Applications/Multimedia
BuildRequires: %{__perl}
Requires: vdr(abi) = %{apiver}
Requires: mplayer >= 1.0-0.lvn.0.19.pre7
%description -n vdr-mplayer
The MPlayer plugin adds the ability to call MPlayer from within VDR,
allowing to replay all video formats supported by MPlayer over VDR's
primary output device.
%prep
%setup -q -n mp3-%{version} -a 1
%patch0
%patch1
%patch2
%patch3 -p1
%{__perl} -pi -e \
's|CFGFIL=.*|CFGFIL="%{configdir}/plugins/mplayer.sh.conf"|' \
mplayer.sh
%{__perl} -pi -e \
's|"/var/cache/images/mp3"|"%{cachedir}/mp3/images"|' \
data-mp3.c README
%{__perl} -pi -e \
's|"/video/plugins/DVD-VCD"|"%{datadir}/DVD-VCD"| ;
s|^MPLAYER=.*|MPLAYER="%{_bindir}/mplayer"|' \
mplayer.sh.conf
for f in HISTORY MANUAL README ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
sed -e 's|/var/lib/vdr|%{vardir}|' %{SOURCE4} > %{name}-mplayer.conf
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr WITH_OSS_OUTPUT=1 \
libvdr-mp3.so libvdr-mplayer.so
echo "%{audiodir};Local hard drive;0" > mp3sources.conf
echo "%{datadir}/DVD-VCD;DVD or VCD;0" > mplayersources.conf
%install
rm -rf $RPM_BUILD_ROOT
# Common dirs
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -dm 755 $RPM_BUILD_ROOT%{configdir}/plugins
install -dm 755 $RPM_BUILD_ROOT%{plugindir}/bin
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d
# Common files
install -pm 755 %{SOURCE2} $RPM_BUILD_ROOT%{plugindir}/bin/mediasources.sh
install -pm 755 examples/mount.sh.example \
$RPM_BUILD_ROOT%{plugindir}/bin/mount.sh
# MP3 files
install -pm 755 libvdr-mp3.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -pm 644 mp3sources.conf $RPM_BUILD_ROOT%{configdir}/plugins
install -pm 755 examples/image_convert.sh.example \
$RPM_BUILD_ROOT%{plugindir}/bin/image_convert.sh
%{__perl} -pe 's|/var/cache/vdr/|%{cachedir}/|' %{SOURCE3} \
> $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/mp3.conf
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/mp3.conf
install -dm 755 $RPM_BUILD_ROOT%{cachedir}/mp3/images
i=$RPM_BUILD_ROOT%{cachedir}/mp3/id3info.cache ; > $i ; chmod 644 $i
# MPlayer files
install -pm 755 libvdr-mplayer.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -dm 755 $RPM_BUILD_ROOT%{datadir}/DVD-VCD
touch $RPM_BUILD_ROOT%{datadir}/DVD-VCD/{DVD,VCD}
chmod 644 $RPM_BUILD_ROOT%{datadir}/DVD-VCD/*
install -pm 644 mplayersources.conf mplayer.sh.conf \
$RPM_BUILD_ROOT%{configdir}/plugins
install -pm 755 mplayer.sh $RPM_BUILD_ROOT%{plugindir}/bin/mplayer.sh
install -pm 755 %{SOURCE5} $RPM_BUILD_ROOT%{plugindir}/bin/mplayer-minimal.sh
install -pm 644 %{name}-mplayer.conf \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/mplayer.conf
install -dm 755 $RPM_BUILD_ROOT%{vardir}
i=$RPM_BUILD_ROOT%{vardir}/global.mplayer.resume ; > $i ; chmod 644 $i
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ $1 -eq 1 ] ; then
%{plugindir}/bin/mediasources.sh \
>> %{configdir}/plugins/mp3sources.conf || :
else
if ! grep %{audiodir} %{configdir}/plugins/mp3sources.conf &>/dev/null ; then
echo "%{audiodir}" >> %{configdir}/plugins/mp3sources.conf || :
fi
r=global.mplayer.resume
if [ -f %{videodir}/$r -a ! -f %{vardir}/$r ] ; then
mv %{videodir}/$r %{vardir}/$r
fi
fi
%post -n vdr-mplayer
if [ $1 -eq 1 ] ; then
%{plugindir}/bin/mediasources.sh \
>> %{configdir}/plugins/mplayersources.conf || :
fi
%files
%defattr(-,root,root,-)
%doc COPYING HISTORY MANUAL README examples/mount.sh.example
%doc examples/mp3sources.conf.example examples/network.sh.example
%config(noreplace) %{configdir}/plugins/mp3sources.conf
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/mp3.conf
%{plugindir}/libvdr-mp3.so.%{apiver}
%{plugindir}/bin/image_convert.sh
%{plugindir}/bin/mediasources.sh
%{plugindir}/bin/mount.sh
%defattr(-,%{vdr_user},root,-)
%dir %{cachedir}/mp3/
%dir %{cachedir}/mp3/images/
%ghost %{cachedir}/mp3/id3info.cache
%files -n vdr-mplayer
%defattr(-,root,root,-)
%doc COPYING HISTORY MANUAL README examples/mplayer.sh.example
%doc examples/mount.sh.example
%config(noreplace) %{configdir}/plugins/mplayer*.conf
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/mplayer.conf
%{plugindir}/libvdr-mplayer.so.%{apiver}
%{plugindir}/bin/mediasources.sh
%{plugindir}/bin/mount.sh
%{plugindir}/bin/mplayer*.sh
%{datadir}/DVD-VCD/
%defattr(-,%{vdr_user},root,-)
%ghost %{vardir}/global.mplayer.resume
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.10.1-2
- rebuild
* Mon Aug 27 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.10.1-1
- 0.10.1.
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-2
- License: GPLv2+
* Sun Jun 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-1
- 0.10.0.
- Fix path to mplayer in mplayer.sh.conf (full path needed after all).
* Sun Feb 25 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-5
- Apply upstream patch to check availability of last dir before accessing it.
- Update mplayer.sh to 0.8.7.
* Sun Jan 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-4
- Rebuild for VDR 1.4.5.
* Sat Nov 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-3
- Rebuild for VDR 1.4.4.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.9.15-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-1
- 0.9.15, build for VDR 1.4.3.
* Sun Aug 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.6.pre14
- Rebuild for VDR 1.4.1-3.
* Sun Jul 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.5.pre14
- 0.9.15pre14 + Rolf Ahrenberg's Finnish patch.
- Plugin C(XX)FLAGS and zlib patches applied upstream.
- Re-enable MP3 plugin; it supposedly works just fine in most setups
(still not in my vdr-dxr3 one though).
* Mon Jul 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.5.pre10
- Patch to get plugin C(XX)FLAGS properly applied from Make.config.
* Sun Jul 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.4.pre10
- Include accidentally dropped mplayer.sh.conf.
* Sun Jun 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.3.pre10
- Rebuild for VDR 1.4.1.
* Sun Apr 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.2.pre10
- 0.9.15pre10, build for VDR 1.4.0.
- Move -mplayer global resume file to /var/lib/vdr.
* Sun Apr 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.2.pre6
- Require versioned vdr(abi) also in -mplayer.
* Mon Apr 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.15-0.1.pre6
- 0.9.15pre6, i18n fix applied upstream.
- Rebuild/adjust for VDR 1.3.47, require versioned vdr(abi).
- Trim pre-RLO %%changelog entries.
* Sun Mar 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-8
- Rebuild for VDR 1.3.45.
- Disable mp3 plugin, it doesn't work properly with NPTL (#844).
* Sat Mar 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-7
- Get rid of superfluous direct dependency on zlib (#813).
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.9.14-6
- drop 0.lvn from release
* Wed Mar 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.6
- Rebuild for VDR 1.3.44.
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Sun Feb 19 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.5
- Rebuild for VDR 1.3.43.
* Sun Feb 5 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.4
- Rebuild for VDR 1.3.42.
* Sun Jan 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.3
- Fix button translations with VDR >= 1.3.38.
- Add mplayer-minimal.sh, an alternative MPlayer launcher script.
- Rebuild for VDR 1.3.40.
* Sun Jan 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.2
- Rebuild for VDR 1.3.39.
* Sun Jan 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.9.14-0.lvn.1
- 0.9.14.
- Patch to fix build with gcc 4.1.
- Rebuild for VDR 1.3.38.
* Mon Nov 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.10
- Rebuild for VDR 1.3.37.
* Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.9
- Rebuild for VDR 1.3.36.
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.8
- Rebuild for VDR 1.3.35.
* Mon Oct 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.7
- Rebuild for VDR 1.3.34.
* Sun Sep 25 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.6
- Rebuild for VDR 1.3.33.
* Sun Sep 11 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.5
- Rebuild for VDR 1.3.32.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.4
- Rebuild for VDR 1.3.31.
* Sun Aug 21 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.3
- Rebuild for VDR 1.3.30.
- Add audiodir to mp3sources.conf.
* Tue Aug 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.2
- Try to avoid build system problems by not using %%expand with vdr-config.
* Sat Aug 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.13-1.lvn.1
- Improve descriptions, convert docs to UTF-8.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:28 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:53:13 -0000 1.2
@@ -0,0 +1,2 @@
+mplayer.sh-0.8.7.tar.gz
+vdr-mp3-0.10.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:28 -0000 1.1
+++ sources 4 Aug 2008 19:53:13 -0000 1.2
@@ -0,0 +1,2 @@
+cc2e48d4787b7ee739a0a8bb5b8c9fb2 mplayer.sh-0.8.7.tar.gz
+ca43583a7ccc9491bf24362dd6bebf4b vdr-mp3-0.10.1.tar.gz
16 years, 3 months