source: projects/specs/branches/6/nonfree/self-build-libquicktime/libquicktime-vl.spec @ 3126

Revision 3126, 6.0 KB checked in by munepi, 13 years ago (diff)

updated self-build-ffmpeg-vl.spec, self-build-gpac-vl.spec self-build-libquicktime-vl.spec self-build-mplayer-vl.spec self-build-vlc-vl.spec self-build-x264-vl.spec; added rtmpdump-vl.spec

Line 
1Name:            libquicktime
2Version:         1.2.2
3Release:         2%{?_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    --disable-static \
100    --disable-dependency-tracking \
101    --disable-rpath \
102    --with-cpuflags="$RPM_OPT_FLAGS" \
103    --without-doxygen \
104    --with-libdv \
105    --enable-gpl \
106    --enable-libswscale \
107    %ifarch %{ix86} x86_64
108        --enable-mmx \
109    %else
110        --disable-mmx \
111    %endif
112        ;
113
114# remove rpath from libtool
115%__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
116%__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
117
118%__make %{?_smp_mflags}
119
120
121%install
122%{__rm} -rf %{buildroot}
123%makeinstall
124
125## remove unuse files
126find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec %__rm -f {} \;
127
128%find_lang %{name}
129
130%clean
131%{__rm} -rf %{buildroot}
132
133%post -p /sbin/ldconfig
134
135%postun -p /sbin/ldconfig
136
137
138%files -f %{name}.lang
139%defattr(-,root,root,-)
140%doc AUTHORS ChangeLog COPYING NEWS README TODO
141%{_libdir}/%{name}*.so.*
142%dir %{_libdir}/%{name}
143%{_libdir}/%{name}/lqt_*.so
144
145%files utils
146%defattr(-,root,root,-)
147%{_bindir}/libquicktime_config
148%{_bindir}/lqt_transcode
149%{_bindir}/lqtplay
150%{_bindir}/lqtremux
151%{_bindir}/qt2text
152%{_bindir}/qtdechunk
153%{_bindir}/qtdump
154%{_bindir}/qtinfo
155%{_bindir}/qtrechunk
156%{_bindir}/qtstreamize
157%{_bindir}/qtyuv4toyuv
158%{_mandir}/man1/lqtplay.1*
159
160%files devel
161%defattr(-,root,root,-)
162%{_includedir}/lqt/
163%{_libdir}/pkgconfig/libquicktime.pc
164%{_libdir}/%{name}*.so
165
166
167%changelog
168* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2
169- rebuilt
170
171* Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
172- new upstream release
173- added the subpackage utils
174- updated %%description
175
176* Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
177- new upstream release
178
179* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
180- change release to sync with self-build-libquicktime.spec
181
182* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
183- new upstream release
184
185* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
186- new upstream release
187- changed License: LGPLv2
188- added some configure options
189
190* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
191- rebuild with libXaw.so.7 (libXaw-1.0.5)
192
193* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
194- applied new versioning policy, spec in utf-8
195- updated libquicktime to 1.0.3
196
197* Thu Aug  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
198- new upstream release
199- License is LGPL
200- added libquicktime.pc to devel package
201
202* Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
203- Inital package for VineLinux3.1
Note: See TracBrowser for help on using the repository browser.