rpms/libgle/devel import.log, NONE, 1.1 libgle-examples-makefile.patch, NONE, 1.1 libgle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

mef mef at fedoraproject.org
Wed Jan 20 09:46:13 UTC 2010


Author: mef

Update of /cvs/pkgs/rpms/libgle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4122/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log libgle-examples-makefile.patch libgle.spec 
Log Message:
Initial import



--- NEW FILE import.log ---
libgle-3_1_0-4:HEAD:libgle-3.1.0-4.src.rpm:1263980743

libgle-examples-makefile.patch:
 Makefile.examples |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

--- NEW FILE libgle-examples-makefile.patch ---
--- /home/fitzsim/sources/gle-3.1.0/examples/Makefile.examples	2001-07-20 14:32:11.000000000 -0700
+++ /home/fitzsim/sources/gle-3.1.0/examples/Makefile.examples	2009-12-03 09:18:06.000000000 -0800
@@ -21,18 +21,14 @@ 
 twistex_SOURCES = twistoid.c texture.c maintex.c
 
 
-INCLUDES =     -I/usr/X11R6/include   -I${top_srcdir}   -I${top_srcdir}/src 
+INCLUDES =
 
 
-LDADD = -lgle -lglut -lGLU -lGL -lXmu  -L/usr/X11R6/lib -lXi -lXext -lXmu -lXt -lX11  -L../src/.libs
+LDADD = -lgle -lglut -lGLU -lGL -lXmu -lXi -lXext -lXmu -lXt -lX11
 
 CPPFLAGS = 
 LDFLAGS = 
 LIBS =  -lm
-X_CFLAGS =  -I/usr/X11R6/include
-X_LIBS = -lgle -lglut -lGLU -lGL -lXmu  -L/usr/X11R6/lib -lXi -lXext -lXmu -lXt -lX11
-X_EXTRA_LIBS = 
-X_PRE_LIBS =  -lSM -lICE
 beam_OBJECTS =  beam.o mainsimple.o
 beam_LDADD = $(LDADD)
 beam_DEPENDENCIES = 
@@ -205,14 +201,7 @@ 
 	$(LINK) $(twoid_LDFLAGS) $(twoid_OBJECTS) $(twoid_LDADD) $(LIBS)
 
 %.o: %.c
-	@echo '$(COMPILE) -c $<'; \
-	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-	@-cp .deps/$(*F).pp .deps/$(*F).P; \
-	tr ' ' '\012' < .deps/$(*F).pp \
-	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-	    >> .deps/$(*F).P; \
-	rm .deps/$(*F).pp
-
+	gcc -c -o $@ $<
 
 clean:
 	rm -f *.o $(PROGRAMS)


--- NEW FILE libgle.spec ---
Summary: A Tubing and Extrusion Library for OpenGL
Name: libgle
Version: 3.1.0
Release: 4
License: GPLv2 or (Artistic clarified and MIT)
Group: System Environment/Libraries
URL: http://www.linas.org/gle/
Source: http://www.linas.org/gle/pub/gle-%{version}.tar.gz
# Make the examples makefile multilib-compliant
Patch0: libgle-examples-makefile.patch

BuildRequires: mesa-libGL-devel 
BuildRequires: freeglut-devel
BuildRequires: libXmu-devel
BuildRequires: libXi-devel 

Requires(post):   /sbin/ldconfig
Requires(postun): /sbin/ldconfig

BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

%description
The GLE Tubing and Extrusion Library consists of a number of "C"
language subroutines for drawing tubing and extrusions. It is a very
fast implementation of these shapes, outperforming all other
implementations, most by orders of magnitude. It uses the
OpenGL programming API to perform the actual drawing of the tubing
and extrusions.

%package devel
Requires: glut-devel
Requires: libGL-devel
Requires: libGLU-devel
Requires: libX11-devel
Requires: libXext-devel
Requires: libXi-devel
Requires: libXmu-devel
Requires: libXmu-devel
Requires: libXt-devel
Summary: GLE includes and development libraries
Group: Development/Libraries

%description devel
Includes, man pages, and development libraries for the GLE Tubing and
Extrusion Library.

%prep
%setup -q -n gle-%{version}
%patch0 -p5

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Clean up a bit
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
mv $RPM_BUILD_ROOT%{_docdir}/gle docs

%clean
rm -rf $RPM_BUILD_ROOT

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

%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%doc docs/AUTHORS docs/COPYING docs/README

%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/*
%{_mandir}/man?/*
%doc docs/examples docs/html


%changelog
* Mon Jan 18 2010 Mary Ellen Foster <mefoster at gmail.com> - 3.1.0-4
- Add the full set of requirements for the -devel package

* Mon Nov 30 2009 Mary Ellen Foster <mefoster at gmail.com> - 3.1.0-3
- Incorporate some more suggestions from Thomas Fitzsimmons

* Wed Sep 30 2009 Mary Ellen Foster <mefoster at gmail.com> - 3.1.0-2
- Incorporating some clean-ups from Ralf Corsépius's spec file

* Tue Sep 29 2009 Mary Ellen Foster <mefoster at gmail.com> - 3.1.0-1
- Initial version, based on upstream .spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libgle/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	19 Jan 2010 18:07:13 -0000	1.1
+++ .cvsignore	20 Jan 2010 09:46:13 -0000	1.2
@@ -0,0 +1 @@
+gle-3.1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libgle/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	19 Jan 2010 18:07:14 -0000	1.1
+++ sources	20 Jan 2010 09:46:13 -0000	1.2
@@ -0,0 +1 @@
+da5b45c6906343d4a3672c3de35513ad  gle-3.1.0.tar.gz



More information about the scm-commits mailing list