Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37478495
en ru br
Репозитории ALT
S:1.1.0-alt7
5.1: 1.1.0-alt3
4.1: 1.1.0-alt2
4.0: 0.9.25.1-alt1
3.0: 0.9.21-alt1.20041024
www.altlinux.org/Changes

Другие репозитории
Upstream:1.1.1

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

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

# -*- rpm-spec -*-
# $Id: directfb,v 1.18 2004/12/10 16:30:23 grigory Exp $

%define realname DirectFB
%define snapshot 2004-10-24
%define srcname %realname-%snapshot

%set_libtool_version 1.5
%set_autoconf_version 2.5
%set_automake_version 1.8

Name: directfb
Version: 0.9.21
Release: alt1.20041024

Summary: %realname - drivers and binaries
License: GPL
Group: System/Libraries
Url: http://www.directfb.org

Source: %url/download/%realname/%srcname.tar.gz

Requires: lib%name = %version-%release

# Automatically added by buildreq on Fri Dec 10 2004

BuildRequires: gcc-c++ libSDL-devel libjpeg-devel libpng-devel libstdc++-devel man zlib-devel
BuildRequires: freetype2-devel glibc-devel-static libflash-devel libjpeg-devel libmpeg3-devel

%description
%realname is a graphics library which was designed with embedded systems
in mind. It offers maximum hardware accelerated performance at a minimum
of resource usage and overhead.
Check %url for more and uptodate infos.

%package -n lib%name
Summary: %realname - graphics and windowing library on Linux framebuffer
Group: System/Libraries

%description -n lib%name
%realname is a graphics library which was designed with embedded systems
in mind. It offers maximum hardware accelerated performance at a minimum
of resource usage and overhead.
Check %url for more and uptodate infos.

%package devel
Summary: Includes and other files for devel %realname applications
Group: Development/C
Requires: %name = %version-%release

%description devel
Devel for %realname is a graphics library which was designed with embedded systems
in mind. It offers maximum hardware accelerated performance at a minimum
of resource usage and overhead.
Check %url for more and uptodate infos.

%prep
%setup -q -n %srcname

%build
./autogen.sh --prefix=%_prefix --disable-avifile --with-libmpeg3=%_includedir/libmpeg3
%make_build

%install
%makeinstall \
LIBDIR="%buildroot%_libdir/%name" \
DATADIR="%buildroot%_datadir/%name"

# Remove .la files

find %buildroot -type f -name "*.la" -exec %__rm -f {} \;

find %buildroot%_libdir/%name -type l -name "*.so*" |%__sed "s|%buildroot||">> %name.filelist
find %buildroot -type f -name "*.pc"  |%__sed "s|%buildroot||">> %name-devel.filelist
# find %buildroot -type f -name "*.la"  |%__sed "s|%buildroot||">> %name-devel.filelist
%__subst "s|<\(core/fusion/fusion_types.h\)>|<directfb-internal/\1>|" %buildroot%_includedir/directfb-internal/misc/conf.h

%files -f %name.filelist
%doc TODO fb.modes
%dir %_libdir/%name-%version
%_bindir/*
%_datadir/%{name}*
%_libdir/%name-%version/*
%_man1dir/*
%_man5dir/*

%files -n lib%name
%doc AUTHORS ChangeLog NEWS README
%_libdir/lib%{name}*.so*
%_libdir/libdirect*.so*
%_libdir/libdirect*.so*
%_libdir/libfusion*.so*
%_libdir/libfusion*.so*

%files devel -f %name-devel.filelist
%_includedir/*
%_libdir/libdirect.so
%_libdir/libfusion.so

%changelog

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

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