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

Revision 615, 4.8 KB checked in by munepi, 14 years ago (diff)

added many self-build-* specs

Line 
1Name:            libquicktime
2Version:         1.1.4
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:         A 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 a library for reading and writing QuickTime files
45on UNIX systems. Video CODECs supported by this library are OpenDivX, MJPA,
46JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression.  Supported
47audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
48
49Libquicktime is based on the quicktime4linux library.  Libquicktime add
50features such as a GNU build tools-based build process and dynamically
51loadable CODECs.
52
53%description -l ja
54libquicktimeはUNIX 系のシステムでQuickTimeファイルを読み書きするための
55ライブラリです.ビデオエンコード:OpenDivX、MJPA、JPEG Photo、PNG、RGB、
56YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ulaw、そ
57の他線型PCM形式をサポートします.
58
59%package devel
60Summary:         Development files from the libquicktime library
61Summary(ja):     libquicktime の開発ライブラリ
62Group:           Development/Libraries
63Requires:        %{name} = %{version}
64Requires:        zlib-devel
65
66%description devel
67libquicktime is a library for reading and writing quicktime files. It
68is based on the quicktime4linux library, with many extensions.
69
70You will need to install this development package if you intend to rebuild
71programs that need to access quicktime files using libquicktime.
72
73%description -l ja devel
74libquicktime の開発ライブラリです.
75
76%prep
77%setup -q -n %{name}-%{version}
78
79%build
80%configure \
81    --disable-static \
82    --disable-dependency-tracking \
83    --disable-rpath \
84    --with-cpuflags="$RPM_OPT_FLAGS" \
85    --without-doxygen \
86    --with-libdv \
87    --enable-gpl \
88    --enable-libswscale \
89    %ifarch %{ix86} x86_64
90        --enable-mmx \
91    %else
92        --disable-mmx \
93    %endif
94        ;
95
96# remove rpath from libtool
97%__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
98%__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
99
100%__make %{?_smp_mflags}
101
102
103%install
104%{__rm} -rf %{buildroot}
105%makeinstall
106
107## remove unuse files
108find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \;
109
110%find_lang %{name}
111
112%clean
113%{__rm} -rf %{buildroot}
114
115%post -p /sbin/ldconfig
116
117%postun -p /sbin/ldconfig
118
119
120%files -f %{name}.lang
121%defattr(-, root, root, 0755)
122%doc AUTHORS ChangeLog COPYING NEWS README TODO
123%{_bindir}/lqtplay
124%{_bindir}/lqt_transcode
125%{_bindir}/qt*
126%{_libdir}/*.so.*
127%dir %{_libdir}/libquicktime/
128%{_libdir}/libquicktime/*.so
129%{_mandir}/man1/*
130
131%files devel
132%defattr(-, root, root, 0755)
133%{_bindir}/libquicktime_config
134%{_bindir}/lqt-config
135%{_includedir}/*
136%{_libdir}/*.so
137%dir %{_libdir}/libquicktime/
138%{_libdir}/pkgconfig/*.pc
139%{_datadir}/aclocal/*.m4
140
141
142%changelog
143* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
144- change release to sync with self-build-libquicktime.spec
145
146* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
147- new upstream release
148
149* Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
150- new upstream release
151- changed License: LGPLv2
152- added some configure options
153
154* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
155- rebuild with libXaw.so.7 (libXaw-1.0.5)
156
157* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
158- applied new versioning policy, spec in utf-8
159- updated libquicktime to 1.0.3
160
161* Thu Aug  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
162- new upstream release
163- License is LGPL
164- added libquicktime.pc to devel package
165
166* Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
167- Inital package for VineLinux3.1
Note: See TracBrowser for help on using the repository browser.