Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37547319
en ru br
Репозитории ALT
4.1: 1.1.3-alt2
4.0: 1.1.3-alt2
3.0: 1.0.3-alt1.1
+backports:1.1.0-alt1.M30.1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: xvid

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

%define prerel %nil
%undefine prerel
%define snapshot_date 20021126
%undefine snapshot_date

Name: xvid
Version: 1.0.3
%define release alt1.1

%ifdef snapshot_date
Release: %{release}cvs%snapshot_date
%else
Release: %release
%endif

Summary: XviD - MPEG-4 video codec.
Group: System/Libraries
License: GPL
Url: http://www.xvid.org

Packager: Yuri N. Sedunov <aris at altlinux.ru>

%ifndef snapshot_date
%ifndef prerel
Source: %url/%version/%{name}core-%version.tar.bz2
%else
Source: %url/%version/%{name}core-%version-%prerel.tar.bz2
%endif
%else
Source: %url/%{name}_snapshot_%snapshot_date.tar.bz2
%endif

Patch: %{name}core-1.0.0rc1-alt-makefile.patch

ExclusiveArch: %ix86 ppc sparc sparc64 sparcv9 x86_64

# Automatically added by buildreq on Tue Jun 08 2004

BuildRequires: nasm

%description
XviD is a high performance and high quality MPEG-4 video de-/encoding solution.

%package devel
Summary: Development files of XviD video codec
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files of XviD video codec.

%package static-libs
Summary: Static library of XviD video codec
Group: Development/C
Requires: %name-devel = %version-%release

%description static-libs
This package contains static library of XviD video codec.

%prep
%ifndef snapshot_date
%ifndef prerel
%setup -q -n %{name}core-%version
%else
%setup -q -n %{name}core-%version-%prerel
%endif
%else
%setup  -q -n %{name}_%snapshot_date
%endif

%patch -p1

%build
%set_verify_elf_method textrel=relaxed
pushd build/generic
%add_optflags %optflags_shared
%configure \
%ifarch i586
--disable-assembly
%endif

%make_build
popd

%install
pushd build/generic
%makeinstall
popd

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog README TODO

%files devel
%_libdir/*.so
%_includedir/*.h
%doc CodingStyle doc/*

%files static-libs
%_libdir/*.a

%changelog

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

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin