Browse Source

added many self-build-* specs

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@615 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
be6bccb64f
38 changed files with 8581 additions and 4 deletions
  1. 7 1
      nonfree/self-build-a52dec/a52dec-vl.spec
  2. 13 3
      nonfree/self-build-a52dec/self-build-a52dec-vl.spec
  3. 409 0
      nonfree/self-build-avidemux/avidemux-vl.spec
  4. 212 0
      nonfree/self-build-avidemux/self-build-avidemux-vl.spec
  5. 185 0
      nonfree/self-build-faac/faac-vl.spec
  6. 183 0
      nonfree/self-build-faac/self-build-faac-vl.spec
  7. 152 0
      nonfree/self-build-faad2/faad2-vl.spec
  8. 136 0
      nonfree/self-build-faad2/self-build-faad2-vl.spec
  9. 198 0
      nonfree/self-build-ffmpeg-mh/ffmpeg-mh-vl.spec
  10. 208 0
      nonfree/self-build-ffmpeg-mh/self-build-ffmpeg-mh-vl.spec
  11. 259 0
      nonfree/self-build-ffmpeg/ffmpeg-vl.spec
  12. 256 0
      nonfree/self-build-ffmpeg/self-build-ffmpeg-vl.spec
  13. 84 0
      nonfree/self-build-ffmpeg2theora/ffmpeg2theora-vl.spec
  14. 137 0
      nonfree/self-build-ffmpeg2theora/self-build-ffmpeg2theora-vl.spec
  15. 341 0
      nonfree/self-build-gpac/gpac-vl.spec
  16. 199 0
      nonfree/self-build-gpac/self-build-gpac-vl.spec
  17. 448 0
      nonfree/self-build-gstreamer-plugins-bad/gstreamer-plugins-bad-vl.spec
  18. 178 0
      nonfree/self-build-gstreamer-plugins-bad/self-build-gstreamer-plugins-bad-vl.spec
  19. 241 0
      nonfree/self-build-gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg-vl.spec
  20. 154 0
      nonfree/self-build-gstreamer-plugins-ffmpeg/self-build-gstreamer-plugins-ffmpeg-vl.spec
  21. 320 0
      nonfree/self-build-gstreamer-plugins-ugly/gstreamer-plugins-ugly-vl.spec
  22. 156 0
      nonfree/self-build-gstreamer-plugins-ugly/self-build-gstreamer-plugins-ugly-vl.spec
  23. 195 0
      nonfree/self-build-kino/kino-vl.spec
  24. 156 0
      nonfree/self-build-kino/self-build-kino-vl.spec
  25. 165 0
      nonfree/self-build-libdvdcss/libdvdcss-vl.spec
  26. 131 0
      nonfree/self-build-libdvdcss/self-build-libdvdcss-vl.spec
  27. 152 0
      nonfree/self-build-libmad/libmad-vl.spec
  28. 137 0
      nonfree/self-build-libmad/self-build-libmad-vl.spec
  29. 131 0
      nonfree/self-build-libmp4v2/libmp4v2-vl.spec
  30. 141 0
      nonfree/self-build-libmp4v2/self-build-libmp4v2-vl.spec
  31. 167 0
      nonfree/self-build-libquicktime/libquicktime-vl.spec
  32. 150 0
      nonfree/self-build-libquicktime/self-build-libquicktime-vl.spec
  33. 405 0
      nonfree/self-build-mplayer/mplayer-vl.spec
  34. 333 0
      nonfree/self-build-mplayer/self-build-mplayer-vl.spec
  35. 315 0
      nonfree/self-build-vlc/self-build-vlc-vl.spec
  36. 1187 0
      nonfree/self-build-vlc/vlc-vl.spec
  37. 176 0
      nonfree/self-build-x264/self-build-x264-vl.spec
  38. 164 0
      nonfree/self-build-x264/x264-vl.spec

+ 7 - 1
nonfree/self-build-a52dec/a52dec-vl.spec

@@ -1,6 +1,6 @@
 Name: a52dec
 Name: a52dec
 Version: 0.7.4
 Version: 0.7.4
-Release: 4%{?_dist_release}
+Release: 6%{?_dist_release}
 Summary: ATSC A/52 decoding library
 Summary: ATSC A/52 decoding library
 Summary(ja): ATSC A/52 デコーディングライブラリ
 Summary(ja): ATSC A/52 デコーディングライブラリ
 License: GPLv2
 License: GPLv2
@@ -80,6 +80,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 
 
 
 
 %changelog
 %changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-6
+- change release to sync with self-build-a52dec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-5
+- change release to sync with self-build-a52dec
+
 * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
 * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
 - dropped some tags: 
 - dropped some tags: 
   - Autoprov: on
   - Autoprov: on

+ 13 - 3
nonfree/self-build-a52dec/self-build-a52dec-vl.spec

@@ -1,7 +1,7 @@
 %define pkgname a52dec
 %define pkgname a52dec
 %define name	self-build-%{pkgname}
 %define name	self-build-%{pkgname}
 %define version 0.7.4
 %define version 0.7.4
-%define release 4%{?_dist_release}
+%define release 6%{?_dist_release}
 
 
 %define sourceurl http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz
 %define sourceurl http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz
 
 
@@ -10,7 +10,7 @@ Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケ
 Name:		%{name}
 Name:		%{name}
 Version:	%{version}
 Version:	%{version}
 Release: 	%{release}
 Release: 	%{release}
-Source0:	a52dec.spec
+Source0:	a52dec-vl.spec
 Source10:	a52dec-configure-optflags.patch
 Source10:	a52dec-configure-optflags.patch
 Source11:	a52dec-0.7.4-rpath64.patch
 Source11:	a52dec-0.7.4-rpath64.patch
 License:	GPLv2
 License:	GPLv2
@@ -79,6 +79,9 @@ a/52 標準では、さまざまなアプリケーションで使用され、デ
 や形態に応じて各自で判断し適切な対応を取ってください。
 や形態に応じて各自で判断し適切な対応を取ってください。
 
 
 
 
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
 %install
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
@@ -90,7 +93,7 @@ a/52 標準では、さまざまなアプリケーションで使用され、デ
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 
 %posttrans
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}.spec "%{sourceurl}"
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl}" 25000
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
                                  %{pkgname}-devel-%{version}-%{release}
                                  %{pkgname}-devel-%{version}-%{release}
 
 
@@ -99,6 +102,13 @@ a/52 標準では、さまざまなアプリケーションで使用され、デ
 %{_datadir}/self-build-a52dec
 %{_datadir}/self-build-a52dec
 
 
 %changelog
 %changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-6
+- renamed %%{Source0} to a52dec-vl.spec
+- check version between original spec and self-build spec in %%prep
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-5
+- applied a progress bar to show approximately building time
+
 * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
 * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4
 - change release to sync with a52dec.spec
 - change release to sync with a52dec.spec
 
 

+ 409 - 0
nonfree/self-build-avidemux/avidemux-vl.spec

@@ -0,0 +1,409 @@
+%define _pkgbuilddir %{_builddir}/%{name}_%{version}
+
+Name:           avidemux
+Version:        2.5.2
+Release:        2%{?_dist_release}
+Summary:        Graphical video editing and transcoding tool
+
+Group:          Applications/Multimedia
+License:        GPLv2+
+URL:            http://www.avidemux.org/
+Source0:        http://download.berlios.de/avidemux/avidemux_%{version}.tar.gz
+Source1:        %{name}-gtk.desktop
+Source2:        %{name}-qt.desktop
+# Patch0 obtained from avidemux-2.5.0-patches-1.tar.bz2:
+# http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/avidemux-2.5.0-patches-1.tar.bz2
+Patch0:         2.5.0-coreImage-parallel-build.patch
+Patch1:         avidemux-2.5-pulseaudio-default.patch
+Patch2:         avidemux-2.4-qt4.patch
+Patch3:         avidemux-2.5-i18n.patch
+Patch4:         avidemux-2.5-libmpeg2enc-altivec.patch
+Patch5:         avidemux-2.5-checkfunction-includes.patch
+Patch6:         avidemux-2.5.1-tmplinktarget.patch
+
+## Vine customization patches
+Patch10:         avidemux-2.4.3-alsa-device-default.patch
+Patch11:         avidemux-2.5.2-no-qt4-ui.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+Requires:       %{name}-cli  = %{version}
+Requires:       %{name}-gui = %{version}
+Obsoletes:      %{name}-qt < 2.5.0
+
+# *-devel pacages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+
+# Compiling
+BuildRequires:	cmake
+#BuildRequires:  gettext-devel
+BuildRequires:  gettext
+
+# Libraries
+BuildRequires:  nasm >= 0.98.38
+BuildRequires:  libxml2-devel >= 2.6.8
+BuildRequires:  fontconfig-devel
+#BuildRequires:  freetype-devel
+BuildRequires:  freetype2-devel
+BuildRequires:  js-devel
+BuildRequires:  libXv-devel
+BuildRequires:  libXmu-devel
+# Required by gtk: libXi-devel, libXext-devel, libX11-devel
+# Required by qt: libXt-devel, libXext-devel, libX11-devel
+BuildRequires:	libsamplerate-devel
+BuildRequires:	jack-audio-connection-kit-devel
+
+# Sound out
+BuildRequires:  alsa-lib-devel >= 1.0.3
+BuildRequires:  esound-devel >= 0.2.0
+BuildRequires:  pulseaudio-libs-devel
+
+# Video out 
+BuildRequires:  SDL-devel >= 1.2.7
+
+# Audio Codecs
+#BuildRequires:  a52dec-devel >= 0.7.4
+#BuildRequires:  faac-devel >= 1.24
+#BuildRequires:  faad2-devel >= 2.0
+#BuildRequires:  lame-devel >= 3.96.1
+#BuildRequires:  libmad-devel >= 0.15.1
+BuildRequires:  libogg-devel >= 1.1
+BuildRequires:  libvorbis-devel >= 1.0.1
+# BuildRequires:  self-build-a52dec >= 0.7.4
+# BuildRequires:  self-build-faac >= 1.24
+# BuildRequires:  self-build-faad2 >= 2.0
+# BuildRequires:  self-build-lame >= 3.96.1
+# BuildRequires:  self-build-libmad >= 0.15.1
+#BuildRequires:  libdca-devel
+# BuildRequires:  self-build-libdca
+
+# Video Codecs
+#BuildRequires:  xvidcore-devel >= 1.0.2
+#BuildRequires:  x264-devel
+#BuildRequires:  ffmpeg-devel
+# BuildRequires:  self-build-xvidcore >= 1.0.2
+# BuildRequires:  self-build-x264
+# BuildRequires:  self-build-ffmpeg
+
+# FIXME: aften not packaged, add BR when it is
+
+# Finally...
+BuildRequires:  desktop-file-utils
+
+%description
+Avidemux is a free video editor designed for simple cutting, filtering and
+encoding tasks. It supports many file types, including AVI, DVD compatible
+MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated
+using projects, job queue and powerful scripting capabilities.
+
+For compatability reasons, avidemux is a meta-package which installs the
+graphical, command line and plugin packages. If you want a smaller setup,
+you may selectively install one or more of the avidemux-* subpackages.
+
+%package cli
+Summary:        CLI for %{name}
+Group:          Applications/Multimedia
+Requires:       %{name} = %{version}-%{release}
+
+%description cli
+This package provides a command-line interface to editing videos with %{name}.
+
+%package gtk
+Summary:        GTK interface for %{name}
+Group:          Applications/Multimedia
+BuildRequires:  gtk2-devel >= 2.8.0
+BuildRequires:  cairo-devel
+# Slightly higher so it is default, but it can be avoided by installing
+# avidemux-qt directly or it can be removed later once avidemux-qt is installed
+Provides:       %{name}-gui = %{version}-%{release}.1
+Requires:       %{name} = %{version}-%{release}
+
+%description gtk
+This package provides the GTK graphical interface for %{name}.
+
+%if %{?with_qt_ui:1} %{!?with_qt_ui:0}
+%package qt
+Summary:        Qt interface for %{name}
+Group:          Applications/Multimedia
+# 4.5.0-9 fixes a failure when there are duplicate translated strings
+# https://bugzilla.redhat.com/show_bug.cgi?id=491514
+BuildRequires:  qt4-devel >= 4.5.0-9
+BuildRequires:  qt4-designer
+Provides:       %{name}-gui = %{version}-%{release}
+Requires:       %{name} = %{version}-%{release}
+
+%description qt
+This package contains the Qt graphical interface for %{name}.
+%endif
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+This package contains files required to develop with or extend %{name}.
+
+%prep
+%__rm -rf $RPM_BUILD_ROOT
+
+%setup -q -n avidemux_%{version}
+
+# change hardcoded libdir paths
+%ifarch x86_64 ppc64
+sed -i.bak 's/startDir="lib";/startDir="lib64";/' avidemux/ADM_core/src/ADM_fileio.cpp
+sed -i.bak 's/startDir="lib";/startDir="lib64";/' avidemux/main.cpp
+%endif
+
+%patch0 -p1 -b .parallel
+%patch1 -p1 -b .pulse
+%patch2 -p1 -b .qt4
+%patch3 -p1 -b .i18n
+%patch4 -p1 -b .altivec
+%patch5 -p1 -b .cfincludes
+#%patch6 -p1 -b .tmplinktarget
+
+#%patch10 -p1 -b .alsa
+%{!?with_qt_ui:%patch11 -p1 -b .qt4}
+
+%build
+# Out of source build
+%__mkdir_p build && cd build
+%cmake -DAVIDEMUX_INSTALL_PREFIX=%{_prefix} \
+       -DAVIDEMUX_SOURCE_DIR="%{_pkgbuilddir}" \
+       -DAVIDEMUX_CORECONFIG_DIR="%{_pkgbuilddir}/build/config" \
+       ..
+%__make %{?_smp_mflags}
+# Create the temp link directory manuall since otherwise it happens too early
+%__mkdir_p %{_pkgbuilddir}/build/%{_lib}
+find %{_pkgbuilddir}/build/avidemux -name '*.so*' | \
+     xargs ln -sft %{_pkgbuilddir}/build/%{_lib}
+
+%__mkdir_p ../build_plugins && cd ../build_plugins
+%cmake -DAVIDEMUX_INSTALL_PREFIX="%{_pkgbuilddir}/build/" \
+       -DAVIDEMUX_SOURCE_DIR="%{_pkgbuilddir}" \
+       -DAVIDEMUX_CORECONFIG_DIR="%{_pkgbuilddir}/build/config" \
+       ../plugins
+%__make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# Temporary workaround since the i18n files aren't being built
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
+
+make -C build install DESTDIR=$RPM_BUILD_ROOT
+make -C build_plugins install DESTDIR=$RPM_BUILD_ROOT
+# Install the build configuration for devel package
+install -d -m755 $RPM_BUILD_ROOT%{_includedir}
+install -m644 build/config/ADM_coreConfig.h $RPM_BUILD_ROOT%{_includedir}/ADM_coreConfig.h
+
+# Find and remove all la files
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec %__rm -f {} ';'
+
+# Install .desktop shortcuts
+desktop-file-install --vendor vine \
+    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+    %{SOURCE1}
+
+desktop-file-install --vendor vine \
+    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+    %{SOURCE2}
+
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec %__rm -f {} ';'
+%find_lang %{name}
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog History README TODO
+%{_datadir}/%{name}/
+%{_datadir}/ADM_scripts/
+%{_libdir}/libADM*
+%{_libdir}/ADM_plugins/
+
+%files cli
+%defattr(-,root,root,-)
+%{_bindir}/avidemux2_cli
+
+%files gtk
+%defattr(-,root,root,-)
+%{_bindir}/avidemux2_gtk
+%{_datadir}/applications/*gtk*.desktop
+
+%if %{?with_qt_ui:1} %{!?with_qt_ui:0}
+%files qt
+%defattr(-,root,root,-)
+#{_datadir}/%{name}/i18n/
+%{_bindir}/avidemux2_qt4
+%{_datadir}/applications/*qt*.desktop
+%endif
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ADM_coreConfig.h
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5.2-2
+- change release to sync with self-build-avidemux
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5.2-1
+- new upstream release
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.4-1
+- new upstream release
+  - update patches accordingly
+  - build with x264 >= 0.0.0-9.20090522
+- dropped avidemux-2.4.3-ppc.patch, avidemux-x264.patch
+
+* Sat Feb 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 2.4.3-7
+- corrected release number
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-5
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel
+- changed to PreReq:  self-build-libmad >= 0.15.1 from libmad-devel
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-4
+- change release to sync with self-build-avidemux
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-3
+- added avidemux-x264.patch from Gentoo
+
+* Mon Dec 08 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-2
+- applied avidemux-2.4.3-alsa-device-default.patch
+
+* Mon Nov 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-1
+- initial build based on RPM Fusion of Fedora package
+  - changed to BuildRequires: gettext from gettext-devel
+  - added BuildRequires: qt4-designer for gtk subpackage
+  - dropped avidemux-2.4.3-qt4.patch
+  
+* Thu Sep 18 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.3-5
+- Add CMake patch for PPC64
+- Update patches for 2.4.3
+- Remove outdated libmad patch (Nov. 2007)
+
+* Thu Sep 18 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.3-4
+- Add another patch to fix ppc64 build (pointer type), first
+  patch was for libmad
+
+* Fri Aug 22 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.3-3
+- Add patch to fix ppc64 build
+
+* Sat Aug 16 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.3-2
+- retag
+
+* Sat Aug 16 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.3-1
+- Update to 2.4.3
+
+* Tue Aug 12 2008 Stewart Adam <s.adam at diffingo.com> - 2.4.2-3
+- ppc64 uint_32 fun
+
+* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.4.2-2
+- rebuild
+
+* Sat Jul 19 2008 Thorsten Leemhuis <s.adam at diffingo.com> - 2.4.2-1
+- Update to 2.4.2
+
+* Wed May 21 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4.1-3.20080521svn
+- Disable --new-faad
+- 20080521 subversion snapshot
+
+* Sat Mar 15 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4.1-2
+- Disable %%{?_smp_mflags}
+
+* Sat Mar 15 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4.1-1
+- Update to 2.4.1
+- Don't list the bin files twice, revisited
+- Default to GTK frontend
+
+* Wed Feb 20 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-6.20080126svn
+- Make pulseaudio default for sound out
+- Don't list the bin files twice
+- Don't build with arts support
+
+* Fri Feb 15 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-5.20080126svn
+- Don't list the .desktop files twice (bz#1870)
+- Oops, we should have %%{svndate}svn in release tag!
+
+* Sat Feb 2 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-4
+- F-8/F-7 x86_64 does seem to need --with-newfaad
+
+* Fri Feb 1 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-3
+- Update to version 2.4 (20080126svn) and include fixes from devel branch
+
+* Mon Jan 14 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-2
+- Fix many copy/paste errors and desktop file's Exec field
+
+* Sun Jan 13 2008 Stewart Adam <s.adam AT diffingo DOT com> - 2.4-1
+- Update to 2.4 final
+- Split up desktop files and make them pass desktop-file-validate
+- Add structure to split into gtk and qt pacakges
+- Disable qt4 for now, doesn't compile
+
+* Sun Oct 7 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info>3- 2.3.0-4.3
+- move js-include to a place where it is honored
+
+* Sun Oct 7 2007 Stewart Adam <s.adam AT diffingo DOT com> - 2.3.0-4.2
+- Fix macro problem
+- Fix changelog date
+- Rebuild with faad, but don't pass --newfaad
+
+* Sun Oct 7 2007 Stewart Adam <s.adam AT diffingo DOT com> - 2.3.0-4.1
+- Rebuild with no faad
+
+* Sat Oct 6 2007 Stewart Adam <s.adam AT diffingo DOT com> - 2.3.0-4
+- Rebuild for ffmpeg dependency problems
+- Update License: tag per Fedora guidelines
+
+* Sat Jan 13 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.3.0-3
+- more features with new BR's: x264-devel libXv-devel
+- make a note regarding the libdca-devel problem
+- remove the "0:" from the versioned BR's
+
+* Thu Jan 04 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.3.0-2
+- don't use smp_mflags during make for now
+
+* Sat Dec 23 2006 kwizart < kwizart at gmail.com > - 2.3.0-1
+- Update to 2.3.0 Final
+- Use find_lang
+
+* Mon Apr 03 2006 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.1.2-1
+- Update to 2.1.2
+
+* 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
+
+* Wed Jan 04 2006 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.0-0.lvn.1
+- Update to 2.1.0
+- Drop epoch
+- gtk 2.6 now, so drop FC3 support
+
+* Sat Aug 27 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.42-0.lvn.3
+- Remove bogus BR ffmpeg-devel (#555)
+
+* Thu Jul 09 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.42-0.lvn.2
+- Add missing BR desktop-file-utils (thanks to ixs)
+
+* Thu Jul 07 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.42-0.lvn.1
+- Update to 2.0.42
+
+* Sat Jan 22 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.36-0.lvn.1
+- Update to 2.0.34
+- Rename package to avidemux -- no need for avidemux2 afaics
+
+* Sun Nov 21 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.34-0.lvn.1.test1
+- Update to 2.0.34-test1
+- BR gettext, libtool
+
+* Tue Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.0.30-0.lvn.1
+- Initial RPM release.

+ 212 - 0
nonfree/self-build-avidemux/self-build-avidemux-vl.spec

@@ -0,0 +1,212 @@
+%define pkgname avidemux
+%define name    self-build-%{pkgname}
+%define version 2.5.2
+%define release 2%{?_dist_release}
+
+%define source0path	%{pkgname}/%{pkgname}_%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+
+Obsoletes:      %{pkgname}-qt < 2.5.0
+
+Source0:	%{pkgname}-vl.spec
+Source1:        %{pkgname}-gtk.desktop
+Source2:        %{pkgname}-qt.desktop
+
+Source100:         2.5.0-coreImage-parallel-build.patch
+Source101:         avidemux-2.5-pulseaudio-default.patch
+Source102:         avidemux-2.4-qt4.patch
+Source103:         avidemux-2.5-i18n.patch
+Source104:         avidemux-2.5-libmpeg2enc-altivec.patch
+Source105:         avidemux-2.5-checkfunction-includes.patch
+Source106:         avidemux-2.5.1-tmplinktarget.patch
+
+Source110:         avidemux-2.4.3-alsa-device-default.patch
+Source111:         avidemux-2.5.2-no-qt4-ui.patch
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):	cmake
+Requires(post):  gettext
+Requires(post):  nasm >= 0.98.38
+Requires(post):  libxml2-devel >= 2.6.8
+Requires(post):  fontconfig-devel
+Requires(post):  freetype2-devel
+Requires(post):  js-devel
+Requires(post):  libXv-devel
+Requires(post):  libXmu-devel
+Requires(post):	libsamplerate-devel
+Requires(post):	jack-audio-connection-kit-devel
+Requires(post):  alsa-lib-devel >= 1.0.3
+Requires(post):  esound-devel >= 0.2.0
+Requires(post):  SDL-devel >= 1.2.7
+Requires(post):  libogg-devel >= 1.1
+Requires(post):  libvorbis-devel >= 1.0.1
+Requires(post):  self-build-faad2 >= 2.0
+Requires(post):  self-build-libmad >= 0.15.1
+Requires(post):  self-build-a52dec >= 0.7.4
+Requires(post):  self-build-faac >= 1.24
+Requires(post):  self-build-lame >= 3.96.1
+Requires(post):  self-build-libdca
+Requires(post):  self-build-xvidcore >= 1.0.2
+Requires(post):  self-build-x264 >= 0.0.0-9.20090522
+Requires(post):  self-build-ffmpeg
+Requires(post):  desktop-file-utils
+Requires(post):  gtk2-devel >= 2.8.0
+Requires(post):  cairo-devel
+Requires(post):  qt4-devel
+Requires(post):  qt4-designer
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+Avidemux is a free video editor designed for simple cutting, filtering and
+encoding tasks. It supports many file types, including AVI, DVD compatible
+MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated
+using projects, job queue and powerful scripting capabilities.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+Avidemux は簡単なカット,フィルターリング,エンコード作業のために
+デザインされたフリーな動画エディターです.
+種々のコーデックを使い,AVI, DVD 互換 MPEG, MP4, ASF を含む
+たくさんのファイル形式に対応しています.
+タスクは,プロジェクトやジョブキュー,強力なスクリプト処理により
+自動的に行われます.
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE100} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE101} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE102} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE103} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE104} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE105} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE106} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE110} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE111} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec \
+    http://download{,2}.berlios.de/%{source0path} 3110000
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5.2-2
+- renamed %%{Source0} to avidemux-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5.2-1
+- new upstream release
+  - update patches accordingly
+  - added Obsoletes: %{pkgname}-qt < 2.5.0
+- applied a progress bar to show approximately building time
+
+* Sun Sep 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2.4.4-2
+- applied avidemux-2.4.4-cmake.patch
+- check version between original spec and self-build spec in %%prep
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 2.4.4-1
+- new upstream release
+  - update patches accordingly
+  - build with x264 >= 0.0.0-9.20090522
+- dropped avidemux-2.4.3-ppc.patch, avidemux-x264.patch
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sat Feb 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 2.4.3-7
+- corrected release number in avidemux.spec
+- dropped ExclusiveArch:	
+
+* Fri Feb 13 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.3-6
+- add ppc to ExclusiveArch
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-5
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel
+- changed to PreReq:  self-build-libmad >= 0.15.1 from libmad-devel
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-4
+- fixed %%files section
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-3
+- added avidemux-x264.patch from Gentoo
+
+* Mon Dec 08 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-2
+- applied avidemux-2.4.3-alsa-device-default.patch
+
+* Mon Nov 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.4.3-1
+- initial build based on RPM Fusion of Fedora package
+  - changed to BuildRequires: gettext from gettext-devel
+  - added BuildRequires: qt4-designer for gtk subpackage
+  - dropped avidemux-2.4.3-qt4.patch
+
+### end of file

+ 185 - 0
nonfree/self-build-faac/faac-vl.spec

@@ -0,0 +1,185 @@
+%define name faac
+%define version 1.28
+%define release 7%{?_dist_release}
+
+%define enable_libmp4v2_external 1
+
+Summary: Reference encoder and encoding library for MPEG2/4 AAC
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Source: http://prdownloads.sourceforge.net/faac/faac-%{version}.tar.bz2
+Patch0: http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-libs/faac/files/faac-1.28-external-libmp4v2.patch
+## this patch is based on http://launchpadlibrarian.net/33120980/mp4v2-strcasestr.diff
+Patch1: mp4v2-strcasestr-vine.diff
+License: LGPLv2+
+Group: Applications/Multimedia
+URL: http://www.audiocoding.com/
+
+BuildRequires: nkf
+BuildRequires: autoconf, automake, libtool, gcc-c++ 
+%if %{enable_libmp4v2_external}
+# *-devel pacages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+# BuildRequires: libmp4v2-devel
+%endif
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW
+COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports
+multichannel and gapless encoding.
+
+%package devel
+Summary: Development libraries of the FAAC AAC encoder
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+FAAC is an AAC audio encoder. It currently supports MPEG-4 LTP, MAIN and LOW
+COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It also supports
+multichannel and gapless encoding.
+
+This package contains development files and documentation for libfaac.
+
+
+%if !%{enable_libmp4v2_external}
+%package -n libmp4v2
+Summary:        Library for working with files using the mp4 container format
+Group:          System Environment/Libraries
+
+%description -n libmp4v2
+The libmp4v2 library provides an abstraction layer for working with files
+using the mp4 container format. This library is developed by mpeg4ip project
+and is an exact copy of the library distributed in the mpeg4ip package.
+
+This package is built with libmp4v2 internal from %{name}-%{version}-%{release}.
+
+%package -n libmp4v2-devel
+Summary:        Development files for the mp4v2 library
+Group:          Development/Libraries
+Requires:       libmp4v2 = %{version}-%{release}
+
+%description -n libmp4v2-devel
+The libmp4v2 library provides an abstraction layer for working with files
+using the mp4 container format. This library is developed by mpeg4ip project
+and is an exact copy of the library distributed in the mpeg4ip package.
+
+This package contains development files for libmp4v2.
+
+This package is built with libmp4v2 internal from %{name}-%{version}-%{release}.
+%endif
+
+
+%prep
+%setup -q
+#find . -type f -print|xargs nkf --unix --overwrite 
+%if %{enable_libmp4v2_external}
+%patch0 -p1 -b .mp4v2
+%patch1 -p1 -b .mp4v2
+#touch -r configure.in.mp4v2 configure.in
+%endif
+
+# # avoid to append the string "2005-02-02" to the tag Requires:
+# chmod 644 ChangeLog
+
+# # modify configure.in to escape error
+# %__mv configure.in configure.in.org
+# %__sed -e 's/^CFLAGS=.*$/CFLAGS="-O2 -Wall"/' configure.in.org > configure.in
+
+
+%build
+sh bootstrap
+%configure \
+    --disable-static \
+%if !%{enable_libmp4v2_external}
+    --with-mp4v2
+%endif
+   
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig 2>/dev/null
+
+%postun
+/sbin/ldconfig 2>/dev/null
+
+
+%files 
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO docs/*
+%{_bindir}/*
+%{_libdir}/*.so.*
+%{_mandir}/man1/%{name}*
+
+%files devel
+%defattr(-,root,root,-)
+%exclude %{_libdir}/*.la
+%{_libdir}/*.so
+%{_includedir}/*.h
+
+%if !%{enable_libmp4v2_external}
+%files -n libmp4v2
+%defattr(-,root,root,-)
+%{_libdir}/libmp4v2.so.*
+
+%files -n libmp4v2-devel
+%defattr(-,root,root,-)
+%{_libdir}/libmp4v2.so
+%{_libdir}/libmp4v2.a
+%endif
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-7
+- change release to sync with self-build-faac
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-6
+- applied mp4v2-strcasestr.diff from lauchpad
+  - fixed wrong declaration of strcasestr() in mpeg4ip.h
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-5
+- rebuilt with mp4v2 v1.9.1
+  - applied faac-1.28-external-libmp4v2.patch from Gentoo Linux
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-4
+- change release to sync with self-build-faac
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-3
+- added BuildRequires: nkf
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-2
+- change release to sync with self-build-faac
+
+* Fri Mar 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-1
+- new upstream release
+
+* Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.26-2
+- fixed Summary: , %%description
+  - removed internal mp4v2
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.26-1
+- new upstream release
+- added --disable-static in %%configure
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.25-2
+- spec in utf8
+- remove *.la
+
+* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.25-1
+- apply new versioning policy
+
+* Sat Mar 8 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.25-0vl1
+- initial build 
+
+### end of file

+ 183 - 0
nonfree/self-build-faac/self-build-faac-vl.spec

@@ -0,0 +1,183 @@
+%define pkgname faac
+%define name	self-build-%{pkgname}
+%define version 1.28
+%define release	7%{?_dist_release}
+
+%define enable_libmp4v2_external 1
+
+%define sourceurl0	http://prdownloads.sourceforge.net/faac/%{pkgname}-%{version}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source10:	http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-libs/faac/files/faac-1.28-external-libmp4v2.patch
+Source11:	mp4v2-strcasestr-vine.diff
+
+License:	LGPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires(post):		nkf
+Requires(post):		autoconf, automake, libtool, gcc-c++
+%if %{enable_libmp4v2_external}
+Requires(post):         self-build-libmp4v2
+%endif
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+FAAC is an AAC audio encoder. It currently supports MPEG-4 
+LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW
+MPEG-2 object types. It also supports multichannel and 
+gapless encoding.
+
+%if !%{enable_libmp4v2_external}
+The libmp4v2 library provides an abstraction layer for
+working with files using the mp4 container format. This
+library is developed by mpeg4ip project and is an exact copy
+of the library distributed in the mpeg4ip package.
+%endif
+
+If you install this package, it automatically downloads 
+source code, compile it, and create
+rpm packages of %{pkgname}-%{version} and libmp4v2-%{version}. 
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+FAAC は AAC オーディオエンコーダーです.現在 MPEG-4 LTP, 
+Main/Low Complexity object types, Main/LOW MPEG-2 object 
+types をサポートしています.またマルチチャンネルやギャップ
+レスエンコーディングもサポートしています.
+
+%if !%{enable_libmp4v2_external}
+libmp4v2 ライブラリは mp4 コンテナフォーマットを用いたファイ
+ルで動作するものに対して抽象レイヤーを提供します.このライブ
+ラリは mpeg4ip プロジェクトにより開発されており,mpeg4ip パッ
+ケージに分散されているライブラリの完全なコピーです.
+%endif
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+と libmp4v2-%{version} の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE11} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 25000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-7
+- renamed %%{Source0} to faac-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-6
+- applied mp4v2-strcasestr.diff from lauchpad
+  - fixed wrong declaration of strcasestr() in mpeg4ip.h
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-5
+- rebuilt with mp4v2 v1.9.1
+  - applied faac-1.28-external-libmp4v2.patch from Gentoo Linux
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.28-4
+- applied a progress bar to show approximately building time
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-3
+- added Requires(post): nkf
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-2
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Fri Mar 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.28-1
+- new upstream release
+
+* Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.26-2
+- fixed Summary: , %%description
+  - removed internal mp4v2
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.26-1
+- new upstream release
+- added PreReq: self-build-libmp4v2
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.25-2
+- spec in utf8
+- remove *.la
+
+* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.25-1
+- run pre-allocate-rpm.sh in %%post
+- set PreReq: self-build-setup >= 0.8
+- apply new versioning policy
+
+* Sat Mar 8 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.25-0vl1
+- initial build
+
+### end of file

+ 152 - 0
nonfree/self-build-faad2/faad2-vl.spec

@@ -0,0 +1,152 @@
+%define xmmsinputdir %{_libdir}/xmms/Input
+#%define date	20040923
+
+Summary: Library and frontend for decoding MPEG2/4 AAC
+Summary(ja): MPEG2/4 AAC のデコード用ライブラリおよびフロントエンド
+Name: faad2
+Version: 2.7
+Release: 4%{?_dist_release}
+License: GPLv2+
+Group: Applications/Multimedia
+URL: http://www.audiocoding.com/
+Source: %{name}-%{version}.tar.gz
+#Source: faad2-%{date}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: autoconf, automake, libtool
+BuildRequires: gcc-c++, zlib-devel, sysfsutils-devel
+BuildRequires: id3lib-devel, gtk+-devel
+%{?_with_xmms:BuildRequires: xmms-devel}
+
+%description
+FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
+written from scratch.
+
+%if %{?_with_xmms:1}%{!?_with_xmms:0}
+%package -n xmms-aac
+Summary: X MultiMedia System input plugin to play AAC files
+Group: Applications/Multimedia
+Requires: %{name} = %{version}, xmms, id3lib
+Provides: xmms-%{name} = %{version}-%{release}
+
+%description -n xmms-aac
+This xmms plugin reads AAC files with and without ID3 tags (version 2.x).
+AAC files are MPEG2 or MPEG4 files that can be found in MPEG4 audio files
+(.mp4). MPEG4 files with AAC inside can be read by RealPlayer or Quicktime.
+%endif
+
+
+%package devel
+Summary: Development libraries of the FAAD 2 AAC decoder
+Summary(ja): FAAD 2 AAC デコーダの開発用ライブラリ
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
+written from scratch.
+
+This package contains development files and documentation for libfaad.
+
+
+%prep
+%setup -q
+
+### Required to make automake < 1.7 work
+%{__perl} -pi -e 's|dnl AC_PROG_CXX|AC_PROG_CXX|' configure.in
+
+%build
+# This is what the README.linux file recommends
+autoreconf -vif
+%configure \
+    --disable-static \
+    %{?_with_xmms:--with-xmms} \
+    --with-mpeg4ip \
+    --without-drm
+#    --with--mp4v2 \
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+
+# Remove this wrong include
+#perl -pi -e 's|#include <systems.h>||g' %{buildroot}%{_includedir}/mpeg4ip.h
+
+## remove unuse files
+rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%{_bindir}/*
+%{_libdir}/*.so.*
+
+%if %{?_with_xmms:1}%{!?_with_xmms:0}
+%files -n xmms-aac
+%defattr(-, root, root, 0755)
+%doc plugins/xmms/AUTHORS plugins/xmms/NEWS
+%doc plugins/xmms/README plugins/xmms/TODO
+#%exclude %{xmmsinputdir}/*.a
+%exclude %{xmmsinputdir}/*.la
+%{xmmsinputdir}/*.so
+%endif
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/*
+#%{_libdir}/*.a
+#%{_libdir}/*.la
+%{_libdir}/*.so
+#exclude %{_libdir}/*.la
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-4
+- change release to sync with self-build-faad2
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-3
+- change release to sync with self-build-faad2
+
+* Sat Jan 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-2
+- changed to --without-drm in configure options
+
+* Sun Sep 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.6.1-3
+- change release to sync with self-build-faad2
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.6.1-2
+- applied faad2-cve-2008-4201.patch
+- added %%configure options: --disable-static
+- using %{?_with_xmms}
+
+* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.1-1vl5
+- applied new versioning policy, spec in utf-8
+- removed *.la
+
+* Sun Dec 30 2007 Satoshi MACHINO <machino@vinelinux.org> 2.6.1-0vl1
+- new upstream release
+- dropped patch0
+
+* Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5-1vl1
+- new upstream release based on DAG packages
+  * Fri Dec 15 2006 Matthias Saou <http://freshrpms.net/> 2.5-1 - 5002+/thias
+  - Update to 2.5.
+  - Completely remove xmms/bmp plugin, it's a real mess anyway. Use audacious.
+  - Rip out libmp4v2 too, it's best as a separate package.
+  - Add libsysfs-devel build requirement, as it seems configure checks for it.
+- added Japanese summary
+
+* Wed Nov 10 2004 Satoshi MACHINO <machino@vinelinux.org> 2.0-0.%{date}vl1
+- Built for VineLinux

+ 136 - 0
nonfree/self-build-faad2/self-build-faad2-vl.spec

@@ -0,0 +1,136 @@
+%define pkgname faad2
+%define name	self-build-%{pkgname}
+%define version 2.7
+%define release	4%{?_dist_release}
+
+%define sourceurl0	http://prdownloads.sourceforge.net/faac/%{pkgname}-%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+
+Obsoletes:	faad2 < 2.7, faad2-devel < 2.7
+
+Source0:	%{pkgname}-vl.spec
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post): autoconf, automake, libtool
+Requires(post): gcc-c++, zlib-devel, sysfsutils-devel
+Requires(post): id3lib-devel, gtk+-devel
+%{?_with_xmms:Requires(post): xmms-devel}
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
+written from scratch.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
+written from scratch.
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 40000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-4
+- renamed %%{Source0} to faad2-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-3
+- applied a progress bar to show approximately building time
+
+* Sat Jan 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-2
+- change release to sync with faad2.spec
+
+* Sun Sep 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-1
+- new upstream release
+- check version between original spec and self-build spec in %%prep
+- added Obsoletes: faad2 < 2.7, faad2-devel < 2.7
+  - changed so name to libfaad.so.2
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.6.1-3
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.6.1-2
+- initial bulid for self-build

+ 198 - 0
nonfree/self-build-ffmpeg-mh/ffmpeg-mh-vl.spec

@@ -0,0 +1,198 @@
+%define name ffmpeg-mh
+%define version 0.33
+%define svndate 051130
+%define release 12%{?_dist_release}
+
+%define ffmpeg_mh ffmpeg_%{svndate}
+
+# %define amrnbver 7.1.0.2
+# %define amrwbver 7.0.0.3
+#% define _with_amr 1
+
+%define _with_x264_mh 1
+%define x264_mh x264_051028
+
+Summary: 3GP Converter (Keitai Douga Henkan-kun) for UNIX---FFmpeg Mobile Hack version
+Summary(ja): Windows 用携帯動画変換君(3GP Converter)の UNIX 版
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Source: http://www.nurs.or.jp/~calcium/3gpp/sources/ffmpeg-%{svndate}-%{version}.tar.gz
+# x264_051028.tar.gz: from http://mobilehackerz.jp/contents?plugin=attach&refer=3GPConv%2FSources&openfile=x264_051028.tar.gz
+# on http://mobilehackerz.jp/contents/3GPConv/Sources
+%if %{_with_x264_mh}
+Source1: x264_051028.tar.gz
+%endif
+# Source1: http://ftp.penguin.cz/pub/users/utx/amr/amrnb-%{amrnbver}.tar.bz2
+# Source2: http://ftp.penguin.cz/pub/users/utx/amr/amrwb-%{amrwbver}.tar.bz2
+Patch: http://can.homeunix.org/sw/psp/ffmpeg_psp/ffmpeg-mh-unix.patch
+#Patch1: ffmpeg-mh-include-amr.patch
+Patch2: ffmpeg-mh-0.33-disable-texi2html.patch
+License: GPL
+Group: Applications/Multimedia
+URL: http://www.nurs.or.jp/~calcium/3gpp/
+
+#Requires: 
+BuildRequires: zlib-devel, SDL-devel, imlib2-devel
+#BuildRequires: texi2html
+BuildRequires: libogg-devel, libvorbis-devel, libtheora-devel
+# *-devel pacages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+#BuildRequires: xvidcore-devel, faac-devel, lame-devel
+#BuildRequires: x264-devel, libdca-devel, a52dec-devel, faad2-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a digital
+VCR. It can encode in real time in many formats including MPEG1 audio
+and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
+
+ffmpeg-mh is a 3GP Converter for UNIX. It is a FFmpeg Mobile Hack version 
+under unix, is enoughly customized for many mobiles from original sources 
+of ffmpeg. 
+
+%description -l ja
+FFMpeg は Linux/Unix に対する完全にフリーなインターネットライブ
+オーティオ・ビデオブロードキャスティングソリューションです.
+またデジタル VCR を含んでいます.MPEG1 オーディオ・ビデオ,
+MPEG4, h263, ac3, asf, avi, real, mjpeg, flash を含む
+多様なフォーマットをリアルタイムにエンコードすることができます.
+
+ffmpeg-mh は Windows 用携帯動画変換君(3GP Converter)の UNIX 版です.
+FFmpeg のモバイル端末向けに改良されたバージョンで,オリジナルのソースから
+モバイル向けにたくさん調整されています.
+
+%prep
+%setup -q -n %{ffmpeg_mh}
+%patch -p1
+#%patch1 -p1 -b include
+
+# tar jxvf %{SOURCE1}
+# tar jxvf %{SOURCE2}
+
+## use x264 for Mobile Hack version
+%if %{_with_x264_mh}
+tar zxvf %{SOURCE1}
+%endif
+
+%build
+# ## build amr
+# cd amrnb-%{amrnbver}
+# ./configure \
+#     --prefix=${RPM_BUILD_DIR}/%{ffmpeg_mh} \
+#     --includedir=${RPM_BUILD_DIR}/%{ffmpeg_mh}/include/amr \
+#     --enable-static --disable-shared
+# %{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS"
+# %{__make} install
+# cd ..
+# cd amrwb-%{amrwbver}
+# ./configure \
+#     --prefix=${RPM_BUILD_DIR}/%{ffmpeg_mh} \
+#     --includedir=${RPM_BUILD_DIR}/%{ffmpeg_mh}/include/amr_float \
+#     --enable-static --disable-shared
+# %{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS"
+# %{__make} install
+# cd ..
+
+## build x264 for Mobile Hack version
+%if %{_with_x264_mh}
+cd %{x264_mh}
+./configure \
+    --prefix=${RPM_BUILD_DIR}/%{ffmpeg_mh} \
+    --enable-pthread \
+    --enable-static \
+    --disable-shared
+%__make
+%__make install
+cd ..
+%endif
+
+## configure ffmpeg-mh
+./configure \
+    --prefix=%{_prefix} \
+    --incdir=%{_includedir}/%{name} \
+    --libdir=%{_libdir} \
+    --shlibdir=%{_libdir} \
+    --mandir=%{_mandir} \
+    %{?_with_x264_mh:--extra-cflags=-I${RPM_BUILD_DIR}/%{ffmpeg_mh}/include} \
+    %{?_with_x264_mh:--extra-ldflags=-L${RPM_BUILD_DIR}/%{ffmpeg_mh}/lib} \
+    %{?_with_x264_mh:--enable-x264} \
+    --disable-debug \
+    --enable-mp3lame \
+    --enable-libogg \
+    --enable-vorbis \
+    --enable-faad \
+    --enable-faac \
+    --enable-xvid \
+    --enable-a52 \
+    %{?_with_amr:--enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb} \
+    --enable-pp \
+    --enable-pthreads \
+    --enable-gpl \
+    --enable-static \
+    --disable-shared \
+    --disable-ffserver \
+    --disable-ffplay
+
+## build ffmpeg-mh
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+
+## install ffmpeg-mh
+install -d -m755 %{buildroot}/%{_bindir}
+install -m 755 ffmpeg %{buildroot}/%{_bindir}/%{name}
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/ffmpeg-mh
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.33-12
+- change release to sync with self-build-ffmpeg-mh
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-11
+- rebuild
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-10
+- change release to sync with self-build-ffmpeg-mh
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-9
+- applied ffmpeg-mh-0.33-disable-texi2html.patch
+  - dropped BuildRequires: texi2html
+
+* Sun Feb 8 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-8
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel 
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-7
+- change release to sync with self-build-ffmpeg-mh
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-6
+- added x264_051028 for Mobile Hack version
+- dropped BuildRequires: self-build-x264
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-5
+- spec in utf8
+- droppd BuildRequires: xvidcore-devel, faac-devel, lame-devel
+  BuildRequires: x264-devel, libdca-devel, a52dec-devel
+  (*-devel pacages provided by other self-build-*) in ffmpeg-mh.spec
+
+* Thu Apr 10 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-1vl4
+- build with new versioning policy
+
+* Thu Mar 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl2
+- [self-build-ffmpeg-mh.spec]
+  For all pre-required package that is provied by self-build,  
+  changed to its self-build package
+
+* Tue Mar 11 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl1
+- initial build for Vine Linux 4.2
+  with ffmpeg-051130-0.33
+
+### end of file

+ 208 - 0
nonfree/self-build-ffmpeg-mh/self-build-ffmpeg-mh-vl.spec

@@ -0,0 +1,208 @@
+%define pkgname ffmpeg-mh
+%define name	self-build-%{pkgname}
+%define version 0.33
+%define svndate 051130
+%define release	12%{?_dist_release}
+
+%define ffmpeg_mh ffmpeg_%{svndate}
+
+#%%define sourceurl http://www.nurs.or.jp/~calcium/3gpp/sources/ffmpeg-%{svndate}-%{version}.tar.gz
+
+# %define amrnbver 7.1.0.2
+# %define amrwbver 7.0.0.3
+#% define _with_amr 1
+
+%define _with_x264_mh 1
+%define x264_mh x264_051028
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja):	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release:	%{release}
+Source0:	%{pkgname}-vl.spec
+#Source1:	http://mobilehackerz.jp/contents?plugin=attach&refer=3GPConv%2FSources&openfile=ffmpeg-%{svndate}-%{version}.tar.gz
+Source1:	ffmpeg-%{svndate}-%{version}.tar.gz
+# x264_051028.tar.gz: from http://mobilehackerz.jp/contents?plugin=attach&refer=3GPConv%2FSources&openfile=x264_051028.tar.gz
+# on http://mobilehackerz.jp/contents/3GPConv/Sources
+%if %{_with_x264_mh}
+Source2:        x264_051028.tar.gz
+%endif
+Source10:       ffmpeg-mh-unix.patch
+#Source11:       ffmpeg-mh-include-amr.patch
+Source12:       ffmpeg-mh-0.33-disable-texi2html.patch 
+
+License:	GPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires(post):		zlib-devel, SDL-devel, imlib2-devel
+#Requires(post):	texi2html
+Requires(post):		libogg-devel, libvorbis-devel, libtheora-devel
+Requires(post):		self-build-xvidcore self-build-faac self-build-lame 
+Requires(post):		self-build-libdca self-build-a52dec self-build-faad2
+#Requires(post):		self-build-x264
+##Requires(post):		xvidcore-devel, faac-devel, lame-devel
+##Requires(post):		x264-devel, libdca-devel, a52dec-devel
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a digital
+VCR. It can encode in real time in many formats including MPEG1 audio
+and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
+
+ffmpeg-mh is a 3GP Converter for UNIX. It is a FFmpeg Mobile Hack version 
+under unix, is enoughly customized for many mobiles from original sources 
+of ffmpeg. 
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+Before building this package, you need to install the following 
+self-build packages: 
+self-build-xvidcore self-build-faac self-build-lame self-build-x264 self-build-libdca self-build-a52dec
+
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+FFMpeg は Linux/Unix に対する完全にフリーなインターネットライブ
+オーティオ・ビデオブロードキャスティングソリューションです.
+またデジタル VCR を含んでいます.MPEG1 オーディオ・ビデオ,
+MPEG4, h263, ac3, asf, avi, real, mjpeg, flash を含む
+多様なフォーマットをリアルタイムにエンコードすることができます.
+
+ffmpeg-mh は Windows 用携帯動画変換君(3GP Converter)の UNIX 版です.
+FFmpeg のモバイル端末向けに改良されたバージョンで,オリジナルのソースから
+モバイル向けにたくさん調整されています.
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+このパッケージをビルドするより前に,以下の self-build パッケージを
+インストールしておく必要があります.
+self-build-xvidcore self-build-faac self-build-lame self-build-x264 self-build-libdca self-build-a52dec
+
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%if %{_with_x264_mh}
+%{__install} -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%endif
+%{__install} -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE12} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec 160000
+#/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.33-12
+- renamed %%{Source0} to ffmpeg-mh-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.33-11
+- rebuild
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-10
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-9
+- added BuildArch: noarch
+- added ffmpeg-mh-0.33-disable-texi2html.patch
+  - dropped PreReq: texi2html
+
+* Sun Feb 8 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-8
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel
+
+* Sun Feb 1 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-7
+- fixed %%files section
+
+* Sun Dec 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-6
+- added x264_051028 for Mobile Hack version
+- dropped PreReq: self-build-x264
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-5
+- spec in utf8
+- droppd BuildRequires: xvidcore-devel, faac-devel, lame-devel
+  BuildRequires: x264-devel, libdca-devel, a52dec-devel
+  (*-devel pacages provided by other self-build-*) in ffmpeg-mh.spec
+
+* Thu Apr 10 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-1vl4
+- build with new versioning policy
+
+* Wed Apr 09 2008 Atsushi SHICHI <ats777@gmail.com> 0.33-0vl3
+- add "Source1: ffmpeg-%{svndate}-%{version}.tar.gz",
+  include Source1 in the binary package.
+
+* Tue Mar 11 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl2
+- For all pre-required package that is provied by self-build,  
+  changed to its self-build package
+
+* Tue Mar 11 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl1
+- initial build for Vine Linux 4.2
+  with ffmpeg-051130-0.33
+
+### end of file

+ 259 - 0
nonfree/self-build-ffmpeg/ffmpeg-vl.spec

@@ -0,0 +1,259 @@
+#TODO: Build with openjpeg
+%define name	ffmpeg
+%define version	0.5
+%define svndate	20100216
+%define release	8%{?svndate:.%svndate}%{?_dist_release}
+
+Summary:	Digital VCR and streaming server
+Name:		%{name}
+Version:	%{version}
+Release:	%{release}
+#Source:		%{name}-%{version}.tar.bz2
+Source:		%{name}-%{?svndate:%svndate}.tar.bz2
+Source1:        %{name}-snapshot.sh
+
+# pre-built man files
+Source90:       ffmpeg.1.gz
+Source91:       ffplay.1.gz
+Source92:       ffserver.1.gz
+
+# get rid of textrels on x86_64 in yasm code (from RPM Fusion)
+#Patch0:         %{name}-textrel.patch
+
+License:	GPLv2+
+Group:		Applications/Multimedia
+URL:		http://ffmpeg.org/
+
+BuildRequires:  bzip2-devel
+BuildRequires:	gsm-devel
+BuildRequires:	imlib2-devel
+BuildRequires:	libdc1394-devel
+BuildRequires:	libraw1394-devel
+BuildRequires:	libtheora-devel
+BuildRequires:  libvdpau-devel
+BuildRequires:	libvorbis-devel
+##BuildRequires:  openjpeg-devel
+BuildRequires:	SDL-devel
+BuildRequires:  speex-devel
+##BuildRequires:	texi2html
+BuildRequires:	zlib-devel 
+BuildRequires:	libogg-devel
+%ifarch %{ix86} x86_64
+BuildRequires:	yasm
+%endif
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+#BuildRequires: xvidcore-devel, faac-devel, lame-devel
+#BuildRequires: x264-devel, libdca-devel, a52dec-devel
+#BuildRequires: faad2-devel
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+%description
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a digital
+VCR. It can encode in real time in many formats including MPEG1 audio
+and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
+
+%package libs
+Group: System Environment/Libraries
+Summary: Libraries for %{name}
+Group: System Environment/Libraries
+
+%description libs
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a digital
+VCR. It can encode in real time in many formats including MPEG1 audio
+and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
+
+This package contains the libraries for %{name}.
+
+%package devel
+Summary: Development package for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a digital
+VCR. It can encode in real time in many formats including MPEG1 audio
+and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
+
+This package contains development files for %{name}.
+
+
+%prep
+%setup -q -n %{name}-%{svndate}
+#% setup -q
+#%patch0 -p1 -b .textrel
+
+%build
+%ifarch ppc
+# compile with -mlongcall on ppc/ppc64 (rf804)
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
+%endif
+
+./configure \
+    --prefix=%{_prefix} \
+    --incdir=%{_includedir}/%{name} \
+    --shlibdir=%{_libdir} \
+    --libdir=%{_libdir} \
+    --mandir=%{_mandir} \
+    --arch=%{_target_cpu} \
+%ifarch %{ix86}
+    --cpu=%{_target_cpu} \
+%endif
+%ifarch ppc
+    --cpu=g3 \
+%endif
+    --enable-runtime-cpudetect \
+    --extra-cflags="$RPM_OPT_FLAGS" \
+    %{?_with_opencore_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \
+    --enable-bzlib \
+    --enable-libdc1394 \
+    --enable-libfaac --enable-nonfree \
+    --enable-libfaad \
+    --enable-libgsm \
+    --enable-libmp3lame \
+    %{?_with_openjpeg:--enable-libopenjpeg} \
+    --enable-libtheora \
+    --enable-libvorbis \
+    --enable-libx264 \
+    --enable-libxvid \
+    --enable-x11grab \
+    --enable-avfilter \
+    --enable-avfilter-lavf \
+    --enable-postproc \
+    --enable-swscale \
+    --enable-pthreads \
+    --disable-static \
+    --enable-shared \
+    --enable-gpl \
+    --disable-debug \
+    --disable-stripping
+
+%{__make} %{?_smp_mflags}
+#% {__make}
+#%{__make} documentation
+
+
+%install
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+## install man
+%__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1/
+%__install %{SOURCE90} %{SOURCE91} %{SOURCE92} $RPM_BUILD_ROOT%{_mandir}/man1/
+
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING.* CREDITS Changelog README doc/ffserver.conf
+%{_bindir}/ffmpeg
+%{_bindir}/ffplay
+%{_bindir}/ffserver
+%{_mandir}/man1/ffmpeg.1*
+%{_mandir}/man1/ffplay.1*
+%{_mandir}/man1/ffserver.1*
+%{_datadir}/ffmpeg
+
+
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc MAINTAINERS doc/APIchanges doc/TODO doc/*.txt
+%{_includedir}/ffmpeg
+%{_libdir}/pkgconfig/lib*.pc
+%{_libdir}/lib*.so
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-8.20100216
+- change release to sync with self-build-ffmpeg
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-7.20100216
+- updated source snapshot 20100216
+  - rebuild with recent x264-devel
+- updated pre-built man files: ffmpeg.1 ffplay.1 ffserver.1
+- added BuildRequires:  libvdpau-devel
+
+* Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-6
+- change release to sync with self-build-ffmpeg
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-5
+- change release to sync with self-build-ffmpeg
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-4
+- applied ffmpeg-0.5-disable-texi2html.patch
+  - dropped BuildRequires: texi2html
+
+* Thu Mar 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-3
+- change release to sync with self-build-ffmpeg
+
+* Wed Mar 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-2
+- corrected release number
+
+* Wed Mar 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-1
+- new upstream release
+- added BuildRequires: 
+  - speex-devel
+  - bzip2-devel
+
+* Sat Feb 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090227.8
+- 20090227 snapshot
+
+* Tue Feb 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.7
+- added %%{?_with_amr:%%{_datadir}/%%{name}} in %%files
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.6
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel
+- dropped Requires: a52dec, faad2 in ffmpeg-libs
+
+* Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.5
+- 20090202 snapshot
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090110.4
+- 20090110 snapshot
+- dropped some patches
+
+* Thu Nov 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-15488.1
+- source updated (r15488)
+- fixed License: GPLv2+
+- added BuildRequires: gsm-devel libdc1394-devel libraw1394-devel
+- added BuildRequires: yasm (only %%ix86)
+- applied ffmpeg-cpu.patch (merged from RPM Fusion)
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-11662.3vl4
+- spec in utf8
+
+* Tue May 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.9-11662.2vl4
+- change release to sync with self-build-ffmpeg
+
+* Wed Apr 16 2008 Atsushi SHICHI <ats777@gmail.com> 0.4.9-11662.1vl4
+- drop "Patch100: ffmpeg-vine.patch".
+
+* Mon Apr 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128.1vl4
+- build with new versioning policy
+- change to use svn export from svn checkout on post install
+- fix ffmpeg-vine.patch for libswscale/swscale.c.rej
+
+* Thu Mar 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128vl2
+- [self-build-ffmpeg.spec]
+  For all pre-required package that is provied by self-build,  
+  changed to its self-build package
+
+* Sun Mar 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128vl1
+- initial build for Vine Linux 4.2
+- snapshot 2008/01/28 + some Rev.11662 2008/01/29
+
+### end of file

+ 256 - 0
nonfree/self-build-ffmpeg/self-build-ffmpeg-vl.spec

@@ -0,0 +1,256 @@
+%define gpac_postinstall     \
+    gpac_postinstall_sh=$(mktemp) && \
+    rpm -q --scripts self-build-gpac | \
+    /bin/sed -e 's|posttrans[[:blank:]].*|\#!/bin/bash|' > ${gpac_postinstall_sh} && \
+    /bin/bash ${gpac_postinstall_sh} && /bin/rm -f ${gpac_postinstall_sh}
+
+%define pkgname ffmpeg
+%define name	self-build-%{pkgname}
+%define version 0.5
+%define svndate	20100216
+%define release	8%{?svndate:.%svndate}%{?_dist_release}
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+#Source1:		%{pkgname}-%{version}.tar.bz2
+Source1:		%{pkgname}-%{?svndate:%svndate}.tar.bz2
+Source2:        %{pkgname}-snapshot.sh
+Source90:	ffmpeg.1.gz
+Source91:	ffplay.1.gz
+Source92:	ffserver.1.gz
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+#Requires(post):		subversion
+
+# (build)requies of target package.
+Requires(post):  bzip2-devel
+Requires(post):	gsm-devel
+Requires(post):	imlib2-devel
+Requires(post):	libdc1394-devel
+Requires(post):	libraw1394-devel
+Requires(post):	libtheora-devel
+Requires(post):  libvdpau-devel
+Requires(post):	libvorbis-devel
+##Requires(post):  openjpeg-devel
+Requires(post):	SDL-devel
+Requires(post):  speex-devel
+##Requires(post):	texi2html
+Requires(post):	zlib-devel 
+Requires(post):	libogg-devel
+%ifarch %{ix86} x86_64
+Requires(post):		yasm
+%endif
+Requires(post):		self-build-xvidcore
+Requires(post):		self-build-faac
+Requires(post):		self-build-lame 
+Requires(post):		self-build-x264
+Requires(post):		self-build-libdca
+Requires(post):		self-build-a52dec
+Requires(post):		self-build-faad2
+%{?_with_amr:Requires(post):		amrnb-devel amrwb-devel}
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+FFMpeg is a complete and free Internet live audio and video
+broadcasting solution for Linux/Unix. It also includes a 
+digital VCR. It can encode in real time in many formats 
+including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi,
+real, mjpeg, and flash.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+target software. So it consume more disk space than usual.
+Also installation takes longer time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+FFMpeg は Linux/Unix に対する完全にフリーなインターネットライ
+ブオーティオ・ビデオブロードキャスティングソリューションです.
+またデジタル VCR を含んでいます.MPEG1 オーディオ・ビデオ,
+MPEG4, h263, ac3, asf, avi, real, mjpeg, flash を含む
+多様なフォーマットをリアルタイムにエンコードすることができます.
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -p -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE90} %{SOURCE91} %{SOURCE92} \
+    ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec 505000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-libs-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+## Rebuild gpac with ffmpeg-devel
+# set locale
+case $LANG in
+    ja*)LOCALE=ja ;;
+    *) LOCALE=C ;;
+esac
+
+Rebuild_gpac_C(){
+    echo -n "     "
+    echo "Rebuild gpac with ffmpeg-devel"
+}
+
+Rebuild_gpac_ja(){
+    echo -n "     "
+    echo "ffmpeg-devel で gpac をリビルドします。"
+}
+
+Rebuild_gpac_$LOCALE
+%{gpac_postinstall}
+
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-8.20100216
+- renamed %%{Source0} to ffmpeg-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.5-7.20100216
+- updated source snapshot 20100216
+  - rebuild with recent x264-devel
+- updated pre-built man files: ffmpeg.1 ffplay.1 ffserver.1
+- added BuildRequires:  libvdpau-devel
+
+* Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-6
+- dropped BuildArch: noarch
+- added ffmpeg.1, ffplay.1, ffserver.1
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-5
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-4
+- added BuildArch: noarch
+- added ffmpeg-0.5-disable-texi2html.patch
+  - dropped PreReq: texi2html
+
+* Thu Mar 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-3
+- added %%{gpac_postinstall} in %%post
+
+* Wed Mar 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-2
+- corrected release number
+
+* Wed Mar 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5-1
+- new upstream release
+- added PreReq: 
+  - speex-devel
+  - bzip2-devel
+
+* Tue Feb 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.7
+- change release to sync with ffmpeg
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.6
+- changed to PreReq:  self-build-faad2 >= 2.0 from faad2-devel
+
+* Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090202.5
+- 20090202 snapshot
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-20090110.4
+- 20090110 snapshot
+- dropped some patches
+
+* Sun Dec 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-15488.1
+- source updated (r15488)
+- fixed License: GPLv2+
+- added BuildRequires: gsm-devel libdc1394-devel libraw1394-devel
+- added BuildRequires: yasm (only %%ix86)
+- applied ffmpeg-cpu.patch (merged from RPM Fusion)
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-11662.3vl4
+- spec in utf8
+
+* Tue May 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.9-11662.2vl4
+- run pre-allocate-rpm.sh in %%post
+- set PreReq: self-build-setup >= 0.8
+- change release number
+
+* Wed Apr 16 2008 Atsushi SHICHI <ats777@gmail.com> 0.4.9-11662.1vl4
+- add "Source1: %{pkgname}-%{version}.r%{svnrev}.tar.gz",
+  include Source1 in the binary package.
+- drop "Source100: ffmpeg-vine.patch".
+- drop "PreReq: subversion".
+
+* Mon Apr 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128.1vl4
+- build with new versioning policy
+- change to use svn export from svn checkout on post install
+- fix ffmpeg-vine.patch for libswscale/swscale.c.rej
+
+* Thu Mar 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128vl2
+- For all pre-required package that is provied by self-build,  
+  changed to its self-build package
+  
+* Sun Mar 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.9-0.20080128vl1
+- initial build for Vine Linux 4.2
+- snapshot 2008/01/28 + some Rev.11662 2008/01/29
+
+### end of file

+ 84 - 0
nonfree/self-build-ffmpeg2theora/ffmpeg2theora-vl.spec

@@ -0,0 +1,84 @@
+%define pkg_version	0.25
+%define pkg_release	2%{?_dist_release}
+
+Summary:	Convert any file that ffmpeg can decode to theora
+Summary(ja): 	ffmpeg がデコード可能なファイルを theora に変換するツール
+Name:		ffmpeg2theora
+Version:	%{pkg_version}
+Release: 	%{pkg_release}
+Source0:	http://www.v2v.cc/~j/ffmpeg2theora/%{name}-%{version}.tar.bz2
+License:	GPL
+Group:		Applications/Multimedia
+URL:		http://www.v2v.cc/~j/ffmpeg2theora/
+
+BuildRequires:  scons
+BuildRequires:	libogg-devel, libtheora-devel, libvorbis-devel
+### *-devel pacages provided by other self-build-* should only be listed
+### in self-build-%{name}.spec as PreReq.
+#
+# BuildRequires:	ffmpeg-devel
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+
+%description
+with ffmpeg2theora you can convert any file that ffmpeg can
+decode to theora. right now the settings are hardcoded into
+the binary. 
+
+%description -l ja
+ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル
+でも theora 形式に変換できます。現状、設定情報はハードコードされて
+います。
+
+
+%prep
+
+%setup -q
+
+
+%build
+scons APPEND_CCFLAGS="$RPM_OPT_FLAGS"
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1
+rm -rf $RPM_BUILD_ROOT%{_prefix}/man
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%{_bindir}/ffmpeg2theora
+%{_mandir}/man1/ffmpeg2theora.1.gz
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
+- change release to sync with self-build-ffmpeg2theora
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
+- new upstream release
+  - with recent ffmpeg
+
+* Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
+- change release to sync with self-build-ffmpeg2theora
+
+* Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
+- new upstream release
+- dropped ffmpeg2theora-0.20-new_ffmpeg.patch
+- added BuildRequires: scons
+
+* Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
+- spec in utf8
+
+* Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
+- initial build for Vine Linux

+ 137 - 0
nonfree/self-build-ffmpeg2theora/self-build-ffmpeg2theora-vl.spec

@@ -0,0 +1,137 @@
+%define pkgname ffmpeg2theora
+%define name	self-build-%{pkgname}
+%define version	0.25
+%define release	2%{?_dist_release}
+
+%define sourceurl	http://www.v2v.cc/~j/ffmpeg2theora/%{pkgname}-%{version}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+License:	GPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires(post):		scons
+Requires(post):		libogg-devel, libtheora-devel, libvorbis-devel
+Requires(post):		self-build-ffmpeg
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+ffmpeg2theora is a tool to convert any file that ffmpeg can
+decode to theora.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+ffmpeg2theora は ffmpeg がデコードできるファイルを theora 形式
+に変換するツールです。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 10000
+#/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
+- renamed %%{Source0} to ffmpeg2theora-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
+- new upstream release
+  - with recent ffmpeg
+
+* Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
+- new upstream release
+- dropped ffmpeg2theora-0.20-new_ffmpeg.patch
+- added PreReq: scons
+
+* Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
+- spec in utf8
+
+* Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
+- initial build for Vine Linux.

+ 341 - 0
nonfree/self-build-gpac/gpac-vl.spec

@@ -0,0 +1,341 @@
+%define with_static   1
+
+Name:        gpac
+Summary:     MPEG-4 multimedia framework
+Version:     0.4.5
+Release:     8%{?_dist_release}
+License:     LGPLv2+
+Group:       System Environment/Libraries
+URL:         http://gpac.sourceforge.net/
+Source0:     http://downloads.sourceforge.net/gpac/gpac-%{version}.tar.gz
+#Source0:     http://rpms.kwizart.net/fedora/SOURCE/gpac-%{version}-repack.tar.bz2
+#Source9:     gpac-snapshot.sh
+Patch0:      gpac-0.4.5-makefix.patch
+Patch1:      gpac-0.4.5-soname.patch
+Patch2:      gpac-0.4.5-amr.patch
+Patch3:      gpac-0.4.5-lib64.patch
+Patch4:      gpac-0.4.5-system_openjpeg.patch
+Patch6:      gpac-0.4.5-shared_sggen.patch
+Patch7:      gpac-0.4.5-libxml2.patch
+Patch8:      gpac-ppc64.patch
+Patch9:      gpac-0.4.5-ffmpeg.patch
+
+BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  ImageMagick
+BuildRequires:  SDL-devel
+BuildRequires:  librsvg2-devel >= 2.5.0
+BuildRequires:  libGLU-devel
+BuildRequires:  freeglut-devel
+BuildRequires:  freetype2-devel >= 2.1.4
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel >= 1.2.5
+BuildRequires:  libxml2-devel
+BuildRequires:  openssl-devel
+BuildRequires:  openjpeg-devel
+BuildRequires:  pulseaudio-libs-devel
+BuildRequires:  zlib-devel
+BuildRequires:  libogg-devel libvorbis-devel libtheora-devel
+BuildRequires:  libXt-devel
+BuildRequires:  libXpm-devel
+BuildRequires:  libXv-devel
+#BuildRequires:  wxGTK-devel
+BuildRequires:  xmlrpc-epi-devel
+%{?_with_mozilla:BuildRequires: gecko-devel}
+BuildRequires:  doxygen
+BuildRequires:  desktop-file-utils
+%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+#BuildRequires:  a52dec-devel
+#BuildRequires:  faad2-devel
+#BuildRequires:  libmad-devel
+#BuildRequires:  xvidcore-devel >= 1.0.0
+##BuildRequires:  ffmpeg-devel
+
+
+%description
+GPAC is a multimedia framework based on the MPEG-4 Systems standard developed
+from scratch in ANSI C.  The original development goal is to provide a clean,
+small and flexible alternative to the MPEG-4 Systems reference software.
+
+GPAC features the integration of recent multimedia standards (SVG/SMIL, VRML,
+X3D, SWF, 3GPP(2) tools and more) into a single framework. GPAC also features
+MPEG-4 Systems encoders/multiplexers, publishing tools for content distribution
+for MP4 and 3GPP(2) files and many tools for scene descriptions
+(MPEG4 <-> VRML <-> X3D converters, SWF -> MPEG-4, etc).
+
+%package        libs
+Summary:        Library for %{name}
+Group:          System Environment/Libraries
+
+%description    libs
+The %{name}-libs package contains library for %{name}.
+
+
+%package  devel
+Summary:  Development libraries and files for %{name}
+Group:    Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+
+%description  devel
+Development libraries and files for gpac.
+
+
+%if %{with_static}
+%package  devel-static
+Summary:  Development libraries and files for %{name}
+Group:    Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+
+%description  devel-static
+Static library for gpac.
+%endif
+
+
+%prep
+%setup -q -n gpac
+## remove extra_libs directory
+%__rm -rf extra_libs
+
+%patch0 -p1 -b .makefix
+%patch1 -p1 -b .soname
+%patch2 -p1 -b .amr
+%ifarch x86_64
+%patch3 -p1 -b .lib64
+%endif
+%patch4 -p1 -b .openjpeg
+%patch6 -p1 -b .shared
+%patch7 -p1 -b .libxml2
+%patch8 -p1 -b .ppc64
+%patch9 -p1 -b .ffmpeg
+
+## kwizart - enable dynamic mode - hardcoded with patch2
+# define SONAME number from the first number of gpac version.
+#define soname libgpac.so.0
+#sed -i.soname -e 's|EXTRALIBS+=$(GPAC_SH_FLAGS)|EXTRALIBS+=$(GPAC_SH_FLAGS)\nLDFLAGS+="-Wl,-soname,%{soname}"|' src/Makefile
+
+# Update doxygen
+pushd doc
+doxygen -u
+popd
+
+# Fix encoding warnings
+cp -p Changelog Changelog.origine
+iconv -f ISO-8859-1 -t UTF8 Changelog.origine >  Changelog
+touch -r Changelog.origine Changelog
+rm -rf Changelog.origine
+
+cp -p doc/ipmpx_syntax.bt doc/ipmpx_syntax.bt.origine
+iconv -f ISO-8859-1 -t UTF8 doc/ipmpx_syntax.bt.origine >  doc/ipmpx_syntax.bt
+touch -r doc/ipmpx_syntax.bt.origine doc/ipmpx_syntax.bt
+rm -rf doc/ipmpx_syntax.bt.origine
+
+
+# executable ./configure
+chmod +x configure
+
+%build
+%configure \
+    --enable-debug \
+    --X11-path=%{_prefix} \
+    --extra-cflags="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1" \
+    --disable-oss-audio \
+    %{?_with_mozilla:--mozdir=%{_libdir}/mozilla/plugins} \
+    %{?_with_amr:--enable-amr} \
+    --use-js=no \
+    --disable-static \
+    --disable-wx
+
+
+# Parallele build will fail
+%__make all OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" 
+#{?_smp_mflags}
+%__make sggen OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" 
+#{?_smp_mflags}
+
+## kwizart - build doxygen doc for devel
+pushd doc
+doxygen
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install install-lib
+
+## kwizart - rpmlint gpac no-ldconfig-symlink
+ln -sf  libgpac.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libgpac.so.0
+ln -sf  libgpac.so.0 $RPM_BUILD_ROOT%{_libdir}/libgpac.so
+
+#Install generated sggen binaries
+for b in MPEG4 SVG X3D; do
+  pushd applications/generators/${b}
+    install -pm 0755 ${b}Gen $RPM_BUILD_ROOT%{_bindir}
+  popd
+done
+
+#Fix doxygen timestamp
+touch -r Changelog doc/html/*
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS BUGS Changelog COPYING README TODO 
+%{_bindir}/MP4*
+%{_bindir}/*Gen
+%{_datadir}/gpac/
+%{_mandir}/man1/*.1.*
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libgpac.so.*
+%{_libdir}/gpac/
+
+%files devel
+%doc doc/CODING_STYLE doc/ipmpx_syntax.bt
+%doc doc/html/*
+%defattr(-,root,root)
+%{_includedir}/gpac/
+%{_libdir}/libgpac.so
+
+%if %{with_static}
+%files devel-static
+%defattr(-,root,root,-)
+%{_libdir}/libgpac_static.a
+%else
+%exclude %{_libdir}/libgpac_static.a
+%endif
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.5-8
+- change release to sync with self-build-gpac
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.5-7
+- rebuild
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-6
+- added --use-js=no in configure
+- added devel-static subpackage
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-5
+- change release to sync with self-build-gpac
+
+* Thu May 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-4
+- change release to sync with self-build-gpac
+
+* Thu Mar 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-3
+- applied gpac-0.4.5-ffmpeg.patch (RPM Fusion #454)
+- corrected default %%defattr
+
+* Thu Mar 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-2
+- dropped BuildRequires: ffmpeg-devel as self-build-ffmpeg
+  - rebuilt with ffmpeg-devel by self-build-ffmpeg
+
+* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-1
+- initial build based on RPM Fusion
+  - without Osmo4 and its plugins for Mozilla browsers
+  - added --disable-wx in configure options
+  - included %%{_libdir}/libgpac_static.a in devel subpackage
+
+* Sun Dec 28 2008 kwizart < kwizart at gmail.com > - 0.4.5-3
+- Fix -devel doc timestamp which leads to multilib conflict 
+  ( RPM Fusion #270 )
+
+* Thu Dec 18 2008 kwizart < kwizart at gmail.com > - 0.4.5-2
+- Fix for ppc64
+
+* Wed Dec 17 2008 kwizart < kwizart at gmail.com > - 0.4.5-1
+- Update to 0.4.5 (final)
+- Drop upstreamed patches - Rewrite some
+- Add More BR.
+- Conditionalize --with mozilla amr
+
+* Mon Sep  8 2008 kwizart < kwizart at gmail.com > - 0.4.5-0.5.20080217cvs
+- Fix for Large File Support (was livna #2075 )
+
+* Mon Feb 25 2008 kwizart < kwizart at gmail.com > - 0.4.5-0.3.20080217cvs
+- Enable devel-static
+- Conditionalize Osmo4 (buggy).
+- Clean the spec
+
+* Sun Feb 17 2008 kwizart < kwizart at gmail.com > - 0.4.5-0.2.20080217cvs
+- Update to 20080217.
+- Split libs.
+- Use the new amr nosrc scheme (need an end-users rebuilt to add support to it).
+- Add openjpeg-devel missing BR
+- Static patching instead of dyn patch when possible.
+- Disable %%{smp_mflags} (it tries to build the bin before the lib is ready)
+- Define soname as libgpac.so.0 (instead of libgpac.so.%%version )
+- Exclude static lib
+
+* Mon Feb 11 2008 Stewart Adam < s.adam at diffingo.com > - 0.4.5-0.1.20080211cvs
+- Use %%{smp_mflags}
+- Oops, we're actually 0.4.5
+- Fix gpac so filenames
+- Only install nposmozilla when %%{with_firefox} is set
+
+* Mon Feb 11 2008 Stewart Adam < s.adam at diffingo.com > - 0.4.4-3.20080211cvs
+- Update to 20080211cvs
+- Disable osmozilla, doesn't build with xulrunner
+- Fix builds with gcc 4.3
+
+* Sat Dec 15 2007 Stewart Adam < s.adam at diffingo.com > - 0.4.4-2
+- Rebuild for rawhide
+
+* Tue Oct 16 2007 Stewart Adam < s.adam at diffingo.com > - 0.4.4-1
+- Update to v4.4
+
+* Sat May 26 2007 kwizart < kwizart at gmail.com > - 0.4.3-0.1cvs20070526
+- Update to cvs 20070526
+- Enable conditional build ( 3gpp firefox )
+
+* Wed Apr 11 2007 kwizart < kwizart at gmail.com > - 0.4.3-0.1cvs20070411
+- Update to cvs 20070411
+
+* Thu Dec 08 2006 kwizart < kwizart at gmail.com > - 0.4.3-cvs20061208.1.kwizart.fc6
+- Update to 20061208
+- Uses firefox-devel (since fc6!)
+- Drop tutorial
+- Use version-DEV-date with libgpac.so
+- Disabled osmozilla
+- Fix soname 
+- Enabled gprof
+
+* Tue Oct 17 2006 kwizart < kwizart at gmail.com > - 0.4.3-cvs20061017.1_FC5
+- gpac snapshot.sh
+- Revert Patch osmozilla.cpp (v1.17 - build error from gpac/internal/terminal_dev.h)
+- TODO: - no-soname make option for libgpac.so
+  - static lib in devel - needed ?
+  - osmozilla - xpt link problem.
+  - Osmo4: segmentation fault on exit.
+  - MP4Client: segmentation fault on launch.
+  - The program 'Osmo4' received an X Window System error:
+  "The error was 'BadMatch (invalid parameter attributes)'.
+  (Details: serial 37 error_code 8 request_code 42 minor_code 0)"
+  - MP4Box -version display: GPAC version 0.4.3-DEV (try to display cvs )
+
+* Sat Oct 15 2006 kwizart < kwizart at gmail.com > - 0.4.2-rc2.1_FC5
+- Update to 0.4.2cvs20061017
+- Use DESTDIR=RPM_BUILD_ROOT in various Makefile.
+- Enable mozilla plugin: osmozilla.
+- Enable AMR_NB_FLOAT and AMR_WB_FLOAT / bundle AMR_NB_FIXED (but not used by default).
+- Provide documentation html in doc .
+- Provide tutorial from http://www.wildamerica.com/pages/Marty.html
+- Various corrections.
+
+* Fri Sep 01 2006 Anssi Hannula <anssi@zarb.org> 0.4.1-0.20060630.2plf2007.0
+- lib64 fixes
+
+* Fri Jan 30 2006 Austin Acton <austin@mandriva.org> 0.4.1-0.20060630.1plf2007.0
+- initial package

+ 199 - 0
nonfree/self-build-gpac/self-build-gpac-vl.spec

@@ -0,0 +1,199 @@
+%define pkgname gpac
+%define name	self-build-%{pkgname}
+%define version 0.4.5
+%define release	8%{?_dist_release}
+
+%define sourceurl0	http://prdownloads.sourceforge.net/gpac/%{pkgname}-%{version}.tar.gz
+#% define sourceurl0	http://dl.sourceforge.net/sourceforge/gpac/%{pkgname}-%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+
+Source100:      gpac-0.4.5-makefix.patch
+Source101:      gpac-0.4.5-soname.patch
+Source102:      gpac-0.4.5-amr.patch
+Source103:      gpac-0.4.5-lib64.patch
+Source104:      gpac-0.4.5-system_openjpeg.patch
+Source106:      gpac-0.4.5-shared_sggen.patch
+Source107:      gpac-0.4.5-libxml2.patch
+Source108:      gpac-ppc64.patch
+Source109:      gpac-0.4.5-ffmpeg.patch
+Source150:      gpac-0.4.5-mozjs-vine.patch
+
+License:	LGPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):  ImageMagick
+Requires(post):  SDL-devel
+Requires(post):  librsvg2-devel >= 2.5.0
+Requires(post):  libGLU-devel
+Requires(post):  freeglut-devel
+Requires(post):  freetype2-devel >= 2.1.4
+Requires(post):  libjpeg-devel
+Requires(post):  libpng-devel >= 1.2.5
+Requires(post):  libxml2-devel
+Requires(post):  openssl-devel
+Requires(post):  openjpeg-devel
+Requires(post):  pulseaudio-libs-devel
+Requires(post):  zlib-devel
+Requires(post):  libogg-devel libvorbis-devel libtheora-devel
+Requires(post):  libXt-devel
+Requires(post):  libXpm-devel
+Requires(post):  libXv-devel
+#Requires(post):  wxGTK-devel
+Requires(post):  xmlrpc-epi-devel
+%{?_with_mozilla:Requires(post): gecko-devel}
+Requires(post):  doxygen
+Requires(post):  desktop-file-utils
+%{?_with_amr:Requires(post): amrnb-devel amrwb-devel}
+Requires(post):  self-build-a52dec
+Requires(post):  self-build-faad2
+Requires(post):  self-build-libmad
+Requires(post):  self-build-xvidcore >= 1.0.0
+##Requires(post):  self-build-ffmpeg
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+GPAC is a multimedia framework based on the MPEG-4 Systems standard developed
+from scratch in ANSI C.  The original development goal is to provide a clean,
+small and flexible alternative to the MPEG-4 Systems reference software.
+
+GPAC features the integration of recent multimedia standards (SVG/SMIL, VRML,
+X3D, SWF, 3GPP(2) tools and more) into a single framework. GPAC also features
+MPEG-4 Systems encoders/multiplexers, publishing tools for content distribution
+for MP4 and 3GPP(2) files and many tools for scene descriptions
+(MPEG4 <-> VRML <-> X3D converters, SWF -> MPEG-4, etc).
+
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+GPAC は ANSI C でスクラッチから開発されている MPEG-4 システムの標準に基づいた
+マルチメディアフレームワークです。
+当初の開発目標には、MPEG-4 システムリファレンスソフトウェアに
+簡潔で小さく柔軟な代替を提供することです。
+
+GPAC features the integration of recent multimedia standards (SVG/SMIL, VRML,
+X3D, SWF, 3GPP(2) tools and more) into a single framework. GPAC also features
+MPEG-4 Systems encoders/multiplexers, publishing tools for content distribution
+for MP4 and 3GPP(2) files and many tools for scene descriptions
+(MPEG4 <-> VRML <-> X3D converters, SWF -> MPEG-4, etc).
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 \
+    %{SOURCE100} %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} \
+    %{SOURCE106} %{SOURCE107} %{SOURCE108} %{SOURCE109} \
+    ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 370000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-libs-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release} \
+                                 %{pkgname}-devel-static-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.5-8
+- renamed %%{Source0} to gpac-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.5-7
+- rebuild
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-6
+- changed from http://prdownloads.sourceforge.net in sourceurl0
+- added devel-static subpackage in gpac.spec
+- added gpac-0.4.5-mozjis-vine.patch 
+  (do not install in /usr/share/self-build-gpac)
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-5
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Thu May 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-4
+- changed from http://prdownloads.sourceforge.net to http://dl.sourceforge.net
+  in sourceurl0
+- added BuildArch: noarch
+
+* Thu Mar 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-3
+- applied gpac-0.4.5-ffmpeg.patch (RPM Fusion #454)
+
+* Thu Mar 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-2
+- dropped PreReq: self-build-ffmpeg
+  - rebuilt with ffmpeg-devel by self-build-ffmpeg
+
+* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.5-1
+- initial bulid

+ 448 - 0
nonfree/self-build-gstreamer-plugins-bad/gstreamer-plugins-bad-vl.spec

@@ -0,0 +1,448 @@
+%define majorminor   0.10
+%define gstreamer    gstreamer
+
+%define gst_minver   0.10.22.1
+%define gstpb_minver 0.10.22.1
+
+Summary: GStreamer streaming media framework "bad" plug-ins
+Name: gstreamer-plugins-bad
+Version: 0.10.18
+Release: 1%{?_dist_release}
+# The freeze and nfs plugins are LGPLv2 (only)
+License: LGPLv2+
+Group: Applications/Multimedia
+URL: http://gstreamer.freedesktop.org/
+Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires: %{gstreamer} >= %{gst_minver}
+BuildRequires: %{gstreamer}-devel >= %{gst_minver}
+BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
+
+BuildRequires: check
+BuildRequires: gettext
+BuildRequires: PyXML
+BuildRequires: libXt-devel
+
+BuildRequires: liboil-devel
+BuildRequires: libdirectfb-devel
+# BuildRequires: self-build-libdca-devel
+# BuildRequires: self-build-faac-devel
+# BuildRequires: self-build-faad2
+BuildRequires: gsm-devel
+BuildRequires: libmpcdec-devel
+BuildRequires: SDL-devel
+#BuildRequires: soundtouch-devel
+#BuildRequires: swfdec-devel
+#Buildrequires: wavpack-devel
+# BuildRequires: self-build-xvidcore-devel
+BuildRequires: bzip2-devel
+BuildRequires: mesa-libGLU-devel
+BuildRequires: neon-devel
+#BuildRequires: libmms-devel
+BuildRequires: libmusicbrainz-devel
+#BuildRequires: libcdaudio-devel
+BuildRequires: jack-audio-connection-kit-devel
+#BuildRequires: mjpegtools-devel
+#BuildRequires: nas-devel
+# BuildRequires: self-build-x264-devel
+#BuildRequires: wildmidi-devel
+BuildRequires: libsndfile-devel
+#BuildRequires: libmodplug-devel
+#BuildRequires: libtimidity-devel
+#BuildRequires: gmyth-devel >= 0.4
+BuildRequires: libdc1394-devel
+BuildRequires: libexif-devel
+#BuildRequires: libiptcdata-devel
+#BuildRequires: exempi-devel
+#BuildRequires: dirac-devel 
+#BuildRequires: libofa-devel
+# BuildRequires: self-build-libdvdnav-devel
+BuildRequires: jasper-devel
+BuildRequires: openssl-devel
+BuildRequires: twolame-devel
+BuildRequires: libvdpau-devel
+
+%description
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains plug-ins that have licensing issues, aren't tested
+well enough, or the code is not of good enough quality.
+
+
+# %package extras
+# Summary: Extra GStreamer "bad" plugins (less often used "bad" plugins)
+# Group: Applications/Multimedia
+# Requires: %{name} = %{version}-%{release}
+
+# %description extras
+# GStreamer is a streaming media framework, based on graphs of elements which
+# operate on media data.
+
+# gstreamer-plugins-bad contains plug-ins that have licensing issues, aren't
+# tested well enough, or the code is not of good enough quality.
+
+# This package (gstreamer-plugins-bad-extras) contains extra "bad" plugins for
+# sources (mythtv), sinks (jack, nas) and effects (pitch) which are not used
+# very much and require additional libraries to be installed.
+
+
+%package devel
+Summary: Development files for the GStreamer media framework "bad" plug-ins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gstreamer-plugins-base-devel
+
+%description devel
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains the development files for the plug-ins that have
+licensing issues, aren't tested well enough, or the code is not of good
+enough quality.
+
+# '
+
+%prep
+%setup -q -n gst-plugins-bad-%{version}
+
+
+%build
+%configure \
+    --enable-debug --disable-static --disable-gtk-doc \
+    --disable-ladspa --enable-experimental \
+    --disable-siren --disable-valve --disable-dtmf --disable-autoconvert \
+    --disable-liveadder --disable-rtpmux \
+    ;
+
+# Don't use rpath!
+%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+%find_lang gst-plugins-bad-%{majorminor}
+
+# Clean out files that should not be part of the rpm.
+%{__rm} -f %{buildroot}%{_libdir}/gstreamer-%{majorminor}/*.la
+%{__rm} -f %{buildroot}%{_libdir}/*.la
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files -f gst-plugins-bad-%{majorminor}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README REQUIREMENTS
+%{_bindir}/gst-camera
+%{_bindir}/gst-camera-perf
+%{_libdir}/*.so.*
+%{_libdir}/gstreamer-%{majorminor}/*.so
+#%{_datadir}/gstreamer-0.10/presets/GstX264Enc.prs
+#%{_datadir}/gstreamer-%{majorminor}/camera-apps/gst-camera.glade
+%{_datadir}/gstreamer-%{majorminor}/camera-apps/gst-camera.ui
+
+# # Plugins without external dependencies
+# %{_libdir}/gstreamer-%{majorminor}/libgstaacparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstaiffparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstamrparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstbayer.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdccp.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace2.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdvdspu.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfilter.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstflv.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfreeze.so
+# %{_libdir}/gstreamer-%{majorminor}/libgsth264parse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstlegacyresample.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstrfbsrc.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmpeg4videoparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmpegdemux.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmpegtsmux.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmpegvideoparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmve.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmxf.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstnsf.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstnuvdemux.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstpcapparse.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstqtmux.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so
+# %ifarch %{ix86} x86_64
+# %{_libdir}/gstreamer-%{majorminor}/libgstreal.so
+# %endif
+# %{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstscaletempoplugin.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstsdpelem.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstselector.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
+# %{_libdir}/gstreamer-%{majorminor}/libgststereo.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstsubenc.so
+# %{_libdir}/gstreamer-%{majorminor}/libgsttta.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstvideosignal.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstvmnc.so
+# %{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
+
+# # System (Linux) specific plugins
+# %{_libdir}/gstreamer-%{majorminor}/libgstdvb.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfbdevsink.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstvcdsrc.so
+
+# # Plugins with external dependencies
+# %{_libdir}/gstreamer-%{majorminor}/libgstalsaspdif.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstapexsink.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstcdaudio.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstdc1394.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdfbvideosink.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstdirac.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstdtsdec.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstgsm.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstjp2k.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstmms.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmetadata.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2enc.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmplex.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstmusepack.so
+# %{_libdir}/gstreamer-%{majorminor}/libgsttrm.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstneonhttpsrc.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstofa.so
+# %{_libdir}/gstreamer-%{majorminor}/libresindvd.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstsdl.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstsndfile.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgsttimidity.so
+# %{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstx264.so
+# %{_libdir}/gstreamer-%{majorminor}/libgstxvid.so
+
+# %files extras
+# %defattr(-,root,root,-)
+# # Plugins with external dependencies
+# %{_libdir}/gstreamer-%{majorminor}/libgstjack.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstmythtvsrc.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstnassink.so
+# #%{_libdir}/gstreamer-%{majorminor}/libgstsoundtouch.so
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor/gstsignalprocessor.h
+%{_includedir}/gstreamer-%{majorminor}/gst/video/*
+%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography*
+%{_includedir}/gstreamer-%{majorminor}/gst/vdpau/*
+%{_libdir}/pkgconfig/*
+#%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-0.10
+
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
+- new upstream release
+- added BuildRequires: libvdpau-devel
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
+- new upstream release
+
+* Wed May 27 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
+- new upstream release
+- dropped gstreamer-plugins-bad-0.10.5-sys-modplug.patch, 
+  gst-plugins-bad-0.10.5-mms-seek.patch
+
+* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
+- new upstream release
+- dropped devel and devel-docs subpackages
+
+* Sun Feb 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-2
+- rebuild with twolame-devel, libmpcdec-devel, mjpegtools-devel
+- changed to BuildRequires:  self-build-faad2 from faad2-devel
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.9-1
+- initial build based on RPM Fusion package
+
+* Sat Dec 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-3
+- Put devel docs in seperate subpackage to avoid multilib conflict (rf 276)
+
+* Wed Dec 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-2
+- Rebuild for new x264 (using patch from Rathann)
+
+* Sun Oct 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.9-1
+- New upstream release 0.10.9
+- Rebuild for new directfb
+
+* Sun Sep 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-4
+- Rebuild for new x264 and to generate new magic gstreamer provides
+
+* Sat Aug 16 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-3
+- Enable DVD navigation plugin
+
+* Fri Aug  1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-2
+- Release bump to keep rpmfusion version higher then livna
+
+* Fri Aug  1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.8-1
+- New upstream release 0.10.8
+- Merge changes from latest freshrpms package: enable ofa and dirac plugins
+
+* Fri Jun 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-2
+- Rebuild for new x264
+
+* Thu Apr 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.7-1
+- New upstream release 0.10.7
+- Drop many upstreamed patches
+
+* Sun Mar  9 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-3
+- Rebuild for new x264
+
+* Tue Feb 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-2
+- Enable dc1394 plugin
+
+* Sun Feb 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-1
+- New upstream release 0.10.6-1
+- Drop many upstreamed patches
+- Fixes conflict with the latest gstreamer-plugins-good (livna 1884)
+
+* Tue Feb  5 2008  Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-15
+- Fix compilation with gcc 4.3
+
+* Tue Feb  5 2008  Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-14
+- Add flv demuxer from CVS (livna bug 1846)
+
+* Sun Dec  9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-13
+- Add patch fixing compilation with mjpegtools 1.9.0rc3
+
+* Sun Dec  9 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-12
+- Add patch from upstream vcs which makes mms honor your connection speed
+  settings
+- Add (painstakingly self written) patch adding support for mms / mmsh seeking! 
+
+* Tue Nov 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-11
+- Rebuild for new faad2
+
+* Sun Nov  4 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-10
+- Rebuild for new libdca
+
+* Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-9
+- Rebuild for new (old) faad2 (livna bug 1679)
+
+* Sat Sep 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-8
+- Update mythtvsrc code to CVS version (livna bug 1660)
+
+* Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-7
+- No libgstreal.so on ppc / ppc64
+
+* Thu Sep 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-6
+- Fix detection of libdts with current livna libtds, this might need to be
+  changed back again for rpmfusion, depending on how libdts will look there
+
+* Sat Sep 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-5
+- Add mythtvsrc plugin (livna 1646)
+- Put some less often used plugins, which bring in also usually not installed
+  deps in a -extras package
+
+* Sat Sep 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-4
+- Merge livna spec bugfixes into freshrpms spec for rpmfusion:
+- Set release to 4 to be higher as both livna and freshrpms latest release
+- Set package name and origin to rpmfusion
+- Make mpeg2enc plugin compile with current mjpegtools
+- Make the real plugins search for the RealPlayer .so files in various
+  known possible locations instead of using only one hardcoded path to them
+- Make the wildmidi plugin work with the default Fedora timidity patch set
+- Add a couple of missing modtracker mimetypes to the modplug plugin
+- Use the system version of libmodplug
+- Fix building of the neonsrc plugin with the latest (rawhide) neon
+- Disable the ladspa plugin as this has been added to Fedora's rawhide
+  gstreamer-plugins-good
+- Don't put an rpath in the .so's on x86_64
+- Re-enable gtk-doc now that we have a -devel package again
+- Enable libtimidity plugin
+- Fix detection of (and linking with) libdca for the dtsdec plugin
+
+* Tue Aug 21 2007 Matthias Saou <http://freshrpms.net/> 0.10.5-1
+- Update to 0.10.5.
+- Update faad2 patch : Some fixes went in, but faad2.h still produces an error.
+- Remove libgstqtdemux, libgstvideocrop and libgstwavpack, all are in good now.
+- Enable new nas, x264, wildmidi and libsndfile plugins.
+- Re-add devel package now that we have a main shared lib and header files.
+- Add check build requirement.
+
+* Wed Mar 30 2007 Matthias Saou <http://freshrpms.net/> 0.10.4-1
+- Update to 0.10.4 for F7.
+- Disable swfdec... does anything/anyone even use it here? Once it stabilizes
+  somewhat more, maybe then it'll be worth re-enabling.
+- Re-enable wavpack, it works again now.
+- Enable libcdaudio support.
+- Enable jack support.
+- Enable ladspa support.
+- Enable mpeg2enc (mjpegtools) support.
+- Remove no longer present libgstvideo4linux2.so and add all new plugins.
+- Remove all gtk-doc references (all gone...?) and devel package too.
+
+* Tue Jan  9 2007 Matthias Saou <http://freshrpms.net/> 0.10.3-3
+- Update faad2 patch to also update the plugin sources, not just configure.
+
+* Mon Dec 18 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-2
+- Try to rebuild against new wavpack 4.40 from Extras : Fails.
+- Try to update to 0.10.3.2 pre-release : Fails, it needs a more recent gst.
+- Try to include patch to update wavpack plugin source from 0.10.3.2
+  pre-release : Fails to find wavpack/md5.h.
+- Give up and disable wavpack support for now, sorry! Patches welcome.
+- Include patch to fix faad2 2.5 detection.
+- Add soundtouch support.
+
+* Thu Jun  1 2006 Matthias Saou <http://freshrpms.net/> 0.10.3-1
+- Update to 0.10.3.
+- Add new translations.
+- Add libgstmodplug.so, libgstvideo4linux2.so and libgstxingheader.so.
+- Add new libmusicbrainz support.
+
+* Thu Mar 23 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-2
+- Add libmms support, thanks to Daniel S. Rogers.
+
+* Wed Feb 22 2006 Matthias Saou <http://freshrpms.net/> 0.10.1-1
+- Update to 0.10.1.
+- Add libgstcdxaparse.so and libgstfreeze.so.
+- Enable libgstbz2.so, libgstglimagesink.so and libgstneonhttpsrc.so.
+
+* Wed Jan 25 2006 Matthias Saou <http://freshrpms.net/> 0.10.0.1-1
+- Update to 0.10.0.1, add new plugins.
+- Spec file cleanup and rebuild for FC5.
+
+* Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.0-0.gst.1
+- new release
+
+* Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.7-0.gst.1
+- new release with 0.10 major/minor
+
+* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- new release
+- remove tta patch
+- don't check for languages, no translations yet
+- added gtk-doc
+
+* Wed Oct 26 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.4-0.gst.1
+- new release
+- added speed plugin
+
+* Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.3-0.gst.1
+- new release
+

+ 178 - 0
nonfree/self-build-gstreamer-plugins-bad/self-build-gstreamer-plugins-bad-vl.spec

@@ -0,0 +1,178 @@
+%define pkgname gstreamer-plugins-bad
+%define majorminor   0.10
+%define gstreamer    gstreamer
+%define gst_minver   0.10.22.1
+%define gstpb_minver 0.10.22.1
+%define _gst_ver     0.10.18
+%define release	1%{?_dist_release}
+
+%define sourceurl	http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{_gst_ver}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		self-build-%{pkgname}
+Version:	%{_gst_ver}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+License:	LGPLv2+ and LGPLv2
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires: %{gstreamer} >= %{gst_minver}
+Requires(post): %{gstreamer}-devel >= %{gst_minver}
+Requires(post): %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
+
+Requires(post): check
+Requires(post): gettext
+Requires(post): PyXML
+Requires(post): libXt-devel
+
+Requires(post): liboil-devel
+Requires(post): libdirectfb-devel
+Requires(post): self-build-libdca
+Requires(post): self-build-faac
+Requires(post): self-build-faad2
+Requires(post): gsm-devel
+Requires(post): libmpcdec-devel
+Requires(post): SDL-devel
+#Requires(post): soundtouch-devel
+#Requires(post): swfdec-devel
+#Buildrequires: wavpack-devel
+Requires(post): self-build-xvidcore
+Requires(post): bzip2-devel
+Requires(post): mesa-libGLU-devel
+Requires(post): neon-devel
+#Requires(post): libmms-devel
+Requires(post): libmusicbrainz-devel
+#Requires(post): libcdaudio-devel
+Requires(post): jack-audio-connection-kit-devel
+#Requires(post): mjpegtools-devel
+#Requires(post): nas-devel
+Requires(post): self-build-x264
+#Requires(post): wildmidi-devel
+Requires(post): libsndfile-devel
+#Requires(post): libmodplug-devel
+#Requires(post): libtimidity-devel
+#Requires(post): gmyth-devel >= 0.4
+Requires(post): libdc1394-devel
+Requires(post): libexif-devel
+#Requires(post): libiptcdata-devel
+#Requires(post): exempi-devel
+#Requires(post): dirac-devel 
+#Requires(post): libofa-devel
+Requires(post): self-build-libdvdnav
+Requires(post): jasper-devel
+Requires(post): openssl-devel
+Requires(post): twolame-devel
+Requires(post): libvdpau-devel
+
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains plug-ins that have licensing issues, aren't tested
+well enough, or the code is not of good enough quality.
+
+If you install this package, it automaticaly downloads source
+code, compile it, and create rpm packages of 
+%{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+# '
+
+%description -l ja
+gstreamer-plugins-bad は GStreamer ストリーミングメディア
+フレームワーク用 bad プラグイン集です。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 100000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
+- new upstream release
+- renamed %%{Source0} to gstreamer-plugins-bad-vl.spec
+- added Requires(post): libvdpau-devel
+- check version between original spec and self-build spec in %%prep
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
+- initial build for Vine Linux.

+ 241 - 0
nonfree/self-build-gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg-vl.spec

@@ -0,0 +1,241 @@
+%define major		0.10
+
+Name:           gstreamer-plugins-ffmpeg
+Version:        0.10.10
+Release:        1%{?_dist_release}
+Summary:        GStreamer FFmpeg-based plug-ins
+Group:		System Environment/Libraries
+# the ffmpeg plugin is LGPL, the postproc plugin is GPL
+License:        GPLv2+ and LGPLv2+
+URL:            http://gstreamer.freedesktop.org/
+Source:         http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires:	gstreamer >= 0.10.0
+Requires:	gstreamer-plugins-base >= 0.10.0
+BuildRequires:  gstreamer-devel >= 0.10.0
+BuildRequires:  gstreamer-plugins-base-devel >= 0.10.0
+BuildRequires:  liboil-devel
+BuildRequires:  bzip2-devel
+## Use internal ffmpeg
+# Don't require ffmpeg-devel because they are provided by 
+# self-build-ffmpeg package.
+# BuildRequires:  ffmpeg-devel
+
+%description
+GStreamer is a streaming media framework, based on graphs of filters which
+operate on media data. Applications using this library can do anything
+from real-time sound processing to playing videos, and just about anything
+else media-related.  Its plugin-based architecture means that new data
+types or processing capabilities can be added simply by installing new
+plugins.
+
+This package provides FFmpeg-based GStreamer plug-ins.
+
+%prep
+%setup -q -n gst-ffmpeg-%{version}
+
+
+%build
+%configure \
+    --disable-dependency-tracking \
+    --disable-static \
+    --with-system-ffmpeg \
+	;
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+# Clean out files that should not be part of the rpm.
+%__rm -f %{buildroot}%{_libdir}/gstreamer-%{major}/*.{a,la}
+%__rm -f %{buildroot}%{_libdir}/*.{a,la}
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%{_libdir}/gstreamer-%{major}/libgstffmpeg.so
+%{_libdir}/gstreamer-%{major}/libgstffmpegscale.so
+%{_libdir}/gstreamer-%{major}/libgstpostproc.so
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.10-1
+- new upstream release
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.9-1
+- new upstream release
+  - added --with-system-ffmpeg in configure options
+
+* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.8-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.7-2
+- change release to sync with self-build-gstreamer-plugins-ffmpeg
+
+* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.7-1
+- new upstream release
+- corrected %%description
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.6-1
+- initial build based on RPM Fusion package
+
+* Wed Dec 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.6-1
+- New upstream release 0.10.6
+
+* Sun Sep 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.5-1
+- New upstream release 0.10.5
+- Drop all patches, all upstreamed <yeah>
+
+* Thu Jul 24 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.4-2
+- Release bump for rpmfusion build
+
+* Thu May 22 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.4-1
+- New upstream release 0.10.4
+- Drop several upstreamed patches
+
+* Thu May  8 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.3-5
+- Fix playback of wvc1 videos (livna bug 1960)
+
+* Thu Apr 10 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.3-4
+- Disable ffdec_faad as this has issues (use gstreamer-plugins-bad instead)
+  (livna bug 1935)
+
+* Sun Feb 10 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.3-3
+- Make gstreamer-ffmpeg work with the new swscaler enabled ffmpeg, this is done
+  by disabling the ffvideoscale (FFMPEG Scale) element and another small
+  patch (livna bug 1862)
+
+* Tue Feb  5 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.3-2
+- Rebuild for new ffmpeg
+
+* Sat Dec 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.3-1
+- New upstream 0.10.3 release
+- Use default RPM_OPT_FLAGS, as we we no longer compile our own ffmpeg
+- Drop unneeded libtool BuildRequires
+
+* Mon Nov 12 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-5
+- Rebuild for new ffmpeg
+
+* Wed Oct 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-4
+- Stop gst-inspect --print-all from crashing when we are loaded (reported on
+  the mailing list)
+
+* Fri Sep 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-3
+- Merge freshrpms spec into livna spec for rpmfusion:
+- Set release to 3 to be higher as both livna and freshrpms latest release
+- Set package name and origin to rpmfusion
+- Update license tag for new license tag guidelines
+- Build in livna development for testing and for new ffmpeg in livna
+
+* Thu Mar 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-2
+- Rebuild so that the demuxers get build too (livna bz 1464)
+
+* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-1
+- Official upstream 0.10.2 release
+
+* Mon Dec 18 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-0.4.20061108
+- Rebuild for new ffmpeg
+
+* Wed Nov 22 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-0.3.20061108
+- link libgstpostproc.so with -lpostproc (bug #1288)
+
+* Thu Nov  9 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-0.2.20061108
+- Add missing liboil-devel BR
+
+* Wed Nov  8 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.2-0.1.20061108
+- New release based on CVS snapshot as upstream hasn't made a new release
+  in a while, this fixes bug lvn1235
+
+* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.10.1-4
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Sun Sep 24 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.1-3
+- Rebuild for FC-6
+
+* Sun Aug 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.1-2
+- Fix compilation with newer ffmpeg
+- drop unnecesarry gcc-c++ BR
+
+* Sun Jul 30 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.1-1
+- Minor specfile cleanups for livna submission.
+- Add a patch to use the system ffmpeg instead of the included one
+
+* Fri Mar 31 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.1-0.gst.1
+- update for new release
+
+* Wed Mar 29 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.0.2-0.gst.1
+- update for new prerelease
+
+* Fri Mar 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.0-0.gst.3
+- allow "gstreamer" define to be overridden
+
+* Wed Dec 14 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.0-0.gst.2
+- rebuild against glib 2.8
+
+* Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.10.0-0.gst.1
+- new release
+
+* Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.7-0.gst.1
+- new release with 0.10 major/minor
+
+* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.5-0.gst.1
+- new upstream release
+
+* Wed Oct 26 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.4-0.gst.1
+- new upstream release
+
+* Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.9.3-0.gst.1
+- new upstream release
+
+* Sat Sep 17 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.6-0.gst.1 new upstream release
+
+* Tue Jun 21 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.5-0.gst.1: for our repo
+
+* Mon Jun 13 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.5-0.lvn.1: new release
+
+* Fri Mar 11 2005 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.4-0.lvn.1: new release
+
+* Fri Dec 31 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.3-0.lvn.1: new release
+
+* Fri Dec 24 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.2.2-0.lvn.1: new prerelease
+
+* Tue Oct 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.2-0.lvn.1: new upstream release
+
+* Fri Jul 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.1-0.lvn.1: new upstream release
+
+* Fri May 21 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.0-0.lvn.2: update for FC2 and SDL-devel not requiring alsa-lib-devel
+
+* Tue Mar 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.8.0-0.lvn.1: new source release, changed base name to gstreamer
+
+* Fri Mar 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.7.1-0.lvn.2: sync with FreshRPMS
+
+* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.7.1-0.lvn.1: First package for rpm.livna.org

+ 154 - 0
nonfree/self-build-gstreamer-plugins-ffmpeg/self-build-gstreamer-plugins-ffmpeg-vl.spec

@@ -0,0 +1,154 @@
+%define pkgname gstreamer-plugins-ffmpeg
+%define name    self-build-%{pkgname}
+%define version 0.10.10
+%define release 1%{?_dist_release}
+
+%define sourceurl0	http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-%{version}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+
+License:        GPLv2+ and LGPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires:	gstreamer >= 0.10.0
+Requires:	gstreamer-plugins-base >= 0.10.0
+Requires(post):		gstreamer-devel >= 0.10.0
+Requires(post):		gstreamer-plugins-base-devel >= 0.10.0
+Requires(post):		liboil-devel
+Requires(post):		bzip2-devel
+## Use internal ffmpeg
+# Requires(post):	self-build-ffmpeg
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+GStreamer is a streaming media framework, based on graphs of filters which
+operate on media data. Applications using this library can do anything
+from real-time sound processing to playing videos, and just about anything
+else media-related.  Its plugin-based architecture means that new data
+types or processing capabilities can be added simply by installing new
+plugins.
+
+This package provides FFmpeg-based GStreamer plug-ins.
+
+If you install this package, it automaticaly downloads source
+code, compile it, and create rpm packages of 
+%{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+GStreamer はメディアデータ操作用の filter graph をベースにし
+たストリーミングメディアフレームワークです。 このライブラリを
+使用すればアプリケーションは、サウンドのリアルタイム処理から
+ビデオ再生まで、メディアに関係する全ての機能が利用できます。
+また Gstremer はプラグイン方式を採用していることから、新しい
+種類のデータや機能への対応が、プラグインを追加することで簡単
+に実現できます。
+
+このパッケージは ffmpeg ベースの GStreamer プラグインを提供し
+ます。
+
+このパッケージをインストールすると、自動的にソースコードをダ
+ウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 15000
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}/*
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.10-1
+- new upstream release
+- renamed %%{Source0} to gstreamer-plugins-ffmpeg-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.9-1
+- new upstream release
+
+* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.8-1
+- new upstream release
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.7-2
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.7-1
+- new upstream release
+- corrected %%description
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.6-1
+- initial build
+
+### end of file

+ 320 - 0
nonfree/self-build-gstreamer-plugins-ugly/gstreamer-plugins-ugly-vl.spec

@@ -0,0 +1,320 @@
+## TODO: build with opencore-amr
+
+%define major		0.10
+%define _gst_ver	0.10.14
+%define _gstpb_ver	0.10.3
+%define pkg_release	1%{?_dist_release}
+
+Summary:	GStreamer Streaming-media framework ugly plugins
+Summary(ja):	GStreamer ストリーミングメディアフレームワーク用 ugly プラグイン
+Name:		gstreamer-plugins-ugly
+Version:	%{_gst_ver}
+Release:	%{pkg_release}
+License:	LGPL
+Group:		System Environment/Libraries
+URL:		http://gstreamer.freedesktop.org/
+Source:		http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.bz2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Requires:	gstreamer >= %{_gst_ver}
+Requires:	gstreamer-plugins-base >= %{_gstpb_ver}
+Requires:	glib2
+Requires:	libid3tag
+# Don't require libmad because they are provided by 
+# self-build-libmad packages.
+#Requires:	libmad
+
+BuildRequires:	gstreamer-devel >= %{_gst_ver}
+BuildRequires:	gstreamer-plugins-base-devel >= %{_gstpb_ver}
+#BuildRequires:	gtk-doc >= 1.3
+BuildRequires:	python >= 2.1, python-pyxml
+BuildRequires:	glib2-devel >= 2.6
+BuildRequires:	liboil-devel >= 0.3.0
+BuildRequires:	libid3tag-devel >= 0.15
+
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+##BuildRequires:	x264-devel
+##BuildRequires:	libmpeg2-devel
+##BuildRequires:	a52dec-devel
+##BuildRequires:	lame-devel
+##BuildRequires:	libmad-devel >= 0.15
+
+Obsoletes: gstreamer-plugins-ugly-devel <= 0.10.11-1vl5
+
+%description
+GStreamer is a streaming-media framework, based on graphs of filters which
+operate on media data. Applications using this library can do anything
+from real-time sound processing to playing videos, and just about anything
+else media-related.  Its plugin-based architecture means that new data
+types or processing capabilities can be added simply by installing new
+plugins.
+
+This package contains a set of plug-ins that have good quality and
+correct functionality, but distributing them might pose problems. The
+license on either the plug-ins or the supporting libraries might not
+be how the GStreamer authors like. The code might be widely known to
+present patent problems.
+
+%description -l ja
+GStreamer はメディアデータ操作用の filter graph をベースにしたスト
+リーミングメディアフレームワークです。 このライブラリを使用すれば
+アプリケーションは、サウンドのリアルタイム処理からビデオ再生まで、
+メディアに関係する全ての機能が利用できます。また Gstremer はプラグ
+イン方式を採用していることから、新しい種類のデータや機能への対応が、
+プラグインを追加することで簡単に実現できます。
+
+このパッケージは品質も機能も問題は無いものの、配布すると問題になる
+可能性があるプラグインを含んでいます。プラグインとそのサポート・ライ
+ブラリのライセンスも Gstreamer とは異なっています。一般には特許に
+関連するコードとして良く知られています。
+
+# %package devel
+# Summary:	Documentation files for GStreamer ugly plugins.
+# Summary(ja):	GStreamer ugly プラグインのドキュメント
+# Group:		Development/Libraries
+# Requires:	%{name} = %{version}-%{release}
+
+# %description devel
+# GStreamer はメディアデータ操作用の filter graph をベースにしたスト
+# リーミングメディアフレームワークです。 このライブラリを使用すれば
+# アプリケーションは、サウンドのリアルタイム処理からビデオ再生まで、
+# メディアに関係する全ての機能が利用できます。また Gstremer はプラグ
+# イン方式を採用していることから、新しい種類のデータや機能への対応が、
+# プラグインを追加することで簡単に実現できます。
+
+# このパッケージは GStreamer ugly 用のドキュメントを含んでいます。
+
+
+%prep
+%setup -q -n gst-plugins-ugly-%{version}
+
+
+%build
+%configure \
+    --disable-static \
+    --disable-amrnb \
+    --disable-sidplay \
+
+%__make %{?_smp_mflags}
+
+%install
+%__rm -rf %{buildroot}
+%makeinstall
+
+# Clean out files that should not be part of the rpm.
+%__rm -f %{buildroot}%{_libdir}/gstreamer-%{major}/*.{a,la}
+%__rm -f %{buildroot}%{_libdir}/*.{a,la}
+
+%find_lang gst-plugins-ugly-%{major}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files -f gst-plugins-ugly-%{major}.lang
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING NEWS README RELEASE REQUIREMENTS
+%{_datadir}/gstreamer-%{major}/presets
+# ugly plugins without external dependencies
+%{_libdir}/gstreamer-%{major}
+
+# ugly plugins with external dependencies, but in the main package
+# %{_libdir}/gstreamer-%{major}/libgstmad.so
+
+# %files devel
+# %defattr(-,root,root)
+# %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{major}
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.14-1
+- new upstream relase
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.13-1
+- new upstream relase
+
+* Sat Oct 24 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.12-1
+- new upstream relase
+- enable mpeg2dec with libmpeg2-devel in %%configure
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-3
+- change release to sync with self-build-gstreamer-plugins-ugly
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-2
+- dropped BuildRequires: gtk-doc >= 1.3
+  - disable-gtk-doc in configure options
+  - added Obsoletes: gstreamer-plugins-ugly-devel <= 0.10.11-1vl5
+
+* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-1
+- new upstream relase
+
+* Mon Feb 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-2
+- changed to PreReq:  self-build-libmad >= 0.15 from libmad-devel
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
+- new upstream relase
+
+* Sun Aug 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10,8-1
+- upstream release
+- delete --disable-a52dec configure option
+- delete %%with_lame macro
+- added japanase summary and description
+
+* Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.5-0vl1
+- upstream release
+- update %%_gst_ver
+
+* Sun Nov 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.4-0vl3
+- add NoSource: 0
+
+* Sat Nov 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.4-0vl2
+- add %%with_lame macro
+  - enable lame support if rpmbuild with '--with lame'
+
+* Wed Aug 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.4-0vl1
+- upstream release
+
+* Mon Apr 03 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.3-0vl1
+- upstream release
+- add libgstdvdsub.so
+
+* Fri Feb 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.2-0vl1
+- upstream release
+- update %%_gst_ver, %%_gstpb_ver (0.10.1->0.10.3)
+- add libgstasf.so
+
+* Fri Feb 10 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.1-0vl2
+- fix typo
+
+* Mon Jan 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10.1-0vl1
+- initial package based on gstreamer-plugins
+- new upstream release
+  - change major to 0.10
+- update dependencies
+- update %%configure options
+
+* Mon Dec 12 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.11-0vl3
+- remove duplicated libgst{idct,qtdemux,xwindowlistener}.so
+
+* Thu Oct 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.11-0vl2
+- added missing alsa plugin
+
+* Thu Sep 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.11-0vl1
+- new upstream release
+- added alsa and cairo plugins
+
+* Sun Jul 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.10-0vl1
+- new upstream release
+
+* Mon Jun  6 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.9-0vl1
+- new upstream release
+
+* Wed May 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl5
+- added Conflicts: gstreamer-plugins-extra-audio < 0.8.8-0vl2
+
+* Sun May  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl4
+- added libgstcdparania.so for gnome-cd (gnome-media)
+- BuildRequires: cdparanoia-devel
+
+* Wed Mar 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.8-0vl3
+- drop BuildRequires: xmms-devel, Requires: xmms
+
+* Tue Mar 29 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8.8-0vl2
+- libgstvideo4linux2.so temoporally omitted for ppc
+  (will be back later, I hope)
+
+* Sun Mar 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.8-0vl1
+- new upstream release
+- s/Copyright/License/
+- includes plugins depend on main package libraries only
+
+* Wed Nov 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.5-0vl1
+- new upstream release
+
+* Tue Dec 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-0vl1
+- new upstream release
+
+* Tue Jun 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.2-0vl1
+- new upstream release
+
+* Sat Feb 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.0-0vl1
+- new upstream release
+
+* Sat Feb 01 2003 Tomoya TAKA <taka@vinelinux.org> 0.5.2-0vl3
+- build with -fPIC on alpha
+
+* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.2-0vl2
+- modified scripts
+
+* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.2-0vl1
+- new upstream release
+
+* Sun Jan 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.1-0vl2
+- disable some plugins.
+
+* Sun Jan 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.1-0vl1
+- new upstream release
+- initial build for Vine Linux
+
+* Thu Dec 19 2002 Elliot Lee <sopwith@redhat.com> 0.5.0-15
+- Include ia64
+- Add BuildRequires: autoconf automake
+
+* Wed Dec 18 2002 Jonathan Blandford <jrb@redhat.com>
+- rebuild
+
+* Tue Dec 17 2002 Jonathan Blandford <jrb@redhat.com> 0.5.0-12
+- rebuild
+
+* Mon Dec 16 2002 Jonathan Blandford <jrb@redhat.com> 0.5.0-10
+- rebuild
+- disable tests
+
+* Mon Dec 16 2002 Tim Powers <timp@redhat.com> 0.5.0-9
+- rebuild
+
+* Wed Dec 11 2002 Jonathan Blandford <jrb@redhat.com> 0.5.0-7
+- fix libdir for ia64.
+
+* Wed Dec 11 2002 Jonathan Blandford <jrb@redhat.com> 0.5.0-3
+- ExcludeArch: ia64.   Random assembler errors that I have no hope of fixing
+- Add devel package
+
+* Wed Dec 11 2002 Jonathan Blandford <jrb@redhat.com> 0.5.0-1
+- 0.5.0
+- apparently, festival-devel isn't needed.
+
+* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 0.4.2-3
+- rebuild to fix broken dep on libgstreamer-0.4.2.so.0
+
+* Tue Dec  3 2002 Havoc Pennington <hp@redhat.com>
+- excludearch the arches that can't build gstreamer cothreads
+- well it isn't really SMP-safe
+- add patch for including pthread.h when required
+- prereq gconftool
+- fix typo that broke schema installation in post
+
+* Mon Dec  2 2002 Havoc Pennington <hp@redhat.com>
+- initial "official" import
+- munge tarball for legal cleanliness
+
+* Thu Nov  7 2002 Jeremy Katz <katzj@redhat.com>
+- 0.4.2
+
+* Mon Sep 23 2002 Jeremy Katz <katzj@redhat.com>
+- 0.4.1
+- install the gconf schema
+- use %%configure
+
+* Sun Sep 22 2002 Jeremy Katz <katzj@redhat.com>
+- update to 0.4.0
+- give explicit vorbis include path, don't run vorbis test
+
+* Sun Aug 11 2002 Jeremy Katz <katzj@redhat.com>
+- collapse into one package to preserve some sanity
+
+* Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added more BuildRequires and Requires
+- rearranged some plugins
+- added changelog ;)

+ 156 - 0
nonfree/self-build-gstreamer-plugins-ugly/self-build-gstreamer-plugins-ugly-vl.spec

@@ -0,0 +1,156 @@
+%define pkgname gstreamer-plugins-ugly
+%define _gst_ver	0.10.14
+%define _gstpb_ver	0.10.3
+%define release	1%{?_dist_release}
+
+%define sourceurl	http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{_gst_ver}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		self-build-%{pkgname}
+Version:	%{_gst_ver}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source101:	gstreamer-plugins-ugly-x264.patch
+License:	LGPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+Requires(post):		libogg-devel, libtheora-devel, libvorbis-devel
+Requires(post):		self-build-ffmpeg
+Requires(post):		gstreamer-devel >= %{_gst_ver}
+Requires(post):		gstreamer-plugins-base-devel >= %{_gstpb_ver}
+#Requires(post):		gtk-doc >= 1.3
+Requires(post):		python >= 2.1, python-pyxml
+Requires(post):		glib2-devel >= 2.6
+Requires(post):		liboil-devel >= 0.3.0
+Requires(post):		self-build-libmad >= 0.15
+Requires(post):		libid3tag-devel >= 0.15
+Requires(post):		self-build-libmpeg2
+Requires(post):		self-build-a52dec
+Requires(post):		self-build-lame
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+gstreamer-plugins-ugly is a set of ugly plugins for Gstreamer
+streaming-media framework.
+
+If you install this package, it automaticaly downloads source
+code, compile it, and create rpm packages of 
+%{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+gstreamer-plugins-ugly は GStreamer ストリーミングメディア
+フレームワーク用 ugly プラグイン集です。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE101} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 35000
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.14-1
+- new upstream relase
+- renamed %%{Source0} to gstreamer-plugins-ugly-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.13-1
+- new upstream relase
+
+* Sat Oct 24 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.12-1
+- new upstream relase
+- added Requires(post): self-build-libmpeg2
+  - enable mpeg2dec with libmpeg2-devel in %%configure
+- check version between original spec and self-build spec in %%prep
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-3
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-2
+- added BuildArch: noarch
+- dropped PreReq: gtk-doc >= 1.3
+
+* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-1
+- new upstream relase
+
+* Mon Feb 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-2
+- changed to PreReq:  self-build-libmad >= 0.15 from libmad-devel
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
+- new upstream relase
+
+* Sun Aug 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.8-1
+- initial build for Vine Linux.

+ 195 - 0
nonfree/self-build-kino/kino-vl.spec

@@ -0,0 +1,195 @@
+##TODO: udev
+Name: kino
+Version: 1.3.4
+Release: 2%{?_dist_release}
+Summary: Kino - A simple non-linear video editor
+Summary(ja): Kino - シンプルなノンリニアビデオ編集ツール
+
+Group: Applications/Multimedia
+License: GPLv2+
+URL: http://www.kinodv.org/
+Source0: http://prdownloads.sourceforge.net/kino/%{name}-%{version}.tar.gz
+Patch0:         %{name}-udev.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: intltool
+BuildRequires: libsamplerate-devel
+BuildRequires: libdv-devel
+BuildRequires: libavc1394-devel
+BuildRequires: libraw1394-devel
+BuildRequires: libiec61883-devel
+BuildRequires: libogg-devel
+BuildRequires: libvorbis-devel
+BuildRequires: gtk2-devel >= 2.6.0
+BuildRequires: XOrg-devel
+BuildRequires: imlib-devel
+BuildRequires: libxml2-devel
+BuildRequires: perl
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as Requires(post).
+# BuildRequires: libquicktime-devel
+# BuildRequires: ffmpeg-devel
+
+Requires: libdv
+Requires: libavc1394
+Requires: libraw1394
+Requires: libogg
+Requires: libvorbis
+Requires: gtk2
+Requires: imlib
+Requires: libxml2
+Requires(post): shared-mime-info
+
+# These packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as Requires(post).
+# Requires: ffmpeg
+# Requires: ffmpeg2theora
+
+%description
+The new generation of digital camcorders use the Digital Video (DV) data
+format. Kino allows you to record, create, edit, and play movies recorded
+with DV camcorders. Unlike other editors, this program uses many keyboard
+commands for fast navigating and editing inside the movie.
+
+%description -l ja
+デジタルビデオカメラの新世代は 
+Digital Video (DV) データフォーマットを使います。
+Kino は DV デジタルビデオカメラで録画された動画を
+録画、作成、編集、再生できます。
+他の編集ソフトとは異なり、
+動画の中へ素早く移動や編集するために
+多くのキーボードコマンドを使えます。
+
+%package        devel
+Summary:        Development package for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The new generation of digital camcorders use the Digital Video (DV) data
+format. Kino allows you to record, create, edit, and play movies recorded
+with DV camcorders. Unlike other editors, this program uses many keyboard
+commands for fast navigating and editing inside the movie.
+
+This package contains development files to build kino plugins.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .udev
+
+
+%build
+%configure \
+    --disable-static \
+    --disable-dependency-tracking \
+    --disable-local-ffmpeg \
+    --enable-quicktime \
+    ;
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+%__ln_s -f kino $RPM_BUILD_ROOT%{_bindir}/kino2raw
+%__rm $RPM_BUILD_ROOT%{_datadir}/applications/Kino.desktop
+%__ln_s Kino.desktop kino.desktop
+
+%find_lang kino
+
+desktop-file-install \
+    --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
+    --add-category AudioVideoEditing \
+    --add-category X-AudioVideoCapture \
+    kino.desktop
+
+## remove unuse files
+%__rm -f %{buildroot}%{_libdir}/kino-gtk2/lib*.la
+
+%check
+%__make check
+
+%post 
+%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
+
+%postun
+%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
+
+%clean
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+
+%files -f kino.lang
+%defattr(-,root,root,-)
+%doc AUTHORS BUGS COPYING ChangeLog NEWS README* TODO
+%{_bindir}/kino
+%{_bindir}/kino2raw
+%{_mandir}/man1/*
+%{_datadir}/kino
+%{_datadir}/applications/*kino.desktop
+%{_datadir}/pixmaps/kino.png
+%exclude %config(noreplace) %{_sysconfdir}/udev/rules.d/kino.rules
+%{_datadir}/mime/packages/kino.xml
+%{_libdir}/kino-gtk2
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/kino
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-2
+- change release to sync with self-build-kino.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-1
+- new upstream release
+  - with recent ffmpeg
+
+* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.3-2
+- added devel subpackage
+  - dropped Obsoletes: %{name}-devel
+- added BuildRequires: 
+  - desktop-file-utils
+  - gettext
+  - intltool
+- added --disable-local-ffmpeg --enable-quicktime in configure options
+
+* Fri Jun 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.3-1
+- new upstream release
+- added BuildRequires: libiec61883-devel
+- added %%description -l ja
+- dropped --with-avcodec and added --disable-static in configure options
+
+* Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.2-1vl5
+- new upstream release
+- fixed gnome-kino.desktop
+- remove lib*.la
+- applied new versioning policy, spec in utf-8
+
+* Thu May 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.1-0vl1
+- new upstream release
+- run update-mime-database at %post and %postun section
+- rebuilt with new libraw1394
+
+* Sun May 16 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-0vl2
+- added BuildRequires: libsamplerate-devel
+
+* Thu Apr 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-0vl1
+- new upstream release
+
+* Wed Jan 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1
+- new upstream release
+- gtk2 version
+
+* Tue Sep 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.4-0vl1
+- Build for Vine Linux
+- add Japanese translation for summary and desktop files.
+
+* Mon Feb 24 2003 Dag Wieers <dag@wieers.com> - 0.6.4-0
+- Updated to 0.6.4.
+
+* Wed Feb 12 2003 Dag Wieers <dag@wieers.com> - 0.6.3-0
+- Initial package. (using dar)

+ 156 - 0
nonfree/self-build-kino/self-build-kino-vl.spec

@@ -0,0 +1,156 @@
+%define pkgname kino
+%define name	self-build-%{pkgname}
+%define version 1.3.4
+%define release	2%{?_dist_release}
+
+%define sourceurl0	http://prdownloads.sourceforge.net/kino/%{pkgname}-%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source100:	kino-udev.patch
+
+License:	GPL
+Group:		Restricted Software
+
+Obsoletes:	kino < 1.3.3-2
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):		desktop-file-utils
+Requires(post):		gettext
+Requires(post):		intltool
+Requires(post):		libsamplerate-devel
+Requires(post):		libdv-devel
+Requires(post):		libavc1394-devel
+Requires(post):		libraw1394-devel
+Requires(post):		libiec61883-devel
+Requires(post):		libogg-devel
+Requires(post):		libvorbis-devel
+Requires(post):		gtk2-devel >= 2.6.0
+Requires(post):		XOrg-devel
+Requires(post):		imlib-devel
+Requires(post):		libxml2-devel
+Requires(post):		perl
+
+Requires:		libdv
+Requires:		libavc1394
+Requires:		libraw1394
+Requires:		libogg
+Requires:		libvorbis
+Requires:		gtk2
+Requires:		imlib
+Requires:		libxml2
+Requires(post):		shared-mime-info
+
+Requires(post):		self-build-libquicktime
+Requires(post):		self-build-ffmpeg
+Requires(post):		self-build-ffmpeg2theora
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+The new generation of digital camcorders use the Digital Video (DV) data
+format. Kino allows you to record, create, edit, and play movies recorded
+with DV camcorders. Unlike other editors, this program uses many keyboard
+commands for fast navigating and editing inside the movie.
+
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+デジタルビデオカメラの新世代は 
+Digital Video (DV) データフォーマットを使います。
+Kino は DV デジタルビデオカメラで録画された動画を
+録画、作成、編集、再生できます。
+他の編集ソフトとは異なり、
+動画の中へ素早く移動や編集するために
+多くのキーボードコマンドを使えます。
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE100} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 105000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-2
+- renamed %%{Source0} to kino-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.4-1
+- new upstream release
+  - with recent ffmpeg
+
+* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.3.3-2
+- initial bulid

+ 165 - 0
nonfree/self-build-libdvdcss/libdvdcss-vl.spec

@@ -0,0 +1,165 @@
+%define name	libdvdcss
+%define version	1.2.10
+%define release	3%{?_dist_release}
+
+%define major  	2
+%define libname %{name}%{major}
+
+Summary:	Library for accessing DVDs like block devices with transparent decryption
+Summary(ja): 	CSS を解除し DVD をブロックデバイスのように利用できるライブラリ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{name}-%{version}.tar.bz2
+Patch0:		libdvdcss-1.2.10-doxygen-fix.patch
+# (See http://mailman.videolan.org/pipermail/libdvdcss-devel/2007-July/000471.html)
+
+License:	GPL
+Group:		System Environment/Libraries
+URL:		http://www.videolan.org/developers/libdvdcss.html
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+
+%description
+libdvdcss is a simple library designed for accessing DVDs like a block device
+without having to bother about the decryption. The important features are:
+ * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
+   OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
+   Solaris, HP-UX and OS/2.
+ * Adaptability: unlike most similar projects, libdvdcss doesn't require the
+   region of your drive to be set and will try its best to read from the disc
+   even in the case of a region mismatch.
+ * Simplicity: a DVD player can be built around the libdvdcss API using no
+   more than 6 library calls.
+
+%description -l ja
+libdvdcss は CSS (Content Scranble System) の解除に煩わされずに DVD を
+ブロックデバイスのように利用するためのシンプルなライブラリです。 
+主要な特徴は以下の通り:
+ * 可搬性; 現在サポートされているプラットフォームは GNU/Linux、FreeBSD、
+   NetBSD、OpenBSD、BSD/OS、BeOS、Windows 95/98/ME、Windows NT/2000/XP、
+   MacOS X、Solaris、HP-UX と OS/2 です。
+ * 適応性: 似たような他のプロジェクトとは違い、libdvdcss は DVD ドライブ
+   にリージョンコードが設定されている必要が無く、またリージョンが異なる
+   場合でもできるだけディスクを読み込もうと努力します。
+ * シンプル: libdvdcss を使えば 6種類の API を使うだけで DVD プレイヤー
+   を作成することができます。
+
+#-------------------------------------------------------------------------------
+%package -n %{libname}
+Summary:	Library for accessing DVDs like block devices with transparent decryption
+Summary(ja):	CSS を解除し DVD をブロックデバイスのように利用できるライブラリ
+Group:		System Environment/Libraries
+Provides:	%name = %version-%release
+
+%description -n %{libname}
+libdvdcss is a simple library designed for accessing DVDs like a block device
+without having to bother about the decryption. The important features are:
+ * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
+   OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
+   Solaris, HP-UX and OS/2.
+ * Adaptability: unlike most similar projects, libdvdcss doesn't require the
+   region of your drive to be set and will try its best to read from the disc
+   even in the case of a region mismatch.
+ * Simplicity: a DVD player can be built around the libdvdcss API using no
+   more than 6 library calls.
+
+%description -n %{libname} -l ja
+libdvdcss は CSS (Content Scranble System) の解除に煩わされずに DVD を
+ブロックデバイスのように利用するためのシンプルなライブラリです。 
+主要な特徴は以下の通り:
+ * 可搬性; 現在サポートされているプラットフォームは GNU/Linux、FreeBSD、
+   NetBSD、OpenBSD、BSD/OS、BeOS、Windows 95/98/ME、Windows NT/2000/XP、
+   MacOS X、Solaris、HP-UX と OS/2 です。
+ * 適応性: 似たような他のプロジェクトとは違い、libdvdcss は DVD ドライブ
+   にリージョンコードが設定されている必要が無く、またリージョンが異なる
+   場合でもできるだけディスクを読み込もうと努力します。
+ * シンプル: libdvdcss を使えば 6種類の API を使うだけで DVD プレイヤー
+   を作成することができます。
+
+#-------------------------------------------------------------------------------
+%package -n %{libname}-devel
+Summary:	Development tools for programs which will use the %{name} library
+Summary(ja):	%{name} 用の開発ライブラリおよびヘッダファイル
+Group:		Development/Libraries
+Requires:	%{libname} = %version-%release
+Provides:	%{name}-devel = %version-%release
+ 
+%description -n %{libname}-devel
+The %{name}-devel package includes the header files and static libraries
+necessary for developing programs which will manipulate DVDs files using
+the %{name} library.
+ 
+If you are going to develop programs which will manipulate DVDs, you
+should install %{name}-devel.  You'll also need to have the %{name}
+package installed.
+
+%description -n %{libname}-devel -l ja
+%{name}-devel パッケージは %{name} ライブラリを使って DCD を操作する
+アプリケーションを開発するのに必要なライブラリやヘッダファイルを含ん
+でいます。
+
+もし DVD を操作するプログラムを開発するなら、 %{name}-devel パッケージ
+をインストールしてください。また %{name} パッケージもインストールされて
+いる必要があります。
+
+#'
+
+%prep
+%setup -q
+%patch0 -p0 -b .doxygen-fix
+
+%build
+%configure
+%{__make}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%makeinstall
+
+# remove unnecessary file.
+%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libdvdcss.la
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%post -n %{libname} -p /sbin/ldconfig
+ 
+%postun -n %{libname} -p /sbin/ldconfig
+
+
+%files -n %{libname}
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
+%{_libdir}/libdvdcss.so.*
+
+%files -n %{libname}-devel
+%defattr(-,root,root)
+%{_includedir}/dvdcss/dvdcss.h
+%{_libdir}/libdvdcss.a
+%{_libdir}/libdvdcss.so
+%{_libdir}/pkgconfig/lib*.pc
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.10-3
+- change release to sync with self-build-libdvdcss
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-2
+- change release to sync with self-build-libdvdcss
+
+* Tue Nov 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-1
+- new upstream release
+- applied libdvdcss-1.2.10-doxygen-fix.patch
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.9-2
+- spec in utf8
+
+* Sat May 03 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-1
+- apply new versioning policy
+
+* Thu Nov  1 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-0vl1
+- initial build for Vine Linux
+- add Patch0 to fix doxygen error

+ 131 - 0
nonfree/self-build-libdvdcss/self-build-libdvdcss-vl.spec

@@ -0,0 +1,131 @@
+%define pkgname libdvdcss
+%define name	self-build-%{pkgname}
+%define version 1.2.10
+%define release	3%{?_dist_release}
+
+%define sourceurl http://download.videolan.org/pub/libdvdcss/%{version}/%{pkgname}-%{version}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source1:	libdvdcss-1.2.10-doxygen-fix.patch
+
+License:	GPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+Library for accessing DVDs like block devices with transparent
+decryption
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+libdvdcss は CSS を解除し DVD をブロックデバイスのように利用
+できるライブラリです。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 40000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}2-%{version}-%{release} \
+                                 %{pkgname}2-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}/*
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.10-3
+- renamed %%{Source0} to libdvdcss-vl.spec
+- check version between original spec and self-build spec in %%prep
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-2
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Tue Nov 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-1
+- new upstream release
+- applied libdvdcss-1.2.10-doxygen-fix.patch
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.9-2
+- spec in utf8
+
+* Sat May 03 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-1
+- run pre-allocate-rpm.sh in %%post
+- set PreReq: self-build-setup >= 0.8
+- apply new versioning policy
+
+* Thu Nov 01 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-0vl1
+- initial build for Vine Linux.
+  (using same version number of target software)

+ 152 - 0
nonfree/self-build-libmad/libmad-vl.spec

@@ -0,0 +1,152 @@
+# -*- coding: utf-8-unix -*-
+Summary: MPEG audio decoder library.
+Summary(ja): MPEG オーディオ復号化ライブラリ
+Name: libmad
+Version: 0.15.1b
+Release: 7%{?_dist_release}
+Group: System Environment/Libraries
+#Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
+Source: http://prdownloads.sourceforge.net/mad/%{name}-%{version}.tar.gz
+URL: http://www.underbit.com/products/mad/
+License: GPL
+Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: gcc-c++
+Provides: mad = %{version}-%{release}
+
+%description
+MAD (libmad) is a high-quality MPEG audio decoder. It currently supports
+MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
+the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
+and Layer III a.k.a. MP3) are fully implemented.
+ 
+MAD does not yet support MPEG-2 multichannel audio (although it should be
+backward compatible with such streams) nor does it currently support AAC.
+
+
+%package devel
+Summary: Header and library for developing programs that will use libmad.
+Summary(ja): labmad を使うプログラムを開発するためのライブラリ
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+MAD (libmad) is a high-quality MPEG audio decoder. It currently supports
+MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
+the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
+and Layer III a.k.a. MP3) are fully implemented.
+
+This package contains the header file as well as the static library needed
+to develop programs that will use libmad for mpeg audio decoding.
+
+
+%prep
+%setup -q
+
+%__sed -i -e /-fforce-mem/d configure* # -fforce-mem gone in gcc 4.2, noop earlier
+touch -r aclocal.m4 configure.ac NEWS AUTHORS ChangeLog
+
+%__cat << EOF > mad.pc
+prefix=%{_prefix}
+exec_prefix=%{_prefix}
+libdir=%{_libdir}
+includedir=%{_includedir}
+
+Name: mad
+Description: MPEG Audio Decoder
+Requires:
+Version: %{version}
+Libs: -L%{_libdir} -lmad -lm
+Cflags: -I%{_includedir}
+EOF
+
+%build
+%configure \
+    --enable-accuracy \
+    --disable-debugging \
+    --disable-static
+%__make %{?_smp_mflags} CPPFLAGS="$RPM_OPT_FLAGS"
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+%__rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+%{__install} -D -p -m 0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
+touch -r mad.h.sed %{buildroot}/%{_includedir}/mad.h
+
+%clean
+%__rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files 
+%defattr(-, root, root)
+%doc CHANGES COPYING COPYRIGHT CREDITS README TODO
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-, root, root)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-7
+- change release to sync with self-build-libmad
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-6
+- rebuild with new toolchain
+
+* Mon Sep 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-5
+- changed Source0: to http://prdownloads.sourceforge.net/mad
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.15.1b-4
+- change release to sync with self-build-libmad
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.15.1b-3
+- added %%configure options: --disable-static
+
+* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-2vl5
+- applied new versioning policy, spec in utf-8
+
+* Thu Jan 03 2007 Satoshi MACHINO <machino@vinelinux.org> 0.15.1b-1vl2
+- rebuilt on new toolchain
+
+* Thu Mar 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-1vl1
+- Build for Vine Linux based on freshrpms
+- add Japanese summary
+- add %post and %postun script
+
+* Thu Feb 19 2004 Matthias Saou <http://freshrpms.net/> - 0.15.1b-1.fr
+- Update to 0.15.1b.
+
+* Sun Nov  2 2003 Matthias Saou <http://freshrpms.net/> - 0.15.0b-3.fr
+- Rebuild for Fedora Core 1.
+
+* Thu Aug 28 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
+- Added mad.pc required by gstreamer-plugins.
+
+* Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
+- Update to 0.15.0b.
+- Split a devel package.
+
+* Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
+- Rebuilt for Red Hat Linux 9.
+- Added mad provides.
+
+* Fri Sep 27 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
+- Rebuild for Red Hat Linux 8.0 (missing because of license issues).
+- Spec file cleanup.
+
+* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com> 0.14.2b-3
+- ship libid3tag too
+
+* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
+- rebuild
+
+* Mon Jan 28 2002 Bill Nottingham <notting@redhat.com>
+- split libmad off into a separate package
+

+ 137 - 0
nonfree/self-build-libmad/self-build-libmad-vl.spec

@@ -0,0 +1,137 @@
+%define pkgname libmad
+%define name	self-build-%{pkgname}
+%define version 0.15.1b
+%define release	7%{?_dist_release}
+
+# define sourceurl0	ftp://ftp.mars.org/pub/mpeg/%{pkgname}-%{version}.tar.gz
+%define sourceurl0	http://prdownloads.sourceforge.net/mad/%{pkgname}-%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+
+License:	GPL
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):		gcc-c++
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+MAD (libmad) is a high-quality MPEG audio decoder. It currently supports
+MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
+the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
+and Layer III a.k.a. MP3) are fully implemented.
+ 
+MAD does not yet support MPEG-2 multichannel audio (although it should be
+backward compatible with such streams) nor does it currently support AAC.
+
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+MAD (libmad) is a high-quality MPEG audio decoder. It currently supports
+MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as
+the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
+and Layer III a.k.a. MP3) are fully implemented.
+ 
+MAD does not yet support MPEG-2 multichannel audio (although it should be
+backward compatible with such streams) nor does it currently support AAC.
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 20000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-7
+- renamed %%{Source0} to libmad-vl.spec
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-6
+- rebuild with new toolchain
+
+* Mon Sep 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.15.1b-5
+- changed to download from http://prdownloads.sourceforge.net/mad in %%sourceurl0
+- check version between original spec and self-build spec in %%prep
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.15.1b-4
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.15.1b-3
+- initial bulid for self-build

+ 131 - 0
nonfree/self-build-libmp4v2/libmp4v2-vl.spec

@@ -0,0 +1,131 @@
+%define projname mp4v2
+
+Summary: Library for working with files using the mp4 container format
+Name: libmp4v2
+Version: 1.9.1
+Release: 4%{?_dist_release}
+License: MPLv1.1
+Group: System Environment/Libraries
+#URL: http://resare.com/libmp4v2/
+# Source0: http://resare.com/libmp4v2/dist/libmp4v2-%{version}.tar.bz2
+# # Only here to be in the source package, "just in case, and FYI"
+# Source1: http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2
+URL: http://code.google.com/p/mp4v2/
+Source0: http://mp4v2.googlecode.com/files/%{projname}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+The libmp4v2 library provides an abstraction layer for working with files
+using the mp4 container format. This library is developed by mpeg4ip project
+and is an exact copy of the library distributed in the mpeg4ip package.
+
+
+%package devel
+Summary: Development files for the mp4v2 library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files and documentation needed to develop and compile programs
+using the libmp4v2 library.
+
+
+%prep
+%setup -q -n %{projname}-%{version}
+
+
+%build
+%configure \
+    --disable-static \
+    --disable-dependency-tracking \
+    --disable-gch \
+    ;
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+
+# remove unpackaged files
+%{__rm} -rf %{buildroot}%{_mandir}/manm/
+%{__rm} -f %{buildroot}%{_libdir}/*.{a,la}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/*
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc README
+%dir %{_includedir}/%{projname}
+%{_includedir}/%{projname}/*.h
+%{_libdir}/*.so
+%{_mandir}/man?/*
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-4
+- change release to sync with self-build-libmp4v2
+
+* Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-3
+- fixed the permission of /usr/include/mp4v2 to access it by group, others
+
+* Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-2
+- added --disable-gch in configure options
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-1
+- new upstream release 
+- changed URL: to http://code.google.com/p/mp4v2/
+  MP4v2 was originally bundled with mpeg4ip library, 
+  but has been moved into its own maintained library 
+  due to a combination of the cessation of support of mpeg4ip 
+  and the usefulness of this library on its own.
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-2
+- change release to sync with self-build-libmp4v2
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-1
+- initial build
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.1-6
+- Autorebuild for GCC 4.3
+
+* Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-5
+- Rebuild for new BuildID feature.
+
+* Sun Aug  5 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-4
+- Update License field.
+
+* Fri Dec 15 2006 Matthias Saou <http://freshrpms.net/> 1.5.0.1-3
+- Spec file cleanup (habits, mostly) preparing to submit for Extras inclusion.
+
+* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.5.0.1-2
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Tue Jul 18 2006 Noa Resare <noa@resare.com> 1.5.0.1-1
+- new upstream release
+
+* Sat May 13 2006 Noa Resare <noa@resare.com> 1.4.1-3
+- disabled static lib
+- use DESTDIR
+- disable-dependency-tracking for faster builds
+- removed a manpage template file apt.mpt.gz
+
+* Mon May 08 2006 Noa Resare <noa@resare.com> 1.4.1-2
+- specfile cleanups
+
+* Fri May 05 2006 Noa Resare <noa@resare.com> 1.4.1-1.lvn5
+- initial release
+

+ 141 - 0
nonfree/self-build-libmp4v2/self-build-libmp4v2-vl.spec

@@ -0,0 +1,141 @@
+%define projname mp4v2
+
+%define pkgname libmp4v2
+%define name	self-build-%{pkgname}
+%define version 1.9.1
+%define release	4%{?_dist_release}
+
+#% define sourceurl0	http://resare.com/libmp4v2/dist/%{pkgname}-%{version}.tar.bz2
+#% define sourceurl1	http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2
+%define sourceurl0	http://mp4v2.googlecode.com/files/%{projname}-%{version}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package (with internal libmp4v2)
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+
+License:	MPLv1.1
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+The libmp4v2 library provides an abstraction layer for working with files
+using the mp4 container format. This library is developed by mpeg4ip project
+and is an exact copy of the library distributed in the mpeg4ip package.
+
+
+If you install this package, it automatically downloads 
+source code, compile it with internal libmp4v2, and create
+rpm packages of %{pkgname}-%{version} and libmp4v2-%{version}. 
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+libmp4v2 ライブラリは mp4 コンテナフォーマットを用いたファイ
+ルで動作するものに対して抽象レイヤーを提供します.このライブ
+ラリは mpeg4ip プロジェクトにより開発されており,mpeg4ip パッ
+ケージに分散されているライブラリの完全なコピーです.
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードして、%{pkgname}-%{version} の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 75000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-4
+- - renamed %%{Source0} to libmp4v2-vl.spec
+
+* Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-3
+- fixed the permission of /usr/include/mp4v2 to access it by group, others
+
+* Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-2
+- added --disable-gch in configure options
+
+* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-1
+- new upstream release 
+- changed URL: to http://code.google.com/p/mp4v2/
+  MP4v2 was originally bundled with mpeg4ip library, 
+  but has been moved into its own maintained library 
+  due to a combination of the cessation of support of mpeg4ip 
+  and the usefulness of this library on its own.
+
+* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-2
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-1
+- initial build
+
+### end of file

+ 167 - 0
nonfree/self-build-libquicktime/libquicktime-vl.spec

@@ -0,0 +1,167 @@
+Name:            libquicktime
+Version:         1.1.4
+Release:         2%{?_dist_release}
+License:         LGPLv2+
+Group:           System Environment/Libraries
+Source0:         http://prdownloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
+URL:             http://libquicktime.sourceforge.net/
+Summary:         A Library for reading and writing quicktime files
+Summary(ja):     QuickTime ファイルを読み書きするためのライブラリ
+
+Vendor:          Project Vine
+Distribution:    Vine Linux
+BuildRoot:       %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires:   libvorbis-devel
+BuildRequires:   libpng-devel
+BuildRequires:   libjpeg-devel
+BuildRequires:   gtk2-devel 
+BuildRequires:   libdv-devel
+BuildRequires:   libraw1394-devel
+BuildRequires:   libavc1394-devel
+
+BuildRequires:   alsa-lib-devel
+BuildRequires:   zlib-devel
+BuildRequires:   gettext-devel
+BuildRequires:   mesa-libGL-devel
+BuildRequires:   libX11-devel
+BuildRequires:   libICE-devel
+BuildRequires:   libSM-devel
+BuildRequires:   libXext-devel
+BuildRequires:   libXmu-devel
+BuildRequires:   libXpm-devel
+BuildRequires:   libXt-devel
+BuildRequires:   libXaw-devel >= 1.0.5
+BuildRequires:	 libXv-devel
+
+##BuildRequires:   ffmpeg-devel
+##BuildRequires:   lame-devel
+##BuildRequires:   faad2-devel
+##BuildRequires:   faac-devel
+##BuildRequires:   x264-devel
+
+%description
+Libquicktime is a library for reading and writing QuickTime files
+on UNIX systems. Video CODECs supported by this library are OpenDivX, MJPA,
+JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression.  Supported
+audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
+
+Libquicktime is based on the quicktime4linux library.  Libquicktime add
+features such as a GNU build tools-based build process and dynamically
+loadable CODECs.
+
+%description -l ja
+libquicktimeはUNIX 系のシステムでQuickTimeファイルを読み書きするための
+ライブラリです.ビデオエンコード:OpenDivX、MJPA、JPEG Photo、PNG、RGB、
+YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ulaw、そ
+の他線型PCM形式をサポートします.
+
+%package devel
+Summary:         Development files from the libquicktime library
+Summary(ja):     libquicktime の開発ライブラリ
+Group:           Development/Libraries
+Requires:        %{name} = %{version}
+Requires:        zlib-devel
+
+%description devel
+libquicktime is a library for reading and writing quicktime files. It
+is based on the quicktime4linux library, with many extensions.
+
+You will need to install this development package if you intend to rebuild
+programs that need to access quicktime files using libquicktime.
+
+%description -l ja devel
+libquicktime の開発ライブラリです.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%configure \
+    --disable-static \
+    --disable-dependency-tracking \
+    --disable-rpath \
+    --with-cpuflags="$RPM_OPT_FLAGS" \
+    --without-doxygen \
+    --with-libdv \
+    --enable-gpl \
+    --enable-libswscale \
+    %ifarch %{ix86} x86_64
+	--enable-mmx \
+    %else
+	--disable-mmx \
+    %endif
+	;
+
+# remove rpath from libtool
+%__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+%__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+%__make %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall
+
+## remove unuse files
+find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \;
+
+%find_lang %{name}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files -f %{name}.lang
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{_bindir}/lqtplay
+%{_bindir}/lqt_transcode
+%{_bindir}/qt*
+%{_libdir}/*.so.*
+%dir %{_libdir}/libquicktime/
+%{_libdir}/libquicktime/*.so
+%{_mandir}/man1/*
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_bindir}/libquicktime_config
+%{_bindir}/lqt-config
+%{_includedir}/*
+%{_libdir}/*.so
+%dir %{_libdir}/libquicktime/
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/aclocal/*.m4
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
+- change release to sync with self-build-libquicktime.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
+- new upstream release
+
+* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
+- new upstream release
+- changed License: LGPLv2
+- added some configure options
+
+* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
+- rebuild with libXaw.so.7 (libXaw-1.0.5)
+
+* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
+- applied new versioning policy, spec in utf-8
+- updated libquicktime to 1.0.3
+
+* Thu Aug  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
+- new upstream release
+- License is LGPL
+- added libquicktime.pc to devel package
+
+* Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
+- Inital package for VineLinux3.1

+ 150 - 0
nonfree/self-build-libquicktime/self-build-libquicktime-vl.spec

@@ -0,0 +1,150 @@
+%define pkgname libquicktime
+%define name	self-build-%{pkgname}
+%define version 1.1.4
+%define release	2%{?_dist_release}
+
+%define sourceurl0	http://prdownloads.sourceforge.net/libquicktime/%{pkgname}-%{version}.tar.gz
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+
+License:	LGPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):		libvorbis-devel
+Requires(post):		libpng-devel
+Requires(post):		libjpeg-devel
+Requires(post):		gtk2-devel 
+Requires(post):		libdv-devel
+Requires(post):		libraw1394-devel
+Requires(post):		libavc1394-devel
+
+Requires(post):		alsa-lib-devel
+Requires(post):		zlib-devel
+Requires(post):		gettext-devel
+Requires(post):		mesa-libGL-devel
+Requires(post):		libX11-devel
+Requires(post):		libICE-devel
+Requires(post):		libSM-devel
+Requires(post):		libXext-devel
+Requires(post):		libXmu-devel
+Requires(post):		libXpm-devel
+Requires(post):		libXt-devel
+Requires(post):		libXaw-devel >= 1.0.5
+Requires(post):		libXv-devel
+
+Requires(post):		self-build-ffmpeg
+Requires(post):		self-build-lame
+Requires(post):		self-build-faad2
+Requires(post):		self-build-faac
+Requires(post):		self-build-x264
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+Libquicktime is a library for reading and writing QuickTime files
+on UNIX systems. Video CODECs supported by this library are OpenDivX, MJPA,
+JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression.  Supported
+audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
+
+Libquicktime is based on the quicktime4linux library.  Libquicktime add
+features such as a GNU build tools-based build process and dynamically
+loadable CODECs.
+
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+libquicktimeはUNIX 系のシステムでQuickTimeファイルを読み書きするための
+ライブラリです.ビデオエンコード:OpenDivX、MJPA、JPEG Photo、PNG、RGB、
+YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ulaw、そ
+の他線型PCM形式をサポートします.
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 185000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
+- renamed %%{Source0} to libquicktime-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
+- new upstream release
+
+* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
+- initial bulid

+ 405 - 0
nonfree/self-build-mplayer/mplayer-vl.spec

@@ -0,0 +1,405 @@
+%define name	mplayer
+%define version	1.0
+#%%define extver	%{nil}
+%define extver	rc2
+#% define release	4%{?extver:.%{extver}}%{?_dist_release}
+%define svndate  20100317
+%define release	31.%{svndate}%{?_dist_release}
+
+%if %{?_dist_release} == "vl6" || %{?_dist_release} == "vl5"
+%define ttfontdir   /usr/share/fonts
+%define ttfontlist  TrueType-vlgothic/VL-PGothic-Regular \\\
+                    TrueType-sazanami-gothic/sazanami-gothic
+%endif
+%if %{?_dist_release} == "vl4"
+%define ttfontdir   /usr/X11R6/lib/X11/fonts/TrueType
+%define ttfontlist  VL-PGothic-Regular ipagp sazanami-gothic luxirr
+%endif
+
+Summary:	The Movie Player
+Summary(ja): 	動画プレイヤー
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+#Source0:	http://www.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}%{extver}.tar.bz2
+Source0:	mplayer-export-%{svndate}.tar.bz2
+Source1:	http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
+Source10:       mplayer-snapshot.sh
+Patch2:         %{name}-config.patch
+Patch8:         %{name}-manlinks.patch
+Patch10:        %{name}-qcelp.patch
+Patch14:        %{name}-nodvdcss.patch
+
+License:	GPLv2+
+Group:		Applications/Multimedia
+URL:		http://www.mplayerhq.hu/
+
+BuildRequires:	gtk2-devel
+BuildRequires:	freetype2-devel
+BuildRequires:	SDL-devel
+BuildRequires:	alsa-lib-devel
+BuildRequires:	esound-devel
+BuildRequires:	cdparanoia-devel
+BuildRequires:	libvorbis-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	giflib-devel
+BuildRequires:	zlib-devel
+BuildRequires:	libdvdread
+BuildRequires:  libmpcdec-devel
+BuildRequires:  twolame-devel
+BuildRequires:  yasm
+BuildRequires:  libvdpau-devel
+BuildRequires:  libXScrnSaver-devel
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+##Requires:	self-build-mplayer-codecs
+##BuildRequires:	self-build-libdvdcss
+##BuildRequires:	self-build-libdvdnav
+##BuildRequires:  self-build-faac
+##BuildRequires:  self-build-lame
+##BuildRequires:  self-build-libdca
+##BuildRequires:  self-build-x264 >= 0.0.0-4.20090110
+##BuildRequires:  self-build-xvidcore >= 0.9.2
+##BuildRequires:  self-build-faad2 >= 2.6
+##BuildRequires:  self-build-libmad
+Requires:	TrueType-vlgothic
+%if %{?_dist_release} == "vl6" || %{?_dist_release} == "vl5"
+Requires:	mesa-libGL
+BuildRequires:	xorg-x11-devel 
+BuildRequires:	mesa-libGL-devel
+%endif
+%if %{?_dist_release} == "vl4"
+Requires:	XOrg-gl
+BuildRequires:	XOrg-devel 
+BuildRequires:	XOrg-gl-devel
+%endif
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+
+%description
+MPlayer can play most standard video formats out of the box and almost
+all others with the help of external codecs. 
+MPlayer currently works best from the command line, but visual feedback
+for many functions is available from its onscreen status display (OSD),
+which is also used for displaying subtitles.
+MPlayer also has a GUI with skin support and several unofficial alternative
+graphical frontends are available.
+
+MEncoder is a command line video encoder for advanced users that can
+be built from the MPlayer source tree. Unofficial graphical frontends
+exist but arenot included.
+
+MPlayer supports most common formats, like DVDs, MPEG-1/2/4, etc, but
+support for some newer codecs are not yet inpmlemented.
+You should install mplayer-codecs package if you want to play videos
+using those new codecs.
+
+%description -l ja
+MPlayer は一般的なフォーマットの動画ならそのままですぐ再生できます。
+またそれ以外のほとんど全てのフォーマットも外部 Codec を使用すること
+で生できます。
+現在の MPlayer はコマンドラインから使うのが一番便利ですが、多くの操作
+は字幕と同様に、オンスクリーン・ディスプレイ (OSD) によりその結果が画
+面上で確認できます。
+MPlayer には スキンを変更できる GUI も用意されていますし、また複数の
+非公式なフロントエンドも利用できます。
+
+MEncoder は上級者向けのコマンドラインの動画用エンコーダーです。
+非公式な GUI フロントエンドもありますが、このパッケージには含まれて
+いません。
+
+MPlayer は何もしなくても DVD や MPEG-1/2/4 のように一般的なフォーマット
+を再生できます。ただし一部の最新のフォーマットへの対応はまだ実装されて
+いないので、そのような動画を再生したい場合は mplayer-codecs パッケージ
+をインストールする必要があります。
+
+
+%prep
+#% setup -q -n MPlayer-%{version}%{extver}
+%setup -q -n mplayer-export-%{svndate}
+
+%patch2 -p1 -b .config
+%patch8 -p1 -b .manlinks
+%patch10 -p1 -b .qclp
+%patch14 -p1 -b .nodvdcss
+
+%build
+./configure \
+    --prefix=%{_prefix} \
+    --confdir=%{_sysconfdir}/mplayer \
+    --enable-runtime-cpudetection \
+    --extra-cflags="$RPM_OPT_FLAGS" \
+    --disable-libdvdcss-internal \
+    --disable-dvdread-internal \
+    --enable-dvdread \
+    --enable-dvdnav \
+    \
+    --disable-faac-lavc \
+    --disable-mp3lame-lavc \
+    --disable-x264-lavc \
+    \
+    --disable-faad-internal \
+    \
+    --disable-libopenjpeg \
+    \
+    --disable-bitmap-font \
+    --disable-termcap \
+    --enable-xvmc \
+    --with-xvmclib=XvMCW \
+    \
+    --enable-largefiles \
+    --enable-menu \
+    --enable-gui \
+    --language=ja,en \
+    ;
+
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install prefix=${RPM_BUILD_ROOT}%{_prefix} \
+                  BINDIR=${RPM_BUILD_ROOT}%{_bindir} \
+                  DATADIR=${RPM_BUILD_ROOT}%{_datadir}/mplayer \
+                  CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir}/mplayer \
+                  LIBDIR=${RPM_BUILD_ROOT}%{_libdir} \
+                  MANDIR=${RPM_BUILD_ROOT}%{_mandir}
+
+## install some default config files
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/mplayer
+%{__install} -pm 644 etc/example.conf \
+    ${RPM_BUILD_ROOT}%{_sysconfdir}/mplayer/mplayer.conf
+%{__install} -pm 644 etc/{input,menu,codecs}.conf \
+    ${RPM_BUILD_ROOT}%{_sysconfdir}/mplayer
+
+# install default skin
+%{__mkdir} -p ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
+pushd ${RPM_BUILD_ROOT}%{_datadir}/mplayer/skins
+%{__tar} xjf %{SOURCE1}
+%{__ln_s} Blue default
+popd
+
+# make sybolic link to ttf font for subtitle
+for i in %{ttfontlist}; do
+    if [ -e %{ttfontdir}/$i.ttf ];then
+	%__ln_s -f %{ttfontdir}/$i.ttf ${RPM_BUILD_ROOT}%{_datadir}/mplayer/subfont.ttf;
+	break;
+    fi;
+done
+
+## install TOOLS
+for file in aconvert.sh divx2svcd.sh mencvcd.sh midentify.sh mpconsole.sh qepdvcd.sh subsearch.sh ; do
+%__install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .sh`
+done
+
+for file in calcbpp.pl countquant.pl dvd2divxscript.pl ; do
+%__install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .pl`
+done
+
+for file in vobshift.py ; do
+%__install -pm 755 TOOLS/$file $RPM_BUILD_ROOT%{_bindir}/`basename $file .py`
+done
+
+%__mkdir -p $RPM_BUILD_ROOT%{_datadir}/mplayer
+%__install -pm 644 TOOLS/*.fp $RPM_BUILD_ROOT%{_datadir}/mplayer/
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS Changelog Copyright LICENSE README
+%config(noreplace) %{_sysconfdir}/mplayer/mplayer.conf
+%config(noreplace) %{_sysconfdir}/mplayer/codecs.conf
+%config(noreplace) %{_sysconfdir}/mplayer/input.conf
+%config(noreplace) %{_sysconfdir}/mplayer/menu.conf
+%{_bindir}/mplayer
+%{_bindir}/gmplayer
+%{_bindir}/mencoder
+%{_datadir}/mplayer/skins/Blue
+%{_datadir}/mplayer/skins/default
+%{_datadir}/mplayer/subfont.ttf
+%{_datadir}/applications/mplayer.desktop
+%{_datadir}/pixmaps/mplayer.xpm
+%{_mandir}/man1/mplayer.1*
+%{_mandir}/man1/mencoder.1*
+## TOOLS
+%{_bindir}/aconvert
+%{_bindir}/calcbpp
+%{_bindir}/countquant
+%{_bindir}/divx2svcd
+%{_bindir}/dvd2divxscript
+%{_bindir}/mencvcd
+%{_bindir}/midentify
+%{_bindir}/mpconsole
+%{_bindir}/qepdvcd
+%{_bindir}/subsearch
+%{_bindir}/vobshift
+%{_datadir}/mplayer/*.fp
+
+
+%changelog
+* Thu Mar 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-31.20100317
+- updated source snapshot 20100317
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-30.20100216
+- updated source snapshot 20100216
+- moved scripts from TOOLS
+- added --disable-libopenjpeg in configure options
+
+* Tue Feb 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-29.20100201
+- updated source snapshot 20100201
+- dropped obsolete patches
+- added BuildRequires: 
+  - libvdpau-devel
+  - libXScrnSaver-devel
+
+* Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-28.20091031
+- update mplayer-config-20091215-vine.patch
+- update mplayer-20091215-x86_32-compile.patch
+- added --enable-runtime-cpudetection in configure options
+
+* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-27.20091031
+- source snapshot 20091031
+  - updated mplayer-20091031-x86_32-compile.patch
+
+* Sun Oct 04 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-26.20091003
+- source snapshot 20091003
+
+* Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-25.20090905
+- change release to sync with self-build-mplayer
+
+* Sun Sep 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-24.20090905
+- source snapshot 20090905
+- added settings for vl6
+
+* Thu Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-23.20090821
+- source snapshot 20090821
+- replaced BR: libungif-devel with BR: giflib-devel
+
+* Thu Jul 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-22.20090722
+- source snapshot 20090722
+
+* Fri Jul 03 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-21.20090702
+- source snapshot 20090702
+
+* Fri Jun 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-20.20090611
+- source snapshot 20090611
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-19.20090522
+- added Requires: TrueType-vlgothic
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-18.20090522
+- source snapshot 20090522
+  - build with x264 >= 0.0.0-9.20090522
+  - updated mplayer-20090522-nodvdcss.patch
+
+* Thu May 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-17.20090502
+- change release to sync with self-build-mplayer
+
+* Sun May 03 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-16.20090502
+- source snapshot 20090502
+- updated mplayer-20090503-x86_32-compile.patch
+- updated mplayer-20090502-nodvdcss.patch
+
+* Thu Apr 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-15.20090327
+- applied mplayer-config-vine.patch
+
+* Sat Mar 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-14.20090327
+- source snapshot 20090327
+- updated mplayer-20090327-x86_32-compile.patch
+- updated mplayer-20090325-nodvdcss.patch
+- dropped gmplayer-about-vine.patch
+- install some default config files
+- added configure options: 
+  - --disable-termcap
+  - --enable-xvmc
+  - --with-xvmclib=XvMCW
+- archived doc/mplayer-1.0/TOOLS directory to doc/TOOLS.tar.bz2
+- fixed %%files for *.conf
+
+* Fri Mar 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-13.20090305
+- source snapshot 20090305
+
+* Sat Feb 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-12.20090227
+- source snapshot 20090227
+
+* Tue Feb 17 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-11.20090216
+- source snapshot 20090216
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-10.20090206
+- source snapshot 20090206
+- dropped mplayer-man-zh_CN.patch
+- updated mplayer-20090206-nodvdcss.patch
+- changed to PreReq:  self-build-faad2 from faad2-devel
+- added PreReq:  self-build-libmad
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-9.20090131
+- source snapshot 20090131
+
+* Thu Jan 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-8.20090122
+- change release to sync with self-build-mplayer
+
+* Fri Jan 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-7.20090122
+- source snapshot
+- update mplayer-20090122-nodvdcss.patch
+- added BuildRequires: 
+  - faad2-devel
+  - libmpcdec-devel
+  - twolame-devel
+  - yasm
+  - faac-devel (as PreReq in self-build-%{name})
+  - lame-devel (as PreReq in self-build-%{name})
+  - libdca-devel (as PreReq in self-build-%{name})
+  - x264-devel >= 0.0.0-4.20090110 (as PreReq in self-build-%{name})
+  - xvidcore-devel >= 0.9.2 (as PreReq in self-build-%{name})
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-6.20090109
+- source snapshot
+- added --disable-faac-lavc --disable-mp3lame-lavc --disable-x264-lavc 
+  --disable-faad-internal in configure options
+- dropped gmplayer-add-flv-extension.patch
+
+* Sun Dec 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-5.20081001
+- source snapshot
+- fixed License
+- added some patches from RPM Fusion
+- updated gmplayer-about-vine.patch for 20081001 snapshot
+- added BuildRequires:	libdvdread
+- added BuildRequires:	self-build-libdvdcss self-build-libdvdnav
+- added --disable-dvdread-internal --enable-dvdread --enable-dvdnav
+  in configure options
+#- applied mplayer-avoid-Warning_MVs_not_available.patch for VineSeed
+
+* Mon Nov 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-4.rc2
+- fixed License
+- added some devel packages to support OpenGL
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-3.rc2
+- spec in utf8
+- fix sybolic link of subfont for vl5
+
+* Wed May 07 2008 Atsushi SHICHI <ats777@gmail.com> 1.0-2.rc2vl4
+- add "Patch105: CVE-2008-1558.patch".
+
+* Fri May 02 2008 Atsushi SHICHI <ats777@gmail.com> 1.0-1.rc2vl4
+- build with new versioning policy.
+- fix Source[01] URLs.
+- add "Patch200: gmplayer-about-vine.patch".
+- add "Patch201: gmplayer-add-flv-extension.patch".
+
+* Sun Feb 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-0vl0.3rc2
+- add four official security patches (CVE-2008-0485, CVE-2008-0486, 
+  CVE-2008-0629, CVE-2008-0630)
+- add mplayer-1.0rc2-20080211-stream_cddb.patch
+
+* Tue Feb 12 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.2rc2
+- change source download URL. <BTS:VineLinux:603>
+
+* Sun Jan 27 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.1rc2
+- fix CONFDIR for make install. <BTS:wishes:33>
+
+* Fri Jan 18 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.0rc2
+- initial build for Vine Linux

+ 333 - 0
nonfree/self-build-mplayer/self-build-mplayer-vl.spec

@@ -0,0 +1,333 @@
+%define pkgname mplayer
+%define name	self-build-%{pkgname}
+%define version 1.0
+%define extver	rc2
+#% define release	4%{?extver:.%{extver}}%{?_dist_release}
+%define svndate  20100317
+%define release	31.%{svndate}%{?_dist_release}
+
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source1:	%{pkgname}-snapshot.sh
+
+Source11:	%{pkgname}-export-%{svndate}.tar.bz2
+Source12:	Blue-1.7.tar.bz2
+
+Source102:        %{pkgname}-config.patch
+Source108:        %{pkgname}-manlinks.patch
+Source110:        %{pkgname}-qcelp.patch
+Source114:        %{pkgname}-nodvdcss.patch
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+#Requires(post):		subversion
+
+# (build)requies of target package.
+Requires(post):		gtk2-devel
+Requires(post):		freetype2-devel
+Requires(post):		SDL-devel
+Requires(post):		alsa-lib-devel
+Requires(post):		esound-devel
+Requires(post):		cdparanoia-devel
+Requires(post):		libvorbis-devel
+Requires(post):		libjpeg-devel
+Requires(post):		libpng-devel
+Requires(post):		giflib-devel
+Requires(post):		zlib-devel
+Requires(post):		libdvdread
+Requires(post):		libmpcdec-devel
+Requires(post):		twolame-devel
+Requires(post):		yasm
+Requires(post):		libvdpau-devel
+Requires(post):		libXScrnSaver-devel
+Requires(post):		self-build-mplayer-codecs
+Requires(post):		self-build-libdvdcss
+Requires(post):		self-build-libdvdnav
+Requires(post):		self-build-faac
+Requires(post):		self-build-faad2 >= 2.6
+Requires(post):		self-build-lame
+Requires(post):		self-build-libdca
+Requires(post):		self-build-libmad
+Requires(post):		self-build-x264 >= 0.0.0-9.20090522
+Requires(post):		self-build-xvidcore >= 0.9.2
+Requires:	TrueType-vlgothic
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
+Requires:	mesa-libGL
+Requires(post):		xorg-x11-devel 
+Requires(post):		mesa-libGL-devel
+%endif
+%if %{?_dist_release} == "vl4"
+Requires:	XOrg-gl
+Requires(post):		XOrg-devel 
+Requires(post):		XOrg-gl-devel
+%endif
+
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+MPlayer is the movie player.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}%{extver}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+Additional function is automatically included if following 
+packages are installed in advance.
+
+#lirc: remote control support
+#lame-devel: mp3 encoding
+samba-libsmbclient-devel: SMB file system support
+
+#xorg-x11-drv-nvidia: VDPAU support
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+MPlayer は動画プレイヤーです。
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}%{extver}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+このパッケージより前に以下の関連パッケージをインストールして
+おくと、%{pkgname} が対応できる機能が自動的に追加されます。
+
+#lirc: リモコンのサポート
+#lame-devel: mp3 へのエンコード
+samba-libsmbclient-devel: SMB ファイルシステムのサポート
+xorg-x11-drv-nvidia: VDPAU support
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE11} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE12} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE102} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE108} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE110} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE114} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec 1525000
+
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Thu Mar 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-31.20100317
+- updated source snapshot 20100317
+- renamed %%{Source0} to mplayer-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-30.20100216
+- updated source snapshot 20100216
+- dropped obsolete patches
+- added Requires(post): libvdpau-devel libXScrnSaver-devel
+
+* Sat Dec 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-28.20091031
+- update mplayer-config-20091215-vine.patch
+- update mplayer-20091215-x86_32-compile.patch
+
+* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-27.20091031
+- source snapshot 20091031
+  - updated mplayer-20091031-x86_32-compile.patch
+
+* Sun Oct 04 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-26.20091003
+- source snapshot 20091003
+
+* Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-25.20090905
+- added some if conditions for "vl6"
+
+* Sun Sep 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-24.20090905
+- source snapshot 20090905
+- added settings for vl6
+
+* Thu Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-23.20090821
+- source snapshot 20090821
+- replaced BR: libungif-devel with BR: giflib-devel
+- mentioned VDPAU support in %%description
+
+* Thu Jul 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-22.20090722
+- source snapshot 20090722
+
+* Fri Jul 03 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-21.20090702
+- source snapshot 20090702
+- check version between original spec and self-build spec in %%prep
+
+* Fri Jun 12 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-20.20090611
+- source snapshot 20090611
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-19.20090522
+- added Requires: TrueType-vlgothic
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-18.20090522
+- source snapshot 20090522
+  - build with x264 >= 0.0.0-9.20090522
+  - updated mplayer-20090502-nodvdcss.patch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Thu May 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-17.20090502
+- added PreReq: self-build-mplayer-codecs
+
+* Tue May 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-16.20090502
+- added BuildArch: noarch
+- source snapshot 20090502
+- updated mplayer-20090503-x86_32-compile.patch
+- updated mplayer-20090502-nodvdcss.patch
+
+* Thu Apr 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-15.20090327
+- included source archives: 
+  - mplayer-export-20090327.tar.bz2
+  - Blue-1.7.tar.bz2
+- applied mplayer-config-vine.patch
+
+* Sat Mar 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-14.20090327
+- source snapshot 20090327
+- updated mplayer-20090327-x86_32-compile.patch
+- updated mplayer-20090325-nodvdcss.patch
+- dropped gmplayer-about-vine.patch
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-10.20090206
+- source snapshot 20090206
+- dropped mplayer-man-zh_CN.patch
+- updated mplayer-20090206-nodvdcss.patch
+- changed to PreReq:  self-build-faad2 from faad2-devel
+- added PreReq:  self-build-libmad
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-9.20090131
+- source snapshot 20090131
+- fixed %%files section
+
+* Thu Jan 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-8.20090122
+- fixed %%post: added rm -f "$pwd"/%{pkgname}-export-%{svndate}.tar.bz2
+
+* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-7.20090122
+- source snapshot
+- update mplayer-nodvdcss.patch: mplayer-20090122-nodvdcss.patch
+- added PreReq:	
+  - faad2-devel
+  - libmpcdec-devel
+  - twolame-devel
+  - yasm
+  - self-build-libdvdcss
+  - self-build-libdvdnav
+  - self-build-faac
+  - self-build-lame
+  - self-build-libdca
+  - self-build-x264 >= 0.0.0-4.20090110
+  - self-build-xvidcore >= 0.9.2
+- move %%define source0Exists() from %%post section to header
+- fixed %%post section: clean up source archive
+
+* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-6.20090109
+- source snapshot
+- added --disable-faac-lavc --disable-mp3lame-lavc --disable-x264-lavc 
+  --disable-faad-internal in configure options
+- dropped gmplayer-add-flv-extension.patch
+
+* Sun Dec 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-5.20081001
+- source snapshot
+- fixed License
+- added some patches from RPM Fusion
+- updated gmplayer-about-vine.patch for 20081001 snapshot
+- added BuildRequires:	libdvdread
+- added BuildRequires:	self-build-libdvdcss self-build-libdvdnav
+- added --disable-dvdread-internal --enable-dvdread --enable-dvdnav
+  in configure options
+#- applied mplayer-avoid-Warning_MVs_not_available.patch for VineSeed
+- added PreReq: subversion
+
+* Mon Nov 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-4.rc2
+- fixed License
+- added some devel packages to support OpenGL
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-3.rc2
+- spec in utf8
+- fix sybolic link of subfont for vl5
+
+* Wed May 07 2008 Atsushi SHICHI <ats777@gmail.com> 1.0-2.rc2vl4
+- add "Source105: CVE-2008-1558.patch".
+
+* Fri May 02 2008 Atsushi SHICHI <ats777@gmail.com> 1.0-1.rc2vl4
+- build with new versioning policy.
+- add "Source200: gmplayer-about-vine.patch".
+- add "Source201: gmplayer-add-flv-extension.patch".
+- fix <BTS:VineLinux:603>.
+  - add ">= 0.7-1vl4" to "PreReq: self-build-setup".
+  - add mirror URLs to self-build-rpm.sh.
+
+* Sun Feb 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-0vl0.3rc2
+- add four official security patches (CVE-2008-0485, CVE-2008-0486, 
+  CVE-2008-0629, CVE-2008-0630)
+- add mplayer-1.0rc2-20080211-stream_cddb.patch
+
+* Tue Feb 12 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.2rc2
+- change source download URL. <BTS:VineLinux:603>
+
+* Sun Jan 27 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.1rc2
+- fix CONFDIR for make install in mplayer.spec. <BTS:wishes:33>
+
+* Fri Jan 18 2008 Kazutaka HARADA <Kazutaka HARADA> 1.0-0vl0.0rc2
+- initial build for Vine Linux.

+ 315 - 0
nonfree/self-build-vlc/self-build-vlc-vl.spec

@@ -0,0 +1,315 @@
+%define pkgname vlc
+%define name    self-build-%{pkgname}
+%define version 1.0.5
+%define release 3%{?_dist_release}
+
+%if %{?_dist_release} == "vl4"
+## dummy echo
+echo This package cannot build on Vine Linux 4.2.
+exit 1
+%endif
+
+%define with_mozilla	 		0
+%define with_dc1394			0
+%define with_directfb			1
+
+%define with_samba			0
+
+%define sourceurl0	http://download.videolan.org/pub/videolan/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.bz2
+
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+
+Obsoletes:	vlc < 1.0.0
+Obsoletes:	vlc-devel < 1.0.0
+
+Source0:	%{pkgname}-vl.spec
+
+Source10:       vlc-handlers.schemas
+Source100:      vlc-trunk-default_font-vine.patch
+Source101:      0001-Default-libv4l2-to-true.patch
+Source103:      300_all_pic.patch
+Source104:      310_all_mmx_pic.patch
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+Requires(post):	desktop-file-utils
+Requires(post):	gettext
+Requires(post):	gettext-devel
+Requires(post):	libtool
+Requires(post):	aalib-devel
+Requires(post):	alsa-lib-devel
+Requires(post):	avahi-devel
+Requires(post):  cdparanoia-devel
+Requires(post):  dbus-devel
+%{?_with_dirac: Requires(post): dirac-devel >= 1.0.0}
+%if %with_directfb
+Requires(post):  libdirectfb-devel
+%endif
+Requires(post):	flac-devel
+Requires(post):	fribidi-devel
+Requires(post):  gnome-vfs2-devel
+Requires(post):	gnutls-devel >= 1.0.17
+Requires(post):	gsm-devel
+Requires(post):	hal-devel
+Requires(post):	jack-audio-connection-kit-devel
+Requires(post):  libavc1394-devel
+Requires(post):	libcdio-devel >= 0.77-3
+Requires(post):	libdv-devel
+Requires(post):	libdvdread-devel
+Requires(post):  libebml-devel
+Requires(post):	libid3tag-devel
+%{?_with_kate:  Requires(post): libkate-devel}
+Requires(post):	libmatroska-devel >= 0.7.6
+Requires(post):	libmpcdec-devel
+Requires(post):	libmtp-devel
+Requires(post):  libnotify-devel
+Requires(post):	librsvg2-devel >= 2.5.0
+Requires(post):  libshout-devel
+Requires(post):  libsmbclient-devel
+Requires(post):	libtheora-devel
+Requires(post):  libtiff-devel
+Requires(post):  libupnp-devel
+Requires(post):	libv4l-devel
+Requires(post):	libvorbis-devel
+Requires(post):  libxml2-devel
+Requires(post):	lirc
+Requires(post):  kernel-headers >= 2.6.20
+Requires(post):  libmusicbrainz-devel
+Requires(post): lua-devel
+Requires(post):	ncurses-devel
+Requires(post):	openslp-devel
+Requires(post):  qt4-devel
+Requires(post):	SDL_image-devel
+Requires(post):	speex-devel >= 1.1.5
+%ifarch %{ix86} x86_64
+Requires(post):  svgalib-devel
+%endif
+Requires(post):  taglib-devel
+Requires(post):	twolame-devel
+Requires(post):	xosd-devel
+Requires(post):	zlib-devel
+
+# X-libs
+Requires(post):	libXt-devel
+Requires(post):	libXv-devel
+Requires(post):  libXxf86vm-devel
+Requires(post):  libX11-devel
+Requires(post):  libXext-devel
+Requires(post):  libXpm-devel
+%ifarch %{ix86} x86_64
+Requires(post):  libXvMC-devel
+%endif
+Requires(post):  xorg-x11-proto-devel
+
+%if %with_samba
+Requires(post):  samba-libsmbclient-devel
+%endif
+
+Requires(post):  pulseaudio-libs-devel >= 0.9.8
+
+%if %with_mozilla
+Requires(post):  gecko-devel
+Requires(post):  nspr-devel
+%endif
+
+Requires(post):  libraw1394-devel
+
+Requires: TrueType-dejavu
+
+## vine
+Requires(post):	libgcrypt-devel
+Requires(post):	wx-gtk2-devel
+Requires:	mesa-libGL
+Requires(post):	xorg-x11-devel 
+Requires(post):	mesa-libGL-devel
+Requires(post):	self-build-libmpeg2
+Requires(post):	self-build-a52dec
+Requires(post):	self-build-faac
+Requires(post):	self-build-faad2
+Requires(post):	self-build-ffmpeg >= 0.4.9
+Requires(post):	self-build-libdca
+Requires(post):	self-build-libdvbpsi
+Requires(post):	self-build-libdvdnav
+Requires(post):	self-build-libmad
+Requires(post):	self-build-libmp4v2
+Requires(post):	self-build-x264 >= 0.0.0-9.20090522
+Requires(post):	self-build-xvidcore
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
+
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+VLC(初期は VideoLAN Client)は高い可搬性のあるマルチメディアプレーヤーで,
+様々なオーディオおよびビデオフォーマット(MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg など)だけでなく,DVD や VCD,様々なストリーミングプロトコルにも
+対応しています.
+また,高帯域幅上の IPv4 や IPv6 で,
+ユニキャストやマルチキャストのストリームに,
+サーバーとして使用することもできます.
+
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version}
+の rpm パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%{__install} -m 644 \
+    %{SOURCE100} %{SOURCE101} %{SOURCE103} %{SOURCE104} \
+    ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 2325000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-3
+- renamed %%{Source0} to vlc-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-2
+- added Requires(post): libsmbclient-devel
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1
+- new upstream release
+
+* Sat Jan 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-2
+- built with libdvbpsi-devel
+- dropped 0002-Default-aout-for-pulse.patch
+
+* Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1
+- new upstream release
+- updated 0002-Default-aout-for-pulse.patch
+
+* Tue Nov 10 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-2
+- added Requires(post): libmtp-devel
+
+* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-1
+- new upstream release
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.2-2
+- rebuilt to add signature
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.2-1
+- new upstream release
+  - applied vlc-1.0.2-compiler.patch from RPM Fusion
+- added Requires(post): lua-devel
+
+* Sat Aug 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.1-1
+- new upstream release
+
+* Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-2
+- added Obsoletes: vlc < 1.0.0, vlc-devel < 1.0.0
+
+* Wed Jul 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-1
+- new upstream release
+- clean-up some old patches and merged some patches from RPM Fusion package
+- added vlc-trunk-default_font-vine.patch
+- added vlc-handlers.schemas
+  - Gonf2 url-handler support
+- added shine.c, enc_base.h
+  - missing sources
+- check version between original spec and self-build spec in %%prep
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.9a-3
+- dropped BuildArch: noarch (with svglib-devel for %%{ix86} x86_64)
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.9a-2
+- rebuild with x264 >= 0.0.0-9.20090522
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Sat May 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.9a-1
+- new upstream release
+- added BuildArch: noarch
+- s/TrueType-DejaVu/TrueType-dejavu/
+
+* Sat Feb 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.8a-7
+- corrected release number in vlc.spec
+- dropped ExclusiveArch
+
+* Fri Feb 13 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.8a-6
+- add ppc to ExclusiveArch
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-5
+- changed to PreReq:  self-build-faad2 from faad2-devel
+- changed to PreReq:  self-build-libmad from libmad-devel
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-4
+- initial build
+
+### end of file

+ 1187 - 0
nonfree/self-build-vlc/vlc-vl.spec

@@ -0,0 +1,1187 @@
+# -*- coding: utf-8-unix -*-
+# TODO: libdc1394(juju), libass, libcaca, modularization (vlc-plugin-foo)
+
+#% define with_internal_live555 		0
+#% define live555_date	2008.07.25
+#% define vlc_git				0
+#% define vlc_date	20080915
+#% define with_mozilla	 		1
+%define with_mozilla	 		0
+%define with_dc1394			0
+%define with_directfb			1
+
+%define with_samba			0
+
+Summary:	Multi-platform MPEG, DVD, and DivX player
+Name:		vlc
+Version:	1.0.5
+Release:	3%{?_dist_release}
+License:	GPLv2+
+Group:		Applications/Multimedia
+URL:		http://www.videolan.org/
+Source0:	http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}.tar.bz2
+# %if %with_internal_live555
+# Source2:	http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz
+# %endif
+Source10:       vlc-handlers.schemas
+#Patch0:         vlc-trunk-default_font.patch
+Patch0:         vlc-trunk-default_font-vine.patch
+Patch1:         0001-Default-libv4l2-to-true.patch
+Patch3:         300_all_pic.patch
+Patch4:         310_all_mmx_pic.patch
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:	desktop-file-utils
+BuildRequires:	gettext
+#BuildRequires:  prelink
+
+BuildRequires:	gettext-devel
+BuildRequires:	libtool
+
+#BuildRequires:	a52dec-devel
+BuildRequires:	aalib-devel
+BuildRequires:	alsa-lib-devel
+BuildRequires:	avahi-devel
+BuildRequires:  cdparanoia-devel
+BuildRequires:  dbus-devel
+%{?_with_dirac: BuildRequires: dirac-devel >= 1.0.0}
+%if %with_directfb
+#BuildRequires:  directfb-devel
+BuildRequires:  libdirectfb-devel
+%endif
+#BuildRequires:	faac-devel
+#BuildRequires:	faad2-devel
+#BuildRequires:	ffmpeg-devel >= 0.4.9-0
+BuildRequires:	flac-devel
+##!! BuildRequires:  fluidsynth-devel
+BuildRequires:	fribidi-devel
+BuildRequires:  gnome-vfs2-devel
+BuildRequires:	gnutls-devel >= 1.0.17
+BuildRequires:	gsm-devel
+BuildRequires:	hal-devel
+BuildRequires:	jack-audio-connection-kit-devel
+BuildRequires:  libavc1394-devel
+##!! BuildRequires:	libass-devel >= 0.9.7
+##!! BuildRequires:	libcaca-devel
+##!! BuildRequires:	libcddb-devel
+BuildRequires:	libcdio-devel >= 0.77-3
+#BuildRequires:	libdca-devel
+BuildRequires:	libdv-devel
+#BuildRequires:	libdvbpsi-devel
+#BuildRequires:	libdvdnav-devel
+BuildRequires:	libdvdread-devel
+BuildRequires:  libebml-devel
+BuildRequires:	libid3tag-devel
+%{?_with_kate:  BuildRequires: libkate-devel}
+#BuildRequires:	libmad-devel
+BuildRequires:	libmatroska-devel >= 0.7.6
+##!! BuildRequires:	libmodplug-devel
+#BuildRequires:	libmp4v2-devel
+BuildRequires:	libmpcdec-devel
+BuildRequires:	libmtp-devel
+BuildRequires:  libnotify-devel
+#BuildRequires:  libproxy-devel
+BuildRequires:	librsvg2-devel >= 2.5.0
+##!! BuildRequires:	libsysfs-devel
+BuildRequires:  libshout-devel
+BuildRequires:  libsmbclient-devel
+##!! BuildRequires:	libtar-devel
+BuildRequires:	libtheora-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  libupnp-devel
+BuildRequires:	libv4l-devel
+BuildRequires:	libvorbis-devel
+BuildRequires:  libxml2-devel
+#BuildRequires:	lirc-devel
+BuildRequires:	lirc
+# %if %with_internal_live555
+# BuildConflicts: live-devel
+# BuildConflicts: live555-devel
+# %else
+# BuildRequires:	live555-devel >= 0-0.19.2008.04.03
+# %endif
+BuildRequires:  kernel-headers >= 2.6.20
+# BuildRequires:	libGL-devel
+# BuildRequires:	libGLU-devel
+BuildRequires:  libmusicbrainz-devel
+BuildRequires:  lua-devel
+##!! BuildRequires:  minizip-devel
+##!! BuildRequires:	mpeg2dec-devel >= 0.3.2
+BuildRequires:	ncurses-devel
+##!! BuildRequires:  opencv-devel
+BuildRequires:	openslp-devel
+##!! BuildRequires:  pcre-devel
+##!! BuildRequires:  pulseaudio-libs-devel >= 0.9.8
+##!! BuildRequires:  portaudio-devel
+BuildRequires:  qt4-devel
+##!! BuildRequires:  schroedinger-devel
+BuildRequires:	SDL_image-devel
+BuildRequires:	speex-devel >= 1.1.5
+%ifarch %{ix86} x86_64
+BuildRequires:  svgalib-devel
+%endif
+BuildRequires:  taglib-devel
+BuildRequires:	twolame-devel
+##!! BuildRequires:	vcdimager-devel >= 0.7.21
+#BuildRequires:	x264-devel >= 0-0.8.20061028
+#BuildRequires:	x264-devel >= 0.0.0-2.20080225
+BuildRequires:	xosd-devel
+#BuildRequires:	xvidcore-devel
+BuildRequires:	zlib-devel
+##!! BuildRequires:  zvbi-devel
+
+# X-libs
+BuildRequires:	libXt-devel
+BuildRequires:	libXv-devel
+BuildRequires:  libXxf86vm-devel
+BuildRequires:  libX11-devel
+BuildRequires:  libXext-devel
+BuildRequires:  libXpm-devel
+%ifarch %{ix86} x86_64
+BuildRequires:  libXvMC-devel
+%endif
+##!! BuildRequires:  xcb-util-devel
+BuildRequires:  xorg-x11-proto-devel
+
+BuildRequires:  pulseaudio-libs-devel >= 0.9.8
+##!! BuildRequires:  portaudio-devel
+
+%if %with_mozilla
+BuildRequires:  gecko-devel
+BuildRequires:  nspr-devel
+%endif
+
+# # Now obsoleted as it will be built externally
+# Obsoletes: java-vlc < 0.9.0
+# Obsoletes: python-vlc < 0.9.0
+
+# %if 0
+# BuildRequires:  libgoom2-devel
+# BuildRequires:  libggi-devel
+# %endif
+
+# %if %with_dc1394
+# BuildRequires:  compat-libdc1394-devel
+# BuildRequires:  compat-libraw1394-devel
+# %else
+BuildRequires:  libraw1394-devel
+# %endif
+
+#Requires: dejavu-fonts
+Requires: TrueType-dejavu
+
+## vine
+BuildRequires:	libgcrypt-devel
+BuildRequires:	wx-gtk2-devel
+Requires:	mesa-libGL
+BuildRequires:	xorg-x11-devel 
+BuildRequires:	mesa-libGL-devel
+# *-devel packages provided by other self-build-* should only be listed
+# in self-build-%{name}.spec as PreReq.
+##BuildRequires:	self-build-libmpeg2
+##BuildRequires:	self-build-a52dec
+##BuildRequires:	self-build-faac
+##BuildRequires:	self-build-faad2
+##BuildRequires:	self-build-ffmpeg >= 0.4.9
+##BuildRequires:	self-build-libdca
+##BuildRequires:	self-build-libdvbpsi
+##BuildRequires:	self-build-libdvdnav
+##BuildRequires:	self-build-libmad
+##BuildRequires:	self-build-libmp4v2
+##BuildRequires:	self-build-x264 >= 0.0.0-2.20080225
+##BuildRequires:	self-build-xvidcore
+
+
+%package devel
+Summary:	Development package for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+
+%description
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
+
+%description devel
+This package contains development files for VLC Media Player.
+
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
+
+%if %with_mozilla
+%package -n mozilla-vlc
+Summary:	VLC Media Player plugin for Mozilla compatible web browsers
+Group:		Applications/Multimedia	
+Requires:	%{name} = %{version}-%{release}
+Requires:	%{_libdir}/mozilla/plugins
+
+%description -n mozilla-vlc
+This package contains a VLC Media Player plugin for Mozilla compatible
+web browsers.
+
+VLC (initially VideoLAN Client) is a highly portable multimedia player
+for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
+mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
+It can also be used as a server to stream in unicast or multicast in
+IPv4 or IPv6 on a high-bandwidth network.
+%endif
+
+%if %with_dc1394
+%package plugins-dc1394
+Summary:	VLC Media Player Plugins for dc1394
+Group:		Applications/Multimedia
+Requires:	%{name}-core = %{version}
+Requires:       compat-libdc1394-tools
+
+%description plugins-dc1394
+VLC plugins for libdc1394
+%endif
+
+%prep
+%setup -q -n %{name}-%{version}
+# %if %with_internal_live555
+# %setup -q -D -T -a 2 -n %{name}-%{_version}
+# %endif
+%patch0 -p1 -b .default_font
+%patch1 -p1 -b .istrue
+#http://trac.videolan.org/vlc/ticket/1383
+%patch3 -p1 -b .dmo_pic
+sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in
+%patch4 -p1 -b .mmx_pic
+
+%__rm modules/access/videodev2.h
+%__ln_s -f %{_includedir}/linux/videodev2.h modules/access/videodev2.h
+
+%__rm aclocal.m4 m4/lib*.m4 m4/lt*.m4
+./bootstrap
+
+
+%build
+# %if %with_internal_live555
+# # Then bundled live555 - not needed
+# pushd live
+# # Force the use of our CFLAGS
+# %{__perl} -pi -e 's|-O2|%{optflags} -fPIC -DPIC|g' config.linux
+# # Configure and build
+# ./genMakefiles linux && make
+# popd
+# %endif
+
+
+%configure \
+	--disable-dependency-tracking		\
+	--disable-rpath				\
+	--enable-release			\
+	--with-binary-version=%{version}-%{release} \
+	--with-tuning=no			\
+	--enable-switcher			\
+	--enable-lua				\
+        %{?_with_internal_live555:--enable-live555 --with-live555-tree=live} \
+%if %with_dc1394
+	--enable-dc1394				\
+	--enable-dv				\
+%endif
+	--enable-dvdread --enable-dvdnav \
+	%{?_with_opencv:--enable-opencv} \
+	--enable-v4l				\
+	--enable-pvr				\
+	--enable-gnomevfs			\
+	--enable-cddax				\
+	--enable-wma-fixed			\
+	--enable-shine				\
+	--enable-faad				\
+	--enable-twolame			\
+	--enable-real				\
+	--enable-realrtsp			\
+	--enable-flac				\
+	--enable-tremor				\
+	--enable-speex				\
+	--enable-tarkin				\
+	--enable-theora				\
+	%{?_with_dirac:--enable-dirac}		\
+	%{?_with_libass:--enable-libass}	\
+	--enable-shout				\
+	%{?_with_xcb:--enable-xcb}		\
+	--enable-svg				\
+	--enable-snapshot			\
+%ifarch %{ix86} x86_64
+	--enable-svgalib			\
+	--enable-xvmc				\
+%endif
+%if %with_directfb
+	--enable-directfb			\
+%endif
+	--enable-aa				\
+	%?_with_caca:--enable-caca}				\
+	--enable-jack				\
+    %{?_with_portaudio:--enable-portaudio} \
+	--enable-pulse				\
+	--enable-ncurses			\
+	--enable-xosd				\
+	--enable-fbosd				\
+	--enable-galaktos			\
+	--enable-lirc				\
+%ifarch %{ix86}
+	--enable-loader				\
+%else
+	--without-contrib			\
+%endif
+%if %with_mozilla 
+	--enable-mozilla			\
+%endif
+	;
+
+# remove rpath from libtool
+%__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+%__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+# # clean unused-direct-shlib-dependencies
+# sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+
+#% __make %{?_smp_mflags}
+%__make
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+
+%__make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" CPPROG="cp -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
+
+%__install -dm 755 $RPM_BUILD_ROOT%{_mandir}/man1
+%__install -pm 644 doc/vlc*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+for i in 16x16 32x32 48x48 128x128 ; do
+  %__mkdir_p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${i}/apps
+  %__install -pm 0644 share/vlc${i}.png \
+    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${i}/apps/vlc.png
+done
+
+desktop-file-install --vendor vine			\
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications	\
+	--delete-original				\
+	--mode 644					\
+	$RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
+
+# Remove installed fonts for skin2 - needs
+%__rm -rf $RPM_BUILD_ROOT%{_datadir}/vlc/skin2/fonts/*.ttf
+%__ln_s -f ../../../fonts/dejavu/DejaVuSans.ttf \
+  $RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSans.ttf
+%__ln_s -f ../../../fonts/dejavu/DejaVuSans-Bold.ttf  \
+  $RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSansBold.ttf
+
+#Fix unowned directories
+%__rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
+
+#Fix CGonf2 url-handler support
+%__install -pm 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/vlc/utils/
+
+%find_lang %{name}
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%pre
+if [ "$1" -gt 1 ] ; then
+if [ -x %{_bindir}/gconftool-2 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+  %{_datadir}/vlc/utils/vlc-handlers.schemas  >/dev/null
+fi
+fi || :
+
+
+%post
+if [ -x %{_bindir}/gconftool-2 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+  %{_datadir}/vlc/utils/vlc-handlers.schemas >/dev/null
+fi
+
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi 
+%{_bindir}/update-desktop-database %{_datadir}/applications || :
+
+/sbin/ldconfig
+
+%preun
+if [ "$1" -eq 0 ]; then
+if [ -x %{_bindir}/gconftool-2 ] ; then
+    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+    gconftool-2 --makefile-uninstall-rule \
+        %{_datadir}/vlc/utils/vlc-handlers.schemas >& /dev/null
+fi
+fi || :
+
+%postun
+%{_bindir}/update-desktop-database %{_datadir}/applications
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi || :
+
+/sbin/ldconfig
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README THANKS
+%{_datadir}/applications/*%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/vlc.png
+%{_bindir}/cvlc
+%{_bindir}/nvlc
+%{_bindir}/qvlc
+%{_bindir}/rvlc
+%{_bindir}/svlc
+%{_bindir}/vlc-wrapper
+%{_libdir}/vlc/
+%{_bindir}/vlc
+%{_datadir}/vlc/
+%{_libdir}/*.so.*
+%{_mandir}/man1/vlc.1*
+%{_mandir}/man1/vlc-wrapper.1*
+
+%files devel
+%defattr(-,root,root,-)
+%doc HACKING
+%dir %{_includedir}/vlc
+%{_includedir}/vlc/*
+%{_mandir}/man1/vlc-config.1*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/vlc-plugin.pc
+%{_libdir}/pkgconfig/libvlc.pc
+
+%if %with_mozilla
+%files -n mozilla-vlc
+%defattr(-,root,root,-)
+%{_libdir}/mozilla/plugins/libvlcplugin.so
+%endif
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-3
+- change release to sync with self-build-vlc
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-2
+- added BuildRequires: libsmbclient-devel
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1
+- new upstream release
+
+* Sat Jan 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-2
+- built with libdvbpsi-devel
+- dropped 0002-Default-aout-for-pulse.patch
+
+* Tue Jan 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1
+- new upstream release
+- updated 0002-Default-aout-for-pulse.patch
+
+* Tue Nov 10 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-2
+- change release to sync with self-build-vlc
+
+* Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-1
+- new upstream release
+- added BuildRequires: libmtp-devel
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.2-2
+- change release to sync with self-build-vlc
+
+* Sat Sep 26 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.2-1
+- new upstream release
+  - applied vlc-1.0.2-compiler.patch from RPM Fusion
+    - Workaround the compiler bug on x86 x86_64 by disabling optimization
+- added BuildRequires: lua-devel
+- TODO: libass
+
+* Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.1-1
+- new upstream release
+
+* Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-2
+- change release to sync with self-build-vlc
+
+* Wed Jul 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-1
+- new upstream release
+- clean-up some old patches and merged some patches from RPM Fusion package
+- added vlc-trunk-default_font-vine.patch
+- added vlc-handlers.schemas
+  - Gonf2 url-handler support
+- added shine.c, enc_base.h
+  - missing sources
+- added --enable-wma-fixed --enable-shine in configure options
+
+* Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.9a-3
+- change release to sync with self-build-vlc
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.9a-2
+- rebuild with x264 >= 0.0.0-9.20090522
+
+* Sat May 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.9a-1
+- new upstream release
+- s/TrueType-DejaVu/TrueType-dejavu/
+
+* Sat Feb 14 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> - 0.9.8a-7
+- corrected release number
+
+* Sun Feb 08 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-5
+- changed to PreReq:  self-build-faad2 from faad2-devel
+- changed to PreReq:  self-build-libmad from libmad-devel
+
+* Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-4
+- self-build
+
+* Wed Jan 21 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-3
+- applied RPM Fusion patches: 
+  - backport postproc fixes
+  - Add pending 0.9-bugfix git branch
+- added BuildRequires: 
+  - twolame-devel 
+  - libmpcdec-devel
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-2
+- rebuild with x264
+
+* Sat Dec 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.8a-1
+- Update to 0.9.8a
+- added BuildRequires: libmpeg2-devel
+- added Requires: libmpeg2
+
+* Mon Nov 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-2
+- added BuildRequires:	libdvdread-devel
+- added --enable-dvdread --enable-dvdnav in configure options
+
+* Mon Nov 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1
+- initial build based on RPM Fusion of Fedora
+
+* Thu Nov  6 2008 kwizart < kwizart at gmail.com > - 0.9.6-1
+- Update to 0.9.6
+
+* Tue Oct 28 2008 kwizart < kwizart at gmail.com > - 0.9.5-3
+- Rebuild for dependency
+
+* Mon Oct 27 2008 kwizart < kwizart at gmail.com > - 0.9.5-2
+- Fix ppc/ppc64 build
+
+* Fri Oct 24 2008 kwizart < kwizart at gmail.com > - 0.9.5-1
+- Update to 0.9.5
+- Use non-default rpmbuild options for dirac kate lua
+- Split core/nox (nox bundles directfb/svgalib)
+- Fix Selinux denials (patches from gentoo).
+- Fix spurious perms on qt4 sources.
+
+* Wed Oct  8 2008 kwizart < kwizart at gmail.com > - 0.9.4-1
+- Update to 0.9.4
+
+* Mon Sep 29 2008 kwizart < kwizart at gmail.com > - 0.9.3-2
+- Add libv4l2 patch from Hans de Goede
+
+* Fri Sep 26 2008 kwizart < kwizart at gmail.com > - 0.9.3-1
+- Update to 0.9.3 (final)
+- Few others move from core to main
+
+* Mon Sep 15 2008 kwizart < kwizart at gmail.com > - 0.9.2-1
+- Update to 0.9.2 (final)
+
+* Sat Aug  2 2008 kwizart < kwizart at gmail.com > - 0.9.0-0.5.20080802git
+- Update to 0.9.0-20080802git
+
+* Sun Jul 13 2008 kwizart < kwizart at gmail.com > - 0.9.0-0.4.20080713git
+- Update to 0.9.0-20080713git
+
+* Thu Jul  3 2008 kwizart < kwizart at gmail.com > - 0.9.0-0.3.20080703git
+- Update to 0.9.0-20080703git
+  http://mailman.videolan.org/pipermail/vlc-devel/2008-July/045911.html
+- Conditionalize xvmc to exclude ppc
+
+* Thu Jun 12 2008 kwizart < kwizart at gmail.com > - 0.8.6h-2
+- Fix libdvdnav (only) use.
+
+* Fri Jun 6 2008 kwizart < kwizart at gmail.com > - 0.8.6h-1
+- Update to 0.8.6h
+- Use hicolor icons
+- Add patch for new_x-content
+  http://bugzilla.livna.org/show_bug.cgi?id=2003
+- Fix VLC: HTTP access: cannot seek AVI
+  http://bugzilla.livna.org/show_bug.cgi?id=2014
+  
+* Sun May 18 2008 kwizart < kwizart at gmail.com > - 0.8.6g-2
+- Bump for official release
+
+* Wed May 14 2008 kwizart < kwizart at gmail.com > - 0.8.6g-1
+- Update to 0.8.6g
+Security updates:
+ * Removed VLC variable settings from Mozilla and ActiveX (CVE-2007-6683)
+ * Removed loading plugins from the current directory (CVE-2008-2147)
+
+Various bugfixes:
+ * Fixed various memory leaks, improving stability when running as a server
+ * Fixed compilation with recent versions of FFmpeg
+ * Correctly parses SAP announcements from MPEG-TS
+ * Fixed AAC resampling
+ * The Fullscreen Controller appears correctly on Mac OS X,
+   if the 'Always-on-top' video option was selected.
+
+* Tue May 13 2008 kwizart < kwizart at gmail.com > - 0.8.6f-6
+- Fix ffmpeg-compat with newest ffmpeg interaction
+
+* Mon May 12 2008 kwizart < kwizart at gmail.com > - 0.8.6f-5
+- Introduce 180_all_faad.patch
+- Re-enable ffmpeg-compat for F-9
+
+* Mon May 12 2008 Thorsten Leemhuis < fedora at leemhuis dot info > - 0.8.6f-4
+- disable patch82 temporary
+
+* Fri May  9 2008 kwizart < kwizart at gmail.com > - 0.8.6f-3
+- Bugfixes patches for post f version
+- Add vlvc 0.8 plugin support
+- Add textrel fix from gentoo patch
+- Improve libxul patch 
+
+* Mon Apr  7 2008 kwizart < kwizart at gmail.com > - 0.8.6f-2
+- Fix for wxGTK28 compatibility.
+ Patch from Dominique Leuenberger <dominique@leuenberger.net
+
+* Mon Apr  7 2008 kwizart < kwizart at gmail.com > - 0.8.6f-1
+- Update to 0.8.6f (Final)
+Security updates:
+ * Really fixed subtitle buffer overflow (CVE-2007-6681)
+ * Fixed Real RTSP code execution problem (CVE-2008-0073)
+ * Fixed MP4 integer overflows (CVE-2008-1489)
+ * Fixed cinepak integer overflow
+Various bugfixes:
+ * Fixed crashes in H264 packetizer
+ * Close MMS access on network timeout
+ * Fix some problems with AAC decoder & packetizer
+- Remove java-vlc (will be built externally)
+- Add clinkcc conditional/experimental support.
+
+* Mon Feb 25 2008 kwizart < kwizart at gmail.com > - 0.8.6e-1
+- Update to 0.8.6e (Final)
+Security updates:
+ * Subtitle demuxers overflow (CVE-2007-6681)
+ * HTTP listener format string injection (CVE-2007-6682)
+ * Fixed buffer overflow in the SDL_image library (CVE-2006-4484)
+ * Real RTSP overflows (CVE-2008-0225, CVE-2008-0295,
+   CVE-2008-0296, VideoLAN-SA-0801)
+ * Arbitrary memory overwrite in the MP4 demuxer (CORE-2008-0130,
+   VideoLAN-SA-0802)
+
+
+* Mon Feb 25 2008 kwizart < kwizart at gmail.com > - 0.8.6e-0.3
+- Update to svn20080225 from bugfix (pre 0.8.6e)
+
+* Thu Feb 21 2008 kwizart < kwizart at gmail.com > - 0.8.6e-0.2
+- Update to svn20080221 from bugfix (pre 0.8.6e)
+- Updated merged pulseaudio patch
+- Raise PA to be used by default.
+
+* Mon Feb 18 2008 kwizart < kwizart at gmail.com > - 0.8.6e-0.1
+- Update to pre0.8.6e
+- Add pre PA patch (not merged yet)
+
+* Sat Jan 19 2008 kwizart < kwizart at gmail.com > - 0.8.6d-4
+- Patches from Jens Petersen <juhpetersen at gmail.com>
+- Add wxGTK28 wip patch
+- Conditionalize directfb and dirac 
+- Change the default font to DejaVuSerif.ttf (dejavu-fonts)
+- Add BR missing libmpeg4v2
+
+* Thu Jan 10 2008 kwizart < kwizart at gmail.com > - 0.8.6d-3.1
+- Remove BR portaudio arts
+- Move skin2 to main vlc package
+- Enable libopendaap (included within Fedora)
+
+* Mon Dec  3 2007 kwizart < kwizart at gmail.com > - 0.8.6d-3
+- Enable java-vlc (developer use only - java-icedtea).
+- Fix arch detection for java headers
+
+* Sat Dec  1 2007 kwizart < kwizart at gmail.com > - 0.8.6d-2
+- Improve core/nox split
+
+* Thu Nov 29 2007 kwizart < kwizart at gmail.com > - 0.8.6d-1
+- Update to vlc 0.8.6d
+
+* Tue Nov  6 2007 kwizart < kwizart at gmail.com > - 0.8.6c-10
+- Split to core/nox package for server use.
+
+* Tue Nov  6 2007 kwizart < kwizart at gmail.com > - 0.8.6c-9
+- Raise ESD audio_output to be tried by default 
+  (used by pulseaudio-esound-compat )
+
+* Tue Nov  6 2007 kwizart < kwizart at gmail.com > - 0.8.6c-8
+- Rebuild for libdca and faad2
+
+* Mon Oct 22 2007 kwizart < kwizart at gmail.com > - 0.8.6c-7
+- Rebuild for new libdvbpsi5-0.1.6
+
+* Fri Oct 19 2007 kwizart < kwizart at gmail.com > - 0.8.6c-6
+- Rebuild with the GPL compatible faad2
+- Update the Dirac patch
+- Fix livna #1668
+
+* Sun Sep 23 2007 kwizart < kwizart at gmail.com > - 0.8.6c-5
+- Prepare svn version
+- Drop the python switch default
+- Add BR directfb-devel 
+- Improve timestamp
+- Allow faad2 to be 2.5 (license change is known GPL compatible).
+
+* Thu Aug 23 2007 kwizart < kwizart at gmail.com > - 0.8.6c-4
+- Change default font to dejavu-lgc/DejaVuLGCSerif.ttf
+  http://bugzilla.livna.org/show_bug.cgi?id=1605
+- Remove unneeded fonts provided by skin2
+
+* Tue Aug 14 2007 kwizart < kwizart at gmail.com > - 0.8.6c-3.2
+- clean-up with svn
+- patch smb.c for call_open (from rdieter advice)
+- Update license field to GPLv2
+
+* Sun Aug 12 2007 kwizart < kwizart at gmail.com > - 0.8.6c-3.1
+- Fix libtool with shared libs when python-vlc is used
+  http://bugzilla.livna.org/show_bug.cgi?id=1590
+- Fix desktop file to be GNOME HIG compliant
+  http://bugzilla.livna.org/show_bug.cgi?id=1591
+
+* Tue Jul 31 2007 kwizart < kwizart at gmail.com > - 0.8.6c-3
+- Switch for python-vlc
+- Add bugfix patch pre_d
+- Fix version field for desktop file.
+- Fix ivtv support with updated patch for new videodev2.h
+- Clean old Obsoletes/Provides for name 8.1
+- Rebuild with firefox-devel 2.0.0.5
+- Patch/rebuild with libcdio 0.78.2
+- Add mesa's BR
+- Add BR libXvMC-devel for svn
+
+* Tue Jun 26 2007 kwizart < kwizart at gmail.com > - 0.8.6c-2
+- Update to new libupnp
+
+* Sat Jun 16 2007 kwizart < kwizart at gmail.com > - 0.8.6c-1
+- Update to 0.8.6c (final)
+- Add patch to uses v4l2 header for new v4l2 encoder API.
+
+* Sat Jun 16 2007 kwizart < kwizart at gmail.com > - 0.8.6c-0.1
+- Update to 0.8.6c (bugfix) 20060616
+- Drop FLAC, automake110, wxGTK for 2.8, faad2
+- Uses shared ffmpeg.
+
+* Thu Jun  7 2007 kwizart < kwizart at gmail.com > - 0.8.6b-6
+- Rebuild for F-7 (compat-wxGTK26)
+
+* Mon Jun  4 2007 kwizart < kwizart at gmail.com > - 0.8.6b-5.3
+- Uses only -fPIC to prevent Selinux context problems...
+- Uses compat-wxGTK26-devel on Fedora 7
+- Leave libcorba for now...
+  (libquicktime_plugin seems also broken - confirmed by upstream)
+- Change static_live555 to internal_live555.
+  needed for testing - uses live-devel for livna releases.
+
+* Sat May 19 2007 kwizart < kwizart at gmail.com > - 0.8.6b-5
+- Removed no more needed Selinux Context:
+  fixed in http://bugzilla.redhat.com/237473
+
+* Sun May 13 2007 kwizart < kwizart at gmail.com > - 0.8.6b-4
+- Disabled pth (broken) and...
+- Build ffmpeg static (since shared ffmpeg is pth enabled).
+- Add post & postun update-desktop-database
+- Update static ffmpeg to 20070503 (same as shared version)
+
+* Sun May 13 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.3
+- Test static updated live555
+
+* Sat May 12 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.2
+- Update to the new ffmpeg with pth (testing - wip )
+
+* Fri May  4 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3.1
+- Add BR libebml-devel
+- Add BR Glide3-devel
+- Add BR gnome-vfs2-devel
+- Add BR libxml2-devel
+- Fix BR faad2-devel < 2.5
+- Add rpmfusion BR libopendaap-devel
+- Add rpmfusion BR libgoom2-devel
+- Add rpmfusion BR libdc1394-devel
+- Exclude corba plugin (broken)
+- Add relatives %%configure options
+- Comment Glide3 (don't work now - wip)
+
+* Thu May  3 2007 kwizart < kwizart at gmail.com > - 0.8.6b-3
+- Enable --enable-pth with ffmpeg
+  bump release in case testing take much time.
+
+* Thu May  3 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.3
+- Fix Selinux remain quiet with semanage
+
+* Tue May  1 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.2
+- Few improvements for svn version
+- Add missing BR ORBit2-devel and pyorbit-devel
+- Improved post preun postun section with help from Anvil.
+
+* Mon Apr 30 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1.1
+- Add missing BR libtiff-devel
+- Fix Selinux buglet when Selinux is not activated
+  was https://bugzilla.livna.org/show_bug.cgi?id=1484
+
+* Sat Apr 21 2007 kwizart < kwizart at gmail.com > - 0.8.6b-1
+- Update to Final 8.6b
+- Enable Dirac codec
+- Fix mozilla-vlc libXt.so loading 
+  (removing mozilla-sdk since using firefox sdk >= 1.5)
+- Fix SeLinux context for dmo plugin. Was:
+  https://bugzilla.livna.org/show_bug.cgi?id=1404
+- Enabled cddax only for x86_64 (broken type).
+
+* Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.3
+- Fix BR for libsmbclient-devel for Fedora 7
+- Update to 0.8.6-bugfix-20070418
+- Add BR libraw1394-devel
+- Add BR libavc1394-devel
+
+* Mon Apr 16 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.2
+- Fix svgalib-devel only for x86 x86_64
+- Fix firefox-devel headers presence/usability. This remains:
+ npapi.h: accepted by the compiler, rejected by the preprocessor!
+ npapi.h: proceeding with the compiler's result
+
+* Sat Apr 14 2007 kwizart < kwizart at gmail.com > - 0.8.6b-0.1
+- Update to rc 0.8.6b (bugfix)
+- Hack configure.ac script (it didn't detect firefox headers)
+- Add BR libshout-devel
+- Add BR svgalib-devel
+- Add BR gtk2-devel
+- Add BR directfb-devel (wip)
+- Add BR libnotify-devel
+- Enabled --enable-speex
+- Testing --enable-portaudio not usefull (oss is deprecated)
+- Enabled --enable-pda
+- Testing --enable-directfb (wip)
+- Removed patch5 (was format.c)
+
+* Thu Apr  5 2007 kwizart < kwizart at gmail.com > - 0.8.6a-5
+- Use system ffmpeg lib (pth and libtool seems to be incompatible with it)
+- Dirac seem to compile fine but testing usability for now.
+- Cache isn't usefull for now (and won't be since using system libs)
+- Exclude %%{_bindir}/vlcwrapper.py? since this is the guideline about python for now.
+
+* Mon Apr  2 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.6
+- Fix %%{_libdir}/advene directory ownership from: #1458
+- Fix .py? presence and perm (644)
+- Remove .la after make install
+- Add --disable-pth (broken for release and svn)
+  
+* Sat Mar 24 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.5
+- Test dirac (disabled mozilla )
+- Test Updated static live555 to 2007.02.22
+- Clean up svn to release changes
+
+* Tue Mar 22 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.4
+- WIP changes - ld.conf is unusefull...
+
+* Wed Mar 21 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.3
+- Revert back to the static vlc version 
+ ( will explore this with ld.conf later )
+
+* Wed Mar 21 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.2
+- Fix .desktop file
+- Disable broken libtool 
+- Quick fixes for svn/cache prepare
+- Patch format_c
+- Fix rpmlint error with python-vlc
+
+* Tue Mar 20 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.1
+- Enable cache for static compilation - wip
+
+* Fri Mar  9 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4
+- Enable conditionnal build for
+	* mozilla-vlc, java-vlc, dirac
+	* ffmpeg and live static
+- Enable pth
+- Enable gnu_ld
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-3.1
+- Fix firefox-devel detection when avaible both i386 and x86_64
+  http://bugzilla.livna.org/show_bug.cgi?id=1442
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-3
+- Recover patch3 from Ville Skytt辰
+- Fix FLAC api change see
+ http://bugzilla.livna.org/show_bug.cgi?id=1433
+
+* Thu Mar  8 2007 kwizart < kwizart at gmail.com > - 0.8.6a-2
+- Update ffmpeg to 20070308
+- Enabled static build for internal ffmpeg (x264 vlc modules)
+- Fixed: some configure options has changed for ffmpeg
+
+* Sat Mar  3 2007 Thorsten Leemhuis <fedora at leemhuis dot info> - 0.8.6a-1.2
+- Rebuild
+
+* Sun Feb  4 2007 Ville Skytt辰 <ville.skytta at iki.fi> - 0.8.6a-1.1
+- Fix aclocal/automake fix for automake 1.10 without breaking it for earlier.
+
+* Sun Feb  4 2007 Ville Skytt辰 <ville.skytta at iki.fi> - 0.8.6a-1
+- Build internal copy of ffmpeg with $RPM_OPT_FLAGS.
+- Don't hardcode path to firefox headers.
+- Drop Application and X-Livna categories from desktop entry.
+- Clean up some unneeded cruft from specfile.
+- Fix aclocal/automake calls during bootstrap.
+- Let rpmbuild strip MediaControl.so.
+
+* Sat Feb  3 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.4.static
+- Internal static build of ffmpeg from Matthias version.
+
+* Fri Jan 19 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.3
+- Re-enabled mozilla-vlc
+- use ifarch ix86
+
+* Sat Jan 13 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.2
+- Import patches from Matthias version
+- try to fix firefox includes for mozilla-vlc -> disabled
+
+* Wed Jan 10 2007 kwizart < kwizart at gmail.com > - 0.8.6a-0.1
+- Try to Fix run with libavformat.so.51
+- disabled
+
+* Mon Jan  8 2007 kwizart < kwizart at gmail.com > - 0.8.6-5
+- Update to BR bugzilla infos.
+- Fix perms with python and debug headers.
+- Cleaned obsolete-not-provided
+
+* Fri Jan  5 2007 kwizart < kwizart at gmail.com > - 0.8.6-4
+- Use BuildConflics with libcdio
+- Enabled --enable-cddax
+- Enabled --enable-vcdx
+-  waiting --enable-quicktime (build fails)
+
+* Fri Jan  5 2007 kwizart < kwizart at gmail.com > - 0.8.6-3
+  with help from Rathan
+- Update to 0.8.6a (security update!)
+  from http://www.videolan.org/sa0701.html - #1342
+- Add version to desktop file
+- Fix dual shortcuts / Add MimeType
+
+* Wed Jan  3 2007 kwizart < kwizart at gmail.com > - 0.8.6-2
+ with help from Rathan
+- Enabled --enable-shout
+- Enabled --enable-quicktime (x86 only !) 
+- Enabled --enable-loader (x86 only !)
+- Enabled --with-wine-sdk-path (x86 only !)
+- Enabled --enable-corba
+-  testing --enable-dirac (libdirac-devel reviewing in extra)
+   http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221405
+- Enabled --enable-mediacontrol-python-bindings
+- Cosmetic changes in BR
+
+* Mon Dec 11 2006 kwizart < kwizart at gmail.com > - 0.8.6-1.fc6
+- Update to 8.6 final
+- Change deprecated livdotcom to live555
+- build shared librairies is default since 8.6
+- Enabled --enable-dvdread
+- Enabled --enable-faad
+- Enabled --enable-twolame
+-   waiting --enable-quicktime (problem finding xqtsdk )
+- Enabled --enable-real
+- Enabled --enable-realrtsp
+- Enabled --enable-tremor
+- Enabled --enable-tarkin
+-   waiting --enable-dirac (TODO libdirac-devel )
+- Enabled --enable-snapshot
+- Enabled --enable-portaudio
+- Enabled --enable-jack
+- Enabled --enable-galaktos
+-   waiting --enable-mediacontrol-python-bindings (default install error)
+-   waiting --enable-cddax (new version of libcdio 0.78.2)
+-   waiting --enable-vcdx (new version of libcdio 0.78.2)
+
+* Mon Dec 04 2006 kwizart < kwizart at gmail.com > - 0.8.6-rc1.1.fc6
+- Update to 8.6rc1
+- disable components in mozilla-vlc
+- disable libvlc_pic.a in devel
+- Enable x264-devel for static linking.
+
+* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.8.5-6
+- rebuilt for unwind info generation, broken in gcc-4.1.1-21
+
+* Mon Sep 25 2006 Dams <anvil[AT]livna.org> - 0.8.5-5
+- BuildReq:libtool
+
+* Sun Sep 24 2006 Dams <anvil[AT]livna.org> - 0.8.5-4
+- Fixed the mozilla plugin damn build 
+
+* Sat Sep  9 2006 Dams <anvil[AT]livna.org> - 0.8.5-3
+- sysfsutils-devel -> libsysfs-devel
+
+* Sat Sep  9 2006 Dams <anvil[AT]livna.org> - 0.8.5-1
+- Updated to 0.8.5
+- Fixed MOZVER value in case more than one mozilla is installed.
+- Dropped patches 1, 2 and 3
+
+* Wed Aug 16 2006 Ville Skytt辰 <ville.skytta at iki.fi> - 0.8.4a-2
+- Adjust for new live package, enable it on all archs.
+
+* Fri Apr 14 2006 Ville Skytt辰 <ville.skytta at iki.fi> - 0.8.4a-1
+- Apply upstream patch to fix linking with newer ffmpeg/postproc.
+- Drop no longer needed build conditionals and build dependencies.
+- Enable Avahi, Musepack, SLP and sysfs support, fix SDL and Xv.
+- Install icon to %%{_datadir}/icons/hicolor.
+- Drop zero Epoch remainders.
+- Fix -devel obsoletes.
+- Specfile cleanups.
+
+* Fri Mar 24 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.8.4-9.a
+- rebuild 
+
+* Tue Mar 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-8.a
+- fix #775
+
+* Mon Mar 20 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-7.a
+- add -fPIC for all arches
+
+* Mon Mar 20 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-6.a
+- fix build on ppc/i386
+
+* Thu Mar 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-5.a
+- fix BR
+
+* Wed Mar 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+0.8.4-4.a
+- make vlc build again
+
+* Tue Mar 14 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.8.4-3.a
+- drop "0.lvn" from release
+
+* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- add dist
+
+* Mon Jan 09 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.3.a
+- add all BRs the new ffmpeg needs
+
+* Fri Jan 06 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.2.a
+- add buildoption "--without mkv" -- ebml in FC3 is to old
+- add buildoption "--without svg" -- does not build with svg on FC3-x86-64
+
+* Thu Jan 05 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.8.4-0.lvn.1.a
+- Update to 0.8.4a [with help from che (Rudolf Kastl)]
+- Fix x64
+- drop Epoch
+- drop vlc-0.8.2-test2-altivec.patch, seems they worked on this
+- use " --disable-libcdio" until we update to wxGTK2 2.6
+- use "--disable-livedotcom" on x86_64 (does not build)
+
+* Sat Aug  6 2005 Ville Skytt辰 <ville.skytta at iki.fi> - 0:0.8.2-0.lvn.4
+- Fix "--without cddb" build when libcddb-devel is installed.
+- BuildRequire live-devel instead of live.
+
+* Wed Aug  3 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.3
+- Rebuilt *without* libcddb
+- Rebuilt against new libdvbpsi
+
+* Thu Jul 28 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.2
+- Rebuilt against new libcddb/libcdio
+
+* Sat Jul  9 2005 Dams <anvil[AT]livna.org> - 0:0.8.2-0.lvn.1
+- Updated to final 0.8.2
+
+* Mon Jun  6 2005 Ville Skytt辰 <ville.skytta at iki.fi> 0:0.8.2-0.lvn.0.1.test2
+- Update to 0.8.2-test2, rename to vlc, improve summaries and descriptions.
+- Enable many more modules, many small improvements and cleanups here and there
+- Use unversioned install dir for the Mozilla plugin, rename to mozilla-vlc.
+- Drop < FC3 compatiblity due to unavailability of required lib versions.
+- Fold wx and ncurses to the main package (upstream has retired the
+  VLC Gnome and KDE UI's, so separate UI packages don't have a purpose
+  any more).
+
+* Sat Sep 11 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.7
+- Remove dependency on libpostproc-devel, it's now in ffmpeg-devel (bug 255).
+
+* Thu Sep  2 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.6
+- BuildRequire alsa-lib-devel, was lost in previous update (bug 258).
+- Add libcdio and libmodplug build dependencies.
+- Tweak descriptions, remove unnecessary conditional sections.
+- Disable dependency tracking to speed up the build.
+
+* Sun Aug 29 2004 Ville Skytt辰 <ville.skytta at iki.fi> - 0:0.7.2-0.lvn.5
+- Use system ffmpeg (>= 0.4.9), and make it, ALSA, and fribidi unconditional.
+- Build with theora by default.
+- Change default font to Vera serif bold.
+- Enable pvr support for Hauppauge card users (thanks to Gabriel L. Somlo).
+
+* Mon Jul  5 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.4
+- Enabled libcddb support
+
+* Wed Jun 30 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.3
+- speex now conditional and default disabled since vlc requires
+  development version. 
+
+* Wed Jun 30 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.2
+- Optional Fribidi and libtheora support (default disabled)
+
+* Tue May 25 2004 Dams <anvil[AT]livna.org> 0:0.7.2-0.lvn.1
+- Updated to 0.7.2
+
+* Fri May  7 2004 Dams <anvil[AT]livna.org> 0:0.7.1-0.lvn.1
+- BuildConflicts:ffmpeg
+- Build against private ffmpeg snapshot
+
+* Tue Mar  9 2004 Dams <anvil[AT]livna.org> 0:0.7.1-0.lvn.1
+- Updated to 0.7.1
+- Added live.com libraries support
+- Added matroska support
+
+* Sun Jan  4 2004 Dams <anvil[AT]livna.org> 0:0.7.0-0.lvn.1
+- Updated to 0.7.0
+- s/fdr/lvn
+
+* Wed Dec 10 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.7
+- Conditional ffmpeg build option (default enabled)
+
+* Fri Sep  5 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.6
+- pth support now default disabled 
+
+* Fri Sep  5 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.5
+- slp support can now be not-build with '--without slp'
+
+* Thu Sep  4 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.4
+- Added missing defattr for subpackages
+- Fixed permissions on mozilla plugin
+- fixed build failure due to typos in ncurses changes
+- Removed useless explicit 'Requires:' in subpackages declarations
+
+* Tue Sep  2 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.3
+- Added builddep for libpng-devel and openslp-devel 
+- Added gnome (default:enabled) and ncurses (default:disabled)
+  subpackages
+- Removed macros (mkdir/install/perl)
+- Modified descriptions
+- Removed gtk/gnome2 build deps
+- Added conditionnal (default-disabled) build option for alsa
+- Added conditionnal builddep for pth-devel
+
+* Fri Aug 22 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.2
+- Added missing BuildRequires for gtk+-devel
+
+* Thu Aug 14 2003 Dams <anvil[AT]livna.org> 0:0.6.2-0.fdr.1
+- Updated to 0.6.2
+- Hopefully fixed 'if' conditions for optional buildrequires
+
+* Tue Jul  8 2003 Dams <anvil[AT]livna.org> 0:0.6.0-0.fdr.3
+- Providing vlc 
+
+* Tue Jul  8 2003 Dams <anvil[AT]livna.org> 0:0.6.0-0.fdr.2
+- Moved desktop entry from devel to main package (stupid me)
+
+* Mon Apr 28 2003 Dams <anvil[AT]livna.org> 
+- Initial build.

+ 176 - 0
nonfree/self-build-x264/self-build-x264-vl.spec

@@ -0,0 +1,176 @@
+%define pkgname x264
+%define name	self-build-%{pkgname}
+%define version 0.0.0
+%define date	20100216
+%define time	2245
+%define release	13.%{date}%{?_dist_release}
+
+#define sourceurl0	ftp://ftp.videolan.org/pub/videolan/x264/snapshots/%{pkgname}-snapshot-%{date}-%{time}.tar.bz2
+%define sourceurl0	http://www.videolan.org/pub/videolan/x264/snapshots/%{pkgname}-snapshot-%{date}-%{time}.tar.bz2
+
+Summary:	Package to automatically build %{pkgname} rpm package
+Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:		%{name}
+Version:	%{version}
+Release: 	%{release}
+Source0:	%{pkgname}-vl.spec
+Source1:	%{pkgname}.desktop
+Source111:	%{pkgname}-shared.patch
+Source112:	%{pkgname}-nostrip.patch
+
+License:	GPLv2+
+Group:		Restricted Software
+
+Requires(post):		self-build-setup >= 0.9.9
+
+# (build)requies of target package.
+%ifarch x86_64 %{ix86}
+Requires(post):	yasm
+%endif
+Requires(post): self-build-gpac
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Packager:	munepi
+
+%description
+x264 is a free library for encoding H264/AVC video streams, written from
+scratch.
+
+If you install this package, it automaticaly downloads source
+code ,compile it, and create rpm packages of %{pkgname}-%{version}.
+And the created rpm packages are automatically installed
+if installation is executed by apt-get command or synaptic
+package manager.
+
+[Note]
+This package requires many other packages to compile
+targetsoftware. So it consume more disk space than usual.
+Also installation takes logner time because of compilation.
+(This will take a few minutes to quarter or half of an hour,
+depends on building environment)
+
+[About self-build package]
+For some kind of software, distributing of binary package
+may viorate the patent or law. Therefore we chose self-build
+packge, create binary package on your machine, for such kind
+of softwares instead of distributing binary package.
+
+Please obey the national law when you use the created binary
+packages. And if you want to use the softwares using patented 
+thechnology, it may be required to get a permission, make an 
+agreement or purchas a license. Please consider it with your
+purpose or way of use and take appropriate action.
+
+%description -l ja
+x264 はスクラッチから書かれた H264/AVC ビデオストリームをエン
+コードするためのフリーなライブラリです.
+
+このパッケージをインストールすると、自動的にソースコードを
+ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm
+パッケージを作成します。
+また apt-get コマンドや synaptic パッケージマネージャから実行
+した場合は、作成された rpm パッケージのインストールも自動的に
+行います。
+
+[注意]
+コンパイルに必要な多くの関連パッケージを要求するので通常より
+ディスクの領域を多く消費します。
+またインストール時にコンパイルを行うため、通常より時間がかか
+る場合があります。(環境にもよりますが数分から数十分程度)
+
+[self-build パッケージについて]
+ソフトウェアによってはバイナリパッケージの配布が特許や法律に
+違反する可能性があるものがあります。その為、このような問題が
+懸念されるソフトウェアについてはバイナリパッケージを直接配布
+せずに、ユーザの環境でバイナリを作成する self-build パッケー
+ジという方法を採っています。
+
+作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
+アのライセンス、および利用する国の各種法令に従ってください。
+また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
+センスの購入などが必要となる場合がありますので、利用する目的
+や形態に応じて各自で判断し適切な対応を取ってください。
+
+%prep
+[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE111} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+%{__install} -m 644 %{SOURCE112} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%posttrans
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 10000
+/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-devel-%{version}-%{release}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-13.20100216
+- renamed %%{Source0} to x264-vl.spec
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-12.20100216
+- updated source snapshot 20100216
+- applied to link x264 binary to the shared library from RPM Fusion development
+
+* Mon Sep 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-11.20090522
+- changed to download from http://www.videolan.org/pub/videolan/x264/snapshots in %%sourceurl0
+- check version between original spec and self-build spec in %%prep
+
+* Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-10.20090522
+- dropped BuildArch: noarch
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-9.20090522
+- 20090522 snapshot
+  - updated x264-vine.patch
+- added BuildArch: noarch
+- avoided to execute self-build-rpm.sh on RPM transaction
+  - moved %%post actions to %%posttrans
+
+* Fri Mar 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-8.20090110
+- corrected release number in x264.spec
+
+* Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.0-7.20090110
+- enable asm on x86/x86_64 arch. (fix typo?)
+
+* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-6.20090110
+- added PreReq: self-build-gpac
+
+* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-5.20090110
+- dropped PreReq: nasm for x86
+- added PreReq: yasm for x86
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-4.20090110
+- 20090110 snapshot
+
+* Sun Dec 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-3.20081001
+- fixed License: GPLv2+
+- added BuildRequires: gettext
+- source updated
+- fixed x264-rpm.patch (merged x264-rpm.patch from RPM Fusion)
+  and added x264-vine.patch
+#- changed version from 0.0.0-1.20080225 to 0.0.0-20081111.1
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-2.20080225vl1
+- spec in utf8
+
+* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.0-1.20080225
+- run pre-allocate-rpm.sh in %%post
+- set PreReq: self-build-setup >= 0.8
+- apply new versioning policy
+
+* Wed Feb 27 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-0.20080225vl1
+- initial build for Vine Linux 4.2
+
+### end of file

+ 164 - 0
nonfree/self-build-x264/x264-vl.spec

@@ -0,0 +1,164 @@
+%define name x264
+%define version 0.0.0
+%define date 20100216
+%define time 2245
+%define release 13.%{date}%{?_dist_release}
+
+Summary: Library for encoding and decoding H264/AVC video streams
+Name: %{name}
+Version: %{version}
+Release: %{release}
+#Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/%{name}-snapshot-%{date}-%{time}.tar.bz2
+Source: http://www.videolan.org/pub/videolan/x264/snapshots/%{name}-snapshot-%{date}-%{time}.tar.bz2
+Source1: %{name}.desktop
+# # don't remove config.h and don't re-run version.sh
+# #Patch0: x264-nover.patch
+# Patch0: x264-nover-20100216.patch
+# link with shared libx264
+Patch1: x264-shared.patch
+# don't strip if configured with --enable-debug
+Patch2: x264-nostrip.patch
+License: GPLv2+
+Group: System Environment/Libraries
+URL: http://www.videolan.org/developers/x264.html
+
+%ifarch x86_64 %{ix86}
+BuildRequires: yasm
+%endif
+# gpac-devel package provided by self-build-gpac
+# in self-build-%{name}.spec as PreReq.
+#BuildRequires: gpac-devel
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+x264 is a free library for encoding H264/AVC video streams, written from
+scratch.
+
+%package devel
+Summary: Development files for the x264 library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+x264 is a free library for encoding H264/AVC video streams, written from
+scratch.
+
+This package contains header files, static library and API documentation 
+for the x264.
+
+%prep
+%setup -q -n %{name}-snapshot-%{date}-%{time}
+#% patch0 -p1 -b .nover
+%patch1 -p1 -b .shared
+%patch2 -p1 -b .nostrip
+# AUTHORS file is in iso-8859-1
+iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
+%__mv -f AUTHORS.utf8 AUTHORS
+
+%build
+./configure \
+	--host=%{_target_platform} \
+	--prefix=%{_prefix} \
+	--exec-prefix=%{_exec_prefix} \
+	--bindir=%{_bindir} \
+	--includedir=%{_includedir} \
+	--libdir=%{_libdir} \
+	--extra-cflags="$RPM_OPT_FLAGS" \
+	--enable-mp4-output \
+	%{?_with_visualize:--enable-visualize} \
+%ifnarch %{ix86}
+	--disable-asm \
+%endif
+	--enable-pthread \
+	--enable-debug \
+	--enable-shared \
+	--enable-pic 
+
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} DESTDIR=%{buildroot} install
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(644, root, root, 0755)
+%doc AUTHORS COPYING
+%attr(755,root,root) %{_bindir}/x264
+%{_libdir}/libx264.so.*
+
+%files devel
+%defattr(644, root, root, 0755)
+%doc doc/ratecontrol.txt doc/vui.txt
+%{_includedir}/x264.h
+%exclude %{_libdir}/libx264.a
+%{_libdir}/libx264.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+
+
+%changelog
+* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-13.20100216
+- change release to sync with self-build-x264
+
+* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-12.20100216
+- updated source snapshot 20100216
+- applied to link x264 binary to the shared library from RPM Fusion development
+
+* Mon Sep 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-11.20090522
+- changed Source0: to http://www.videolan.org/pub/videolan/x264/snapshots
+
+* Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-10.20090522
+- change release to sync with self-build-x264
+
+* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-9.20090522
+- 20090522 snapshot
+  - updated x264-vine.patch
+
+* Fri Mar 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-8.20090110
+- corrected release number
+
+* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-6.20090110
+- added configure options: --enable-mp4-output
+- added BuildRequires: gpac-devel
+
+* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-5.20090110
+- change release to sync with self-build-x264
+
+* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-4.20090110
+- 20090110 snapshot
+
+* Thu Nov 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-3.20081001
+- fixed License: GPLv2+
+- added BuildRequires: gettext
+- source updated
+- fixed x264-rpm.patch (merged x264-rpm.patch from RPM Fusion)
+  and added x264-vine.patch
+#- changed version from 0.0.0-1.20080225 to 0.0.0-20081111.1
+
+* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-2.20080225vl1
+- spec in utf8
+
+* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.0-1.20080225
+- apply new versioning policy
+
+* Wed Feb 27 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-0.20080225vl1
+- initial build for Vine Linux 4.2
+
+* Sun Jan 20 2008 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.57-0.r721vlmp1
+- update to SVN r721
+
+* Sat Aug 4 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.56-0.r667vlmp1
+- initial build for Vine Linux 4.1
+
+### end of file