Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5be30a25dc | ||
|
|
087ddcff61 | ||
|
|
67733e8118 | ||
|
|
1c4a1cd285 | ||
|
|
e86d057675 | ||
|
|
27f855ddb3 | ||
|
|
a805759f79 | ||
|
|
41fcef960a | ||
|
|
4b4a49aca0 | ||
|
|
a18d1f7fd4 | ||
|
|
4e03981715 | ||
|
|
589902ea36 | ||
|
|
c3277405c5 | ||
|
|
0e1d452a63 | ||
|
|
aa319b7165 | ||
|
|
0d94b9fa24 | ||
|
|
b38ed86047 | ||
|
|
642b368bf3 | ||
|
|
2eb210d2a5 |
5 changed files with 1 additions and 127 deletions
|
|
@ -1 +0,0 @@
|
|||
alleggl-0.4.0_rc4.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: alleggl
|
||||
# $Id$
|
||||
NAME := alleggl
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
104
alleggl.spec
104
alleggl.spec
|
|
@ -1,104 +0,0 @@
|
|||
%define pre_version rc4
|
||||
|
||||
Name: alleggl
|
||||
Version: 0.4.0
|
||||
Release: 0.5.%{pre_version}%{?dist}
|
||||
Summary: OpenGL support library for Allegro
|
||||
Group: System Environment/Libraries
|
||||
License: zlib License
|
||||
URL: http://allegrogl.sourceforge.net/
|
||||
Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}_%{pre_version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: allegro-devel libGLU-devel libX11-devel libXext-devel
|
||||
BuildRequires: libXpm-devel libXxf86vm-devel
|
||||
|
||||
%description
|
||||
AllegroGL is an Allegro add-on that allows you to use OpenGL alongside Allegro.
|
||||
You use OpenGL for your rendering to the screen, and Allegro for miscellaneous
|
||||
tasks like gathering input, doing timers, getting cross-platform portability,
|
||||
loading data, and drawing your textures. So this library fills the same hole
|
||||
that things like glut do.
|
||||
|
||||
AllegroGL also automatically exposes most, if not all, OpenGL extensions
|
||||
available to user programs. This means you no longer have to manually load
|
||||
them; extension management is already done for you.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: allegro-devel libGL-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags} 'LIB_BUILDER=gcc -shared -Wl,-soname,libagl.so.0 -o' \
|
||||
CFLAGS="$RPM_OPT_FLAGS -ffast-math"
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# clean up messy alleggl install
|
||||
mv $RPM_BUILD_ROOT%{_libdir}/libagl.so $RPM_BUILD_ROOT%{_libdir}/libagl.so.0
|
||||
chmod +x $RPM_BUILD_ROOT%{_libdir}/libagl.so.0
|
||||
ln -s libagl.so.0 $RPM_BUILD_ROOT%{_libdir}/libagl.so
|
||||
# alleggl installs an autoheader generated header file which could very
|
||||
# well conflict with other autoheader generated header files, so we override
|
||||
# this with our own version which contains only the bare minimum:
|
||||
echo '#define ALLEGROGL_HAVE_DYNAMIC_LINK 1' \
|
||||
> $RPM_BUILD_ROOT%{_includedir}/alleggl_config.h
|
||||
echo '#define ALLEGROGL_HAVE_XF86VIDMODE 1' \
|
||||
>> $RPM_BUILD_ROOT%{_includedir}/alleggl_config.h
|
||||
# we don't want these files to end up under %%doc and there is no way
|
||||
# to %%exclude files from %%doc, so we remove them
|
||||
rm docs/html/index.hh?
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc bugs.txt todo.txt
|
||||
%{_libdir}/libagl.so.0
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc extensions.txt faq.txt howto.txt quickstart.txt docs/html
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libagl.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-0.5.rc4
|
||||
- FE6 Rebuild
|
||||
|
||||
* Thu Aug 10 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-0.4.rc4
|
||||
- Cleanup %%doc for both base and -devel a bit
|
||||
|
||||
* Fri Aug 4 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-0.3.rc4
|
||||
- Add missing BRs: libXext-devel and libXpm-devel
|
||||
|
||||
* Thu Aug 3 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-0.2.rc4
|
||||
- Replace installed autoheader generated header file with our own version
|
||||
which contains only the nescesarry alleggl specific defines, thus avoiding
|
||||
possible conflicts with other autoheader generated headers.
|
||||
|
||||
* Thu Aug 3 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-0.1.rc4
|
||||
- Initial Fedora Extras package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
alleggl is now part of / bundled with allegro itself
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
0cbe43f8fa2488a7e7d6e9807e5f0100 alleggl-0.4.0_rc4.tar.bz2
|
||||
Reference in a new issue