SPECS: GLee.spec - use PIC, separated -devel, BR: libstdc++-devel

qboosh qboosh at pld-linux.org
Sat Jul 16 14:28:31 CEST 2005


Author: qboosh                       Date: Sat Jul 16 12:28:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use PIC, separated -devel, BR: libstdc++-devel

---- Files affected:
SPECS:
   GLee.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/GLee.spec
diff -u SPECS/GLee.spec:1.2 SPECS/GLee.spec:1.3
--- SPECS/GLee.spec:1.2	Sat Jul 16 14:22:15 2005
+++ SPECS/GLee.spec	Sat Jul 16 14:28:26 2005
@@ -12,6 +12,8 @@
 BuildRequires:	OpenGL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRequires:	rpmbuild(macros) >= 1.167
 Requires:	OpenGL
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,10 +31,24 @@
 trudów ręcznego linkowania każdego wymaganego rozszerzenia i
 efektywnie czyni bibliotekę OpenGL aktualną.
 
+%package devel
+Summary:	Header file for GLee library
+Summary(pl):	Plik nagłówkowy biblioteki GLee
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	OpenGL-devel
+
+%description devel
+Header file for GLee library.
+
+%description devel -l pl
+Plik nagłówkowy biblioteki GLee.
+
 %prep
 %setup -q -n glee
 
 %build
+CXXFLAGS="%{rpmcxxflags} -fPIC"
 %configure
 %{__make}
 
@@ -56,8 +72,11 @@
 %files
 %defattr(644,root,root,755)
 %doc extensionList.txt readme.txt
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_includedir}/GL/*
+%attr(755,root,root) %{_libdir}/libGLee.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/GL/GLee.h
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/07/16 12:28:26  qboosh
+- use PIC, separated -devel, BR: libstdc++-devel
+
 Revision 1.2  2005/07/16 12:22:15  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/GLee.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list