Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1576269
 поиск   регистрация   авторизация 
 
Группа :: Видео
Пакет: openquicktime

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

# $Id: openquicktime.spec 171 2004-03-28 01:43:07Z dag $
# Authority: dag

%define prerel a1

Summary: Portable library for handling Apples QuickTime(tm) format
Name: openquicktime
Version: 2.0.0
Release: alt0.%prerel.M24.2
License: LGPL
Group: Video
URL: http://www.openquicktime.org/

Packager: Igor Vlasenko <viy at altlinux.org>

Source: http://dl.sf.net/openquicktime/openquicktime-%{version}%{prerel}.tar.gz
Patch:openquicktime-2.0.0-a1-alt-minolta-crashfix.patch
Patch1:openquicktime-2.0.0-a1-forum-twos8bit-fix.patch

# Automatically added by buildreq on Tue Jul 19 2005

BuildRequires: XFree86-libs esound glibc-devel-static hostinfo libSDL-devel libaudiofile-devel libdv-devel libjpeg-devel liblame-devel libogg-devel libpng-devel libshout-devel libtiff-devel libvorbis-devel zlib-devel
# TODO: add build with
# libcurl-devel libfaac-devel libfaad-devel xvid-devel

%description
OpenQuicktime aims to be a portable library for handling Apples QuickTime
popular media files on Unix-like environments. It is aim is to provide
encoding, authoring and editing support as well as video playback.

%package devel
Summary: Header files and development documentation for libopenquicktime
Group: Development/C
Requires: %name = %version-%release
Requires: libaudiofile-devel
Requires: liblame-devel
Requires: libshout-devel
Requires: libtiff-devel
Requires: libpng-devel
Requires: libjpeg-devel
Requires: libdv-devel
Requires: libogg-devel
Requires: libvorbis-devel

%description devel
Header files and development documentation for libopenquicktime.

%package utils
Summary: Useful tools to operate at QuickTime files
Group: Video
Requires: %name = %version-%release

%description utils
Useful tools to operate on QuickTime files.


%prep
%setup -n %{name}-%{version}%{prerel}
%patch -p0
%patch1 -p0

%build
#  --enable-debug=no
%configure
%{__make} %{_smp_mflags}

%install
### FIXME: Makefile doesn't create %{_libdir}
#%{__install} -d -m0755 %{buildroot}%{_libdir}
%makeinstall

## FIXME: Add a libmajor to libraries

for lib in %{buildroot}%{_libdir}/*.so; do
%{__mv} -f $lib $lib.0
%{__ln_s} -f $(basename $lib).0 $lib
done

# remove non-packaged files

# %__rm -f %buildroot%_libdir/%name/*.la


%files
%doc AUTHORS ChangeLog CHANGES DEPENDENCIES INSTALL COPYING README TODO
%{_bindir}/*
%{_libdir}/%{name}
%{_libdir}/*.so
%{_libdir}/*.so.*

%files utils
%_bindir/*

%files devel
%_includedir/*
%_libdir/*.so

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005