General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

allegro spec file : Dries RPM Repository

Back to the allegro rpms

Current spec in pydar2:


# $Id: allegro.spec 5226 2007-03-11 14:09:35Z dag $
# Authority: dries
# Upstream: Shawn Hargreaves 

%{?dist: %{expand: %%define %dist 1}}

%{?fc4:%define _without_modxorg 1}
%{?el4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?rh9:%define _without_modxorg 1}
%{?rh7:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}

%{?el2:%define _without_arts 1}

Summary: Game library
Name: allegro
Version: 4.2.1
Release: 1
License: Distributable
Group: Development/Libraries
URL: http://alleg.sourceforge.net/

Source: http://dl.sf.net/alleg/allegro-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: allegro-tools

BuildRequires: gcc-c++, esound-devel, pkgconfig, texinfo
%{?_without_modxorg:BuildRequires: XFree86-devel}
%{!?_without_modxorg:BuildRequires: libXext-devel}
%{!?_without_arts:BuildRequires: arts-devel}

%description
Allegro is a multi-platform game library for C/C++ developers that provides
many functions for graphics, sounds, player input (keyboard, mouse, and
joystick), and timers. It also provides fixed and floating point mathematical
functions, 3D functions, file management functions, compressed datafile, and
a GUI.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}
### texi2dvi missing on EL5
#%{__make} %{?_smp_mflags} docs-dvi

%install
%{__rm} -rf %{buildroot}
%makeinstall install-gzipped-man install-gzipped-info
%{__rm} -f %{buildroot}%{_datadir}/info/dir

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS THANKS
%doc %{_mandir}/man3/*
%{_datadir}/info/allegro*
%{_bindir}/allegro-config
%{_bindir}/colormap
%{_bindir}/dat
%{_bindir}/dat2c
%{_bindir}/dat2s
%{_bindir}/exedat
%{_bindir}/grabber
%{_bindir}/pack
%{_bindir}/pat2dat
%{_bindir}/rgbmap
%{_bindir}/textconv
%{_libdir}/liballeg*.so.*
%{_libdir}/allegro/

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/allegro.h
%{_includedir}/linalleg.h
%{_includedir}/xalleg.h
%{_includedir}/allegro/
%{_libdir}/liballeg_unsharable.a
%{_libdir}/liballeg*.so
%{_datadir}/aclocal/allegro.m4

%changelog
* Sun Dec 03 2006 Dries Verachtert  - 4.2.1-1
- Updated to release 4.2.1.

* Sun Dec 04 2005 Dries Verachtert  - 4.2.0-1
- Initial package.