rpms/gambit-c/devel gambit-c.spec,1.5,1.6

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Mon Jul 14 21:08:31 UTC 2008


Author: salimma

Update of /cvs/pkgs/rpms/gambit-c/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17027

Modified Files:
	gambit-c.spec 
Log Message:
* Mon Jul 14 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 4.2.8-6
- Put include files and libraries in standard paths



Index: gambit-c.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gambit-c/devel/gambit-c.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gambit-c.spec	19 Jun 2008 22:48:50 -0000	1.5
+++ gambit-c.spec	14 Jul 2008 21:07:26 -0000	1.6
@@ -12,7 +12,7 @@
 
 Name:           gambit-c
 Version:        4.2.8
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Gambit-C Scheme programming system
 
 Group:          Development/Languages
@@ -106,7 +106,8 @@
 %build
 %configure --enable-single-host \
            --enable-gcc-opts \
-           --prefix=%{_libdir}/%{name}
+           --prefix=%{_libdir}/%{name} \
+	   --includedir=%{_include}
 
 make %{?_smp_mflags}
 
@@ -156,6 +157,9 @@
   sed -i 's|/usr/local/Gambit-C/bin/gsi|/usr/bin/gsi|g'
 chmod +x otp/gen_event.scm
 
+# Link static libs
+(cd $RPM_BUILD_ROOT%{_libdir} && ln -s %{name}/current/lib/*.a .)
+
 # Move docs
 mkdir ../termite-doc ../termite-more-docs
 mv CHANGELOG LICENSE README VERSION ../termite-doc
@@ -185,6 +189,7 @@
 %doc LGPL.txt LICENSE-2.0.txt README
 %exclude %{_bindir}/tsi
 %{_bindir}/*
+%{_includedir}/*.h
 %exclude %{_libdir}/%{name}/*/lib/termite
 %{_libdir}/%{name}
 
@@ -210,6 +215,9 @@
 
 
 %changelog
+* Mon Jul 14 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 4.2.8-6
+- Put include files and libraries in standard paths
+
 * Thu Jun 19 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 4.2.8-5
 - Package Termite as a module instead of bundling a custom Gambit-C with it
 




More information about the scm-commits mailing list