[Fwd: gtksourceview patch (NEW) for make RPMS]



The file

:)
--- Begin Message ---
Hi,

There, is a patch that include a .spec file and some modifs,
to make RPMS of gtksourceview.

Use this file instead of the precedent i had posted.


	Jean.




_______________________________________________
gnome-devtools mailing list
gnome-devtools gnome org
http://mail.gnome.org/mailman/listinfo/gnome-devtools

--- End Message ---
diff -uNr gtksourceview/ChangeLog gtksourceview.new/ChangeLog
--- gtksourceview/ChangeLog	2002-09-22 12:52:25.000000000 +0200
+++ gtksourceview.new/ChangeLog	2002-10-28 16:32:07.000000000 +0100
@@ -1,3 +1,11 @@
+2002-10-28  Jean Schurger <jschurger schurger org>
+
+	* configure.in: add a SNAPSHOT variable to store the date of snapshots builds
+	AC_SUBST(GNOME_REQUIRED) to be visible in the gtksourceview.spec.in file
+	* gtksourceview.spec.in: new spec.in file, to make RPMS
+
+	Add the stuff to let make RPM packages 
+
 2002-09-22  Jeroen Zwartepoorte  <jeroen xs4all nl>
 
 	* src/gtksourcebuffer.h:
diff -uNr gtksourceview/configure.in gtksourceview.new/configure.in
--- gtksourceview/configure.in	2002-07-13 15:05:40.000000000 +0200
+++ gtksourceview.new/configure.in	2002-10-28 16:00:56.000000000 +0100
@@ -16,6 +16,7 @@
 AC_SUBST(GTK_REQUIRED_VERSION)
 
 GNOME_REQUIRED=1.107.0
+AC_SUBST(GNOME_REQUIRED)
 
 dnl ==========================================================================
 
@@ -34,6 +35,9 @@
 AC_SUBST(PACKAGE_MICRO_VERSION)
 AC_SUBST(PACKAGE_VERSION)
 
+SNAPSHOT=0_`date +%Y%m%d_%H%M%S`_cvs
+AC_SUBST(SNAPSHOT)
+
 # libtool versioning
 LT_RELEASE=$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$PACKAGE_MINOR_VERSION
 LT_CURRENT=`expr $PACKAGE_MICRO_VERSION - $PACKAGE_INTERFACE_AGE`
@@ -66,4 +70,5 @@
 gtksourceview.pc
 Makefile
 src/Makefile
+gtksourceview.spec
 ])
diff -uNr gtksourceview/CVS/Entries gtksourceview.new/CVS/Entries
--- gtksourceview/CVS/Entries	2002-10-28 16:32:34.000000000 +0100
+++ gtksourceview.new/CVS/Entries	2002-10-28 16:28:34.000000000 +0100
@@ -1,7 +1,6 @@
 /.cvsignore/1.1/Mon Apr  1 15:05:32 2002//
 /AUTHORS/1.1.1.1/Thu Dec  6 02:50:03 2001//
 /COPYING/1.1.1.1/Thu Dec  6 02:50:07 2001//
-/ChangeLog/1.32/Sun Sep 22 10:52:25 2002//
 /INSTALL/1.1.1.1/Thu Dec  6 02:50:08 2001//
 /Makefile.am/1.1.1.1/Thu Dec  6 02:50:08 2001//
 /NEWS/1.1.1.1/Thu Dec  6 02:50:08 2001//
@@ -14,4 +13,5 @@
 /gtksourceview.pc.in/1.1.1.1/Thu Dec  6 02:50:34 2001//
 /ltmain.sh/1.1.1.1/Thu Dec  6 02:50:34 2001//
 /stamp-h.in/1.1.1.1/Thu Dec  6 02:50:34 2001//
-D
+D/src////
+/ChangeLog/1.32/Mon Oct 28 15:28:01 2002//
diff -uNr gtksourceview/CVS/Entries.Log gtksourceview.new/CVS/Entries.Log
--- gtksourceview/CVS/Entries.Log	2002-10-28 16:32:34.000000000 +0100
+++ gtksourceview.new/CVS/Entries.Log	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-A D/src////
diff -uNr gtksourceview/gtksourceview.spec.in gtksourceview.new/gtksourceview.spec.in
--- gtksourceview/gtksourceview.spec.in	1970-01-01 01:00:00.000000000 +0100
+++ gtksourceview.new/gtksourceview.spec.in	2002-10-28 16:01:24.000000000 +0100
@@ -0,0 +1,65 @@
+Name:		gtksourceview
+Summary: Source editor widget for gnome 2
+Version:	@PACKAGE_VERSION@
+Release:	@SNAPSHOT@
+License:	GPL
+Group:		Development/Libraries
+Source:		%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+Requires:	glib2 >= @GLIB_REQUIRED_VERSION@
+Requires:	gtk2 >= @GTK_REQUIRED_VERSION@
+Requires:	libgnomeui >= @GNOME_REQUIRED@
+
+%description
+Source editor widget for gnome 2
+
+%package devel
+Summary: Libraries, includes, etc to develop with the gtksourceview widget
+Group: X11/libraries
+Requires: gtksourceview
+
+%description devel
+Libraries, includes, etc to develop with the gtksourceview widget
+
+
+
+%prep
+%setup -q
+
+%build
+
+%configure
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+%makeinstall
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+#%files -f %name.lang
+%defattr(-, root, root)
+%doc AUTHORS COPYING ChangeLog INSTALL README NEWS
+%{_libdir}/libgtksourceview.so.0.0.0
+%{_libdir}/libgtksourceview.so.0
+%{_libdir}/libgtksourceview.so
+%{_libdir}/pkgconfig/gtksourceview.pc
+
+%files devel
+%{_includedir}/gtksourceview/gtksourcebuffer.h
+%{_includedir}/gtksourceview/gtksourcetag.h
+%{_includedir}/gtksourceview/gtksourceview.h
+%{_libdir}/libgtksourceview.la
+
+
+%changelog
+* Thu Oct 21 2002 Jean Schurger <jschurger schurger org>
+- new spec file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]