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

Revision 7852, 6.7 KB checked in by munepi, 11 years ago (diff)

added Obsoletes: %{name} <= %{version}-%{release} and so on.

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