rpms/sage/devel sage-0.1.2-noopt.patch, NONE, 1.1 sage.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Wed Jul 26 19:29:34 UTC 2006
Author: wart
Update of /cvs/extras/rpms/sage/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1347/devel
Modified Files:
.cvsignore sources
Added Files:
sage-0.1.2-noopt.patch sage.spec
Log Message:
auto-import sage-0.1.2-3 on branch devel from sage-0.1.2-3.src.rpm
sage-0.1.2-noopt.patch:
--- NEW FILE sage-0.1.2-noopt.patch ---
--- configure.ac.orig 2006-07-15 21:27:48.000000000 -0700
+++ configure.ac 2006-07-15 21:28:34.000000000 -0700
@@ -80,10 +80,10 @@
if test "$enableval" = "yes"; then
CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG"
else
- CFLAGS="$CFLAGS -O3 -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
fi
],[
- CFLAGS="$CFLAGS -O3 -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
]
)
--- configure.orig 2006-07-15 21:27:52.000000000 -0700
+++ configure 2006-07-15 21:28:26.000000000 -0700
@@ -22449,12 +22449,12 @@
if test "$enableval" = "yes"; then
CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG"
else
- CFLAGS="$CFLAGS -O3 -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
fi
else
- CFLAGS="$CFLAGS -O3 -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
fi;
--- NEW FILE sage.spec ---
Name: sage
Version: 0.1.2
Release: 3%{?dist}
Summary: OpenGL extensions library using SDL
Group: Development/Libraries
License: LGPL
URL: http://worldforge.org/dev/eng/libraries/sage
Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.gz
Patch0: sage-0.1.2-noopt.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel
%description
Sage is an OpenGL extensions library using SDL. It aims to simplify the use of
checking for and loading OpenGL extensions in an application.
%package devel
Summary: Development files for sage
Group: Development/Libraries
Requires: pkgconfig %{name} = %{version}-%{release}
%description devel
Libraries and header files for developing applications that use sage.
%prep
%setup -q
touch -r configure.ac configure.ac.stamp
%patch0 -p0
touch -r configure.ac.stamp configure.ac
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
%check
# There are no tests yet, but upstream tends to be good about adding
# them. This is a placeholder for when upstread finally adds the tests.
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir}/lib%{name}.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*.3.gz
%changelog
* Sat Jul 15 2006 Wart <wart at kobold.org> 0.1.2-3
- Re-add --disable-static and remove the unnecessary rm of the .a file.
- Added patch to remove -O3 compiler flag so as not to conflict
with $RPM_OPT_FLAGS
* Fri Jul 14 2006 Wart <wart at kobold.org> 0.1.2-2
- Added Requires: pkgconfig to -devel subpackage
- Remove --disable-static since libtool seems to ignore it.
- Change license to LGPL
- Use _mandir for man page locations
- Added empty %%check section
* Thu Jun 15 2006 Wart <wart at kobold.org> 0.1.2-1
- Initial spec file for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sage/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Jul 2006 19:29:03 -0000 1.1
+++ .cvsignore 26 Jul 2006 19:29:34 -0000 1.2
@@ -0,0 +1 @@
+sage-0.1.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sage/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Jul 2006 19:29:03 -0000 1.1
+++ sources 26 Jul 2006 19:29:34 -0000 1.2
@@ -0,0 +1 @@
+4eea72b30a88dbe5d512009913462fc3 sage-0.1.2.tar.gz
More information about the fedora-extras-commits
mailing list