Репозитории 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 |
Другие репозитории
Upstream: | 1.1.1 |
Группа :: Система/Библиотеки
Пакет: directfb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define realname DirectFB
Name: directfb
Version: 0.9.25.1
Release: alt1
Summary: %realname - drivers and binaries
License: GPL
Group: System/Libraries
Url: http://www.directfb.org
Packager: Alexey Gladkov <legion at altlinux.ru>
Source: %realname-%version.tar.gz
Patch0: %realname-am.patch
Patch1: %realname-pmake.patch
Patch2: %realname-fix.patch
Patch3: %realname-sh.patch
Patch4: %realname-gcc4.patch
Patch5: %realname-alt-libadd-fix.patch
# Automatically added by buildreq on Tue Sep 05 2006
BuildRequires: gcc-c++ glibc-devel-static libfreetype-devel libjpeg-devel libpng-devel libSDL-devel libsysfs-devel man
%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.
%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.
%package -n lib%name-devel
Summary: Includes and other files for devel %realname applications
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
%description -n lib%name-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.
%prep
%setup -q -n %realname-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%__autoreconf
%configure \
--enable-shared \
%ifarch %ix86
--with-gfxdrivers=all
%else
--with-gfxdrivers=none
%endif
%make_build
%install
%make install DESTDIR=%buildroot
find %buildroot -name \*.la -delete
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc TODO fb.modes
%_bindir/dfb*
%_datadir/%name-*
%_libdir/%name-*
%_man1dir/dfb*
%_man5dir/*
%files -n lib%name
%doc AUTHORS NEWS README
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/*
%_bindir/%{name}*
%_libdir/lib*.so
%_pkgconfigdir/*.pc
%_man1dir/%{name}*
%changelog
…
Полный changelog можно просмотреть здесь
Name: directfb
Version: 0.9.25.1
Release: alt1
Summary: %realname - drivers and binaries
License: GPL
Group: System/Libraries
Url: http://www.directfb.org
Packager: Alexey Gladkov <legion at altlinux.ru>
Source: %realname-%version.tar.gz
Patch0: %realname-am.patch
Patch1: %realname-pmake.patch
Patch2: %realname-fix.patch
Patch3: %realname-sh.patch
Patch4: %realname-gcc4.patch
Patch5: %realname-alt-libadd-fix.patch
# Automatically added by buildreq on Tue Sep 05 2006
BuildRequires: gcc-c++ glibc-devel-static libfreetype-devel libjpeg-devel libpng-devel libSDL-devel libsysfs-devel man
%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.
%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.
%package -n lib%name-devel
Summary: Includes and other files for devel %realname applications
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
%description -n lib%name-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.
%prep
%setup -q -n %realname-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%__autoreconf
%configure \
--enable-shared \
%ifarch %ix86
--with-gfxdrivers=all
%else
--with-gfxdrivers=none
%endif
%make_build
%install
%make install DESTDIR=%buildroot
find %buildroot -name \*.la -delete
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc TODO fb.modes
%_bindir/dfb*
%_datadir/%name-*
%_libdir/%name-*
%_man1dir/dfb*
%_man5dir/*
%files -n lib%name
%doc AUTHORS NEWS README
%_libdir/lib*.so.*
%files -n lib%name-devel
%_includedir/*
%_bindir/%{name}*
%_libdir/lib*.so
%_pkgconfigdir/*.pc
%_man1dir/%{name}*
%changelog
…
Полный changelog можно просмотреть здесь