source: projects/specs/trunk/nonfree/self-build-libquicktime/libquicktime-vl.spec @ 6241

Revision 6241, 6.2 KB checked in by munepi, 12 years ago (diff)

upgrade some self-build packages; remove obsolete self-build packages

Line 
1Name:            libquicktime
2Version:         1.2.4
3Release:         1%{?_dist_release}
4License:         LGPLv2+
5Group:           System Environment/Libraries
6Source0:         http://prdownloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
7URL:             http://libquicktime.sourceforge.net/
8Summary:         Library for reading and writing Quicktime files
9Summary(ja):     QuickTime ファイルを読み書きするためのライブラリ
10
11Vendor:          Project Vine
12Distribution:    Vine Linux
13BuildRoot:       %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:   libvorbis-devel
16BuildRequires:   libpng-devel
17BuildRequires:   libjpeg-devel
18BuildRequires:   gtk2-devel
19BuildRequires:   libdv-devel
20BuildRequires:   libraw1394-devel
21BuildRequires:   libavc1394-devel
22
23BuildRequires:   alsa-lib-devel
24BuildRequires:   zlib-devel
25BuildRequires:   gettext-devel
26BuildRequires:   mesa-libGL-devel
27BuildRequires:   libX11-devel
28BuildRequires:   libICE-devel
29BuildRequires:   libSM-devel
30BuildRequires:   libXext-devel
31BuildRequires:   libXmu-devel
32BuildRequires:   libXpm-devel
33BuildRequires:   libXt-devel
34BuildRequires:   libXaw-devel >= 1.0.5
35BuildRequires:   libXv-devel
36
37##BuildRequires:   ffmpeg-devel
38##BuildRequires:   lame-devel
39##BuildRequires:   faad2-devel
40##BuildRequires:   faac-devel
41##BuildRequires:   x264-devel
42
43%description
44Libquicktime is based on the quicktime4linux library with several
45enhancements. All 3rd-party libraries were removed from the
46sourcetree. Instead, the systemwide installed libraries are detected
47by the configure script. All original codecs were moved into
48dynamically loadable modules, and new codecs are in
49development. Libquicktime is source-compatible with
50quicktime4linux. Special API extensions allow access to the codec
51registry and more convenient processing of Audio and Video
52data.
53
54%description -l ja
55libquicktime は、quicktime4linux ライブラリを元に拡張しています。
56サードパーティライブラリは、一次元ソースツリーからすべて消えてしまいました。
57その代わりに、システムワイドにインストールされるライブラリは、
58configure スクリプトにより検出されます。
59オリジナルコーデックは、すべて動的読み込み可能なモジュールに
60移行してしまいました。また、新しいコーデックは開発途中です。
61libquicktime は quicktime4linux と互換性を持ったソースです。
62特別な API 拡張は、コーデックレジストリや
63音声や動画のより便利な処理にアクセスができます。
64
65%package utils
66Summary:        Utilities for working with Quicktime files
67Summary(ja):    Quicktime ファイルを操作するためのユーティリティ
68Group:          Applications/Multimedia
69Requires:        %{name} = %{version}-%{release}
70
71%description utils
72Libquicktime is based on the quicktime4linux library with several
73enhancements.
74
75This package contains utility programs and additional
76tools, like a commandline player and a GTK configuration utility which
77can configure the parameters of all installed codecs.
78
79%package devel
80Summary:         Development files from the libquicktime library
81Summary(ja):     libquicktime の開発ライブラリ
82Group:           Development/Libraries
83Requires:        %{name} = %{version}-%{release}
84Requires:        zlib-devel
85Requires:        pkgconfig
86
87%description devel
88Libquicktime is based on the quicktime4linux library with several
89enhancements.
90
91This package contains development files for %{name}.
92
93
94%prep
95%setup -q -n %{name}-%{version}
96
97%build
98%configure \
99    --enable-gpl \
100    --disable-rpath \
101    --with-cpuflags="$RPM_OPT_FLAGS" \
102    --disable-dependency-tracking \
103    --without-doxygen \
104    --disable-static \
105    --with-libdv \
106    --enable-libswscale \
107    ;
108
109# remove rpath from libtool
110%__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
111%__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
112
113%__make %{?_smp_mflags}
114
115
116%install
117%{__rm} -rf %{buildroot}
118%makeinstall
119
120## remove unuse files
121find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec %__rm -f {} \;
122
123%find_lang %{name}
124
125%clean
126%{__rm} -rf %{buildroot}
127
128%post -p /sbin/ldconfig
129
130%postun -p /sbin/ldconfig
131
132
133%files -f %{name}.lang
134%defattr(-,root,root,-)
135%doc AUTHORS ChangeLog COPYING NEWS README TODO
136%{_libdir}/%{name}*.so.*
137%dir %{_libdir}/%{name}
138%{_libdir}/%{name}/lqt_*.so
139
140%files utils
141%defattr(-,root,root,-)
142%{_bindir}/libquicktime_config
143%{_bindir}/lqt_transcode
144%{_bindir}/lqtplay
145%{_bindir}/lqtremux
146%{_bindir}/qt2text
147%{_bindir}/qtdechunk
148%{_bindir}/qtdump
149%{_bindir}/qtinfo
150%{_bindir}/qtrechunk
151%{_bindir}/qtstreamize
152%{_bindir}/qtyuv4toyuv
153%{_mandir}/man1/lqtplay.1*
154
155%files devel
156%defattr(-,root,root,-)
157%{_includedir}/lqt/
158%{_libdir}/pkgconfig/libquicktime.pc
159%{_libdir}/%{name}*.so
160
161
162%changelog
163* Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-1
164- new upstream release
165
166* Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-2
167- rebuilt with new x264 (ABI 0.119) and ffmpeg (0.9.x)
168
169* Thu Dec 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-1
170- new upstream release
171
172* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2
173- rebuilt
174
175* Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
176- new upstream release
177- added the subpackage utils
178- updated %%description
179
180* Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
181- new upstream release
182
183* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
184- change release to sync with self-build-libquicktime.spec
185
186* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
187- new upstream release
188
189* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
190- new upstream release
191- changed License: LGPLv2
192- added some configure options
193
194* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
195- rebuild with libXaw.so.7 (libXaw-1.0.5)
196
197* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
198- applied new versioning policy, spec in utf-8
199- updated libquicktime to 1.0.3
200
201* Thu Aug  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
202- new upstream release
203- License is LGPL
204- added libquicktime.pc to devel package
205
206* Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
207- Inital package for VineLinux3.1
Note: See TracBrowser for help on using the repository browser.