Browse Source

updated self-build-vlc, self-build-libquicktime

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2619 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
d499b9b4ab

+ 67 - 37
nonfree/self-build-libquicktime/libquicktime-vl.spec

@@ -1,11 +1,11 @@
 Name:            libquicktime
-Version:         1.1.5
+Version:         1.2.2
 Release:         1%{?_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:         Library for reading and writing Quicktime files
 Summary(ja):     QuickTime ファイルを読み書きするためのライブラリ
 
 Vendor:          Project Vine
@@ -41,37 +41,55 @@ BuildRequires:	 libXv-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.
+Libquicktime is based on the quicktime4linux library with several
+enhancements. All 3rd-party libraries were removed from the
+sourcetree. Instead, the systemwide installed libraries are detected
+by the configure script. All original codecs were moved into
+dynamically loadable modules, and new codecs are in
+development. Libquicktime is source-compatible with
+quicktime4linux. Special API extensions allow access to the codec
+registry and more convenient processing of Audio and Video
+data. 
 
 %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形式をサポートします.
+libquicktime は、quicktime4linux ライブラリを元に拡張しています。 
+サードパーティライブラリは、一次元ソースツリーからすべて消えてしまいました。
+その代わりに、システムワイドにインストールされるライブラリは、
+configure スクリプトにより検出されます。
+オリジナルコーデックは、すべて動的読み込み可能なモジュールに
+移行してしまいました。また、新しいコーデックは開発途中です。
+libquicktime は quicktime4linux と互換性を持ったソースです。
+特別な API 拡張は、コーデックレジストリや
+音声や動画のより便利な処理にアクセスができます。
+
+%package utils
+Summary:	Utilities for working with Quicktime files
+Summary(ja):	Quicktime ファイルを操作するためのユーティリティ
+Group:		Applications/Multimedia
+Requires:        %{name} = %{version}-%{release}
+
+%description utils
+Libquicktime is based on the quicktime4linux library with several
+enhancements. 
+
+This package contains utility programs and additional
+tools, like a commandline player and a GTK configuration utility which
+can configure the parameters of all installed codecs.
 
 %package devel
 Summary:         Development files from the libquicktime library
 Summary(ja):     libquicktime の開発ライブラリ
 Group:           Development/Libraries
-Requires:        %{name} = %{version}
+Requires:        %{name} = %{version}-%{release}
 Requires:        zlib-devel
+Requires:        pkgconfig
 
 %description devel
-libquicktime is a library for reading and writing quicktime files. It
-is based on the quicktime4linux library, with many extensions.
+Libquicktime is based on the quicktime4linux library with several
+enhancements. 
 
-You will need to install this development package if you intend to rebuild
-programs that need to access quicktime files using libquicktime.
+This package contains development files for %{name}.
 
-%description -l ja devel
-libquicktime の開発ライブラリです.
 
 %prep
 %setup -q -n %{name}-%{version}
@@ -105,7 +123,7 @@ libquicktime の開発ライブラリです.
 %makeinstall
 
 ## remove unuse files
-find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \;
+find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec %__rm -f {} \;
 
 %find_lang %{name}
 
@@ -118,28 +136,40 @@ find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \;
 
 
 %files -f %{name}.lang
-%defattr(-, root, root, 0755)
+%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README TODO
-%{_bindir}/lqtplay
+%{_libdir}/%{name}*.so.*
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/lqt_*.so
+
+%files utils
+%defattr(-,root,root,-)
+%{_bindir}/libquicktime_config
 %{_bindir}/lqt_transcode
-%{_bindir}/qt*
-%{_libdir}/*.so.*
-%dir %{_libdir}/libquicktime/
-%{_libdir}/libquicktime/*.so
-%{_mandir}/man1/*
+%{_bindir}/lqtplay
+%{_bindir}/lqtremux
+%{_bindir}/qt2text
+%{_bindir}/qtdechunk
+%{_bindir}/qtdump
+%{_bindir}/qtinfo
+%{_bindir}/qtrechunk
+%{_bindir}/qtstreamize
+%{_bindir}/qtyuv4toyuv
+%{_mandir}/man1/lqtplay.1*
 
 %files devel
-%defattr(-, root, root, 0755)
-%{_bindir}/libquicktime_config
-%{_bindir}/lqt-config
-%{_includedir}/*
-%{_libdir}/*.so
-%dir %{_libdir}/libquicktime/
-%{_libdir}/pkgconfig/*.pc
-%{_datadir}/aclocal/*.m4
+%defattr(-,root,root,-)
+%{_includedir}/lqt/
+%{_libdir}/pkgconfig/libquicktime.pc
+%{_libdir}/%{name}*.so
 
 
 %changelog
+* Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
+- new upstream release
+- added the subpackage utils
+- updated %%description
+
 * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
 - new upstream release
 

+ 26 - 14
nonfree/self-build-libquicktime/self-build-libquicktime-vl.spec

@@ -1,6 +1,6 @@
 %define pkgname libquicktime
 %define name	self-build-%{pkgname}
-%define version 1.1.5
+%define version 1.2.2
 %define release	1%{?_dist_release}
 
 %define sourceurl0	http://prdownloads.sourceforge.net/libquicktime/%{pkgname}-%{version}.tar.gz
@@ -51,14 +51,15 @@ 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.
+Libquicktime is based on the quicktime4linux library with several
+enhancements. All 3rd-party libraries were removed from the
+sourcetree. Instead, the systemwide installed libraries are detected
+by the configure script. All original codecs were moved into
+dynamically loadable modules, and new codecs are in
+development. Libquicktime is source-compatible with
+quicktime4linux. Special API extensions allow access to the codec
+registry and more convenient processing of Audio and Video
+data. 
 
 
 If you install this package, it automaticaly downloads source
@@ -87,10 +88,15 @@ 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形式をサポートします.
+libquicktime は、quicktime4linux ライブラリを元に拡張しています。 
+サードパーティライブラリは、一次元ソースツリーからすべて消えてしまいました。
+その代わりに、システムワイドにインストールされるライブラリは、
+configure スクリプトにより検出されます。
+オリジナルコーデックは、すべて動的読み込み可能なモジュールに
+移行してしまいました。また、新しいコーデックは開発途中です。
+libquicktime は quicktime4linux と互換性を持ったソースです。
+特別な API 拡張は、コーデックレジストリや
+音声や動画のより便利な処理にアクセスができます。
 
 
 このパッケージをインストールすると、自動的にソースコードを
@@ -131,8 +137,9 @@ YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ula
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 186000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 188000
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
+                                 %{pkgname}-utils-%{version}-%{release} \
                                  %{pkgname}-devel-%{version}-%{release}
 
 %files
@@ -140,6 +147,11 @@ YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ula
 %{_datadir}/%{name}
 
 %changelog
+* Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
+- new upstream release
+- added the subpackage utils
+- updated %%description
+
 * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
 - new upstream release
 

+ 8 - 8
nonfree/self-build-vlc/self-build-vlc-vl.spec

@@ -1,14 +1,8 @@
 %define pkgname vlc
 %define name    self-build-%{pkgname}
-%define version 1.1.5
+%define version 1.1.6
 %define release 1%{?_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
@@ -60,6 +54,7 @@ Requires(post):	gsm-devel
 Requires(post):	hal-devel
 Requires(post):	jack-audio-connection-kit-devel
 Requires(post):  libavc1394-devel
+Requires(post):  libass-devel >= 0.9.7
 Requires(post):	libcdio-devel >= 0.77-3
 Requires(post):	libdv-devel
 Requires(post):	libdvdread-devel
@@ -79,7 +74,7 @@ Requires(post):  libupnp-devel
 Requires(post):	libv4l-devel
 Requires(post):	libvorbis-devel
 Requires(post):  libxml2-devel
-Requires(post):	lirc
+%{?_with_lirc:Requires(post):	lirc}
 Requires(post):  kernel-headers >= 2.6.20
 Requires(post):  libmusicbrainz-devel
 Requires(post): lua-devel
@@ -239,6 +234,11 @@ mp3, ogg など)だけでなく,DVD や VCD,様々なストリーミング
 
 
 %changelog
+* Tue Feb 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.6-1
+- new upstream release
+- dropped temporarily BuildRequires: lirc
+- added BuildRequires: libass-devel as the tag Requires(post)
+
 * Sun Nov 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
 - new upstream release
 

+ 10 - 5
nonfree/self-build-vlc/vlc-vl.spec

@@ -1,5 +1,5 @@
 # -*- coding: utf-8-unix -*-
-# TODO: libdc1394(juju), libass, libcaca, modularization (vlc-plugin-foo)
+# TODO: libdc1394(juju), libcaca, modularization (vlc-plugin-foo)
 
 #% define with_internal_live555 		0
 #% define live555_date	2008.07.25
@@ -14,7 +14,7 @@
 
 Summary:	Multi-platform MPEG, DVD, and DivX player
 Name:		vlc
-Version:	1.1.5
+Version:	1.1.6
 Release:	1%{?_dist_release}
 License:	GPLv2+
 Group:		Applications/Multimedia
@@ -60,7 +60,7 @@ BuildRequires:	gsm-devel
 BuildRequires:	hal-devel
 BuildRequires:	jack-audio-connection-kit-devel
 BuildRequires:  libavc1394-devel
-##!! BuildRequires:	libass-devel >= 0.9.7
+BuildRequires:	libass-devel >= 0.9.7
 ##!! BuildRequires:	libcaca-devel
 ##!! BuildRequires:	libcddb-devel
 BuildRequires:	libcdio-devel >= 0.77-3
@@ -92,7 +92,7 @@ BuildRequires:	libv4l-devel
 BuildRequires:	libvorbis-devel
 BuildRequires:  libxml2-devel
 #BuildRequires:	lirc-devel
-BuildRequires:	lirc
+%{?_with_lirc:BuildRequires:	lirc}
 # %if %with_internal_live555
 # BuildConflicts: live-devel
 # BuildConflicts: live555-devel
@@ -329,7 +329,7 @@ VLC plugins for libdc1394
 	--enable-xosd				\
 	--enable-fbosd				\
 	--enable-galaktos			\
-	--enable-lirc				\
+	%{?_with_lirc:--enable-lirc}		\
 %ifarch %{ix86}
 	--enable-loader				\
 %else
@@ -450,6 +450,11 @@ fi || :
 
 
 %changelog
+* Tue Feb 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.6-1
+- new upstream release
+- dropped temporarily BuildRequires: lirc
+- added BuildRequires: libass-devel
+
 * Sun Nov 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
 - new upstream release