]> git.pld-linux.org Git - packages/libquicktime.git/blob - libquicktime.spec
- up to 0.9.3, step forward - now builds
[packages/libquicktime.git] / libquicktime.spec
1 Summary:        Library for reading and writing quicktime files
2 Summary(pl):    Biblioteka do odczytu i zapisu plików quicktime
3 Name:           libquicktime
4 Version:        0.9.3
5 Release:        0.1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
9 # Source0-md5:  38d9dbe8a75ea0be13ffa16b858502ae
10 URL:            http://libquicktime.sourceforge.net/
11 BuildRequires:  XFree86-devel
12 # avcodec-acl = 0.4.8acl ???
13 BuildRequires:  ffmpeg-devel
14 BuildRequires:  gtk+-devel >= 1.2.8
15 BuildRequires:  libavc1394-devel >= 0.3.1
16 BuildRequires:  libdv-devel
17 BuildRequires:  libjpeg-devel
18 # jpeg-mmx-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libraw1394-devel >= 0.9
21 BuildRequires:  libvorbis-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 libquicktime is a library for reading and writing quicktime files. It
26 is based on the quicktime4linux library, with the following
27 extensions:
28 - Sourcetree upgraded with autoconf/automake/libtool and all the other
29   stuff, people like in "standard" linux libraries.
30 - All 3rd party libraries (jpeg, OggVorbis) were removed to reduce
31   download size, compilation time and code duplication on users
32   harddisks. Instead, the sytemwide installed libraries are used.
33 - All codecs have been moved into dynamically loadable modules. This
34   makes it possible to distribute closed source codecs (or codecs with
35   an incompatible license) as separate packages.
36 - Unlike other quicktime libraries, it's source compatible with
37   quicktime4linux. Programs like cinelerra or xmovie can be compiled
38   with libquicktime.
39 - The codecs themselves are also source compatible with
40   quicktime4linux, so porting codecs between quicktime4linux and
41   libquicktime requires only little brain load.
42 - Special API extensions allow access to the codec registry.
43   Applications can get important information about the codecs, their
44   settable parameters etc. at runtime.
45  
46 #%description -l pl
47
48 %package devel
49 Summary:        Header files for libquicktime library
50 Summary(pl):    Pliki nag³ówkowe biblioteki libquicktime
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53
54 %description devel
55 Header files for libquicktime library.
56
57 %description devel -l pl
58 Pliki nag³ówkowe biblioteki libquicktime.
59
60 %package static
61 Summary:        Static libquicktime library
62 Summary(pl):    Statyczna biblioteka libquicktime
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static libquicktime library.
68
69 %description static -l pl
70 Statyczna biblioteka libquicktime.
71
72 %package utils
73 Summary:        libquicktime utilities
74 Summary(pl):    Narzêdzia do libquicktime
75 Group:          Applications/Multimedia
76 Requires:       %{name} = %{version}-%{release}
77
78 %description utils
79 libquicktime utilities.
80
81 %description utils -l pl
82 Narzêdzia do libquicktime.
83
84 %prep
85 %setup -q
86
87 %build
88 %configure \
89         --enable-static
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 rm -f $RPM_BUILD_ROOT%{_libdir}/libquicktime/*.{la,a}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc README TODO
109 # R: glib, zlib
110 %attr(755,root,root) %{_libdir}/libquicktime.so.*.*.*
111 # R: libdv, libraw1394, libavc1394
112 %attr(755,root,root) %{_libdir}/libquicktime1394.so.*.*.*
113 %dir %{_libdir}/libquicktime
114 %attr(755,root,root) %{_libdir}/libquicktime/lqt_audiocodec.so
115 # R: libdv
116 %attr(755,root,root) %{_libdir}/libquicktime/lqt_dv.so
117 # R: avcodec-acl
118 #%attr(755,root,root) %{_libdir}/libquicktime/lqt_ffmpeg.so
119 # R: lame-libs
120 %attr(755,root,root) %{_libdir}/libquicktime/lqt_lame.so
121 # R: libjpeg
122 %attr(755,root,root) %{_libdir}/libquicktime/lqt_mjpeg.so
123 %attr(755,root,root) %{_libdir}/libquicktime/lqt_opendivx.so
124 # R: libpng
125 %attr(755,root,root) %{_libdir}/libquicktime/lqt_png.so
126 %ifarch %{ix86}
127 %attr(755,root,root) %{_libdir}/libquicktime/lqt_rtjpeg.so
128 %endif
129 %attr(755,root,root) %{_libdir}/libquicktime/lqt_videocodec.so
130 # R: libogg, libvorbis
131 %attr(755,root,root) %{_libdir}/libquicktime/lqt_vorbis.so
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_bindir}/lqt-config
136 %attr(755,root,root) %{_libdir}/libquicktime.so
137 %attr(755,root,root) %{_libdir}/libquicktime1394.so
138 %{_libdir}/libquicktime.la
139 %{_libdir}/libquicktime1394.la
140 %{_includedir}/quicktime
141 %{_aclocaldir}/lqt.m4
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/libquicktime.a
146 %{_libdir}/libquicktime1394.a
147
148 %files utils
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/libquicktime_config
151 %attr(755,root,root) %{_bindir}/lqtplay
152 %attr(755,root,root) %{_bindir}/lqt_transcode
153 %attr(755,root,root) %{_bindir}/qt*
154 %{_mandir}/man1/lqtplay.1*
This page took 0.07873 seconds and 4 git commands to generate.