gtksourceview patch for make RPMS
- From: Jean Schurger <gnome schurger org>
- To: gnome-devtools list <gnome-devtools gnome org>
- Subject: gtksourceview patch for make RPMS
- Date: 28 Oct 2002 15:14:53 +0100
I, there is a patch that include a .spec file and some modifs,
to make RPMS of gtksourceview.
diff -uNr gtksourceview/ChangeLog gtksourceview.new/ChangeLog
--- gtksourceview/ChangeLog 2002-09-22 12:52:25.000000000 +0200
+++ gtksourceview.new/ChangeLog 2002-10-28 14:32:16.000000000 +0100
@@ -1,3 +1,6 @@
+2002-10-28 Jean Schurger <jschurger schurger org>
+ New spec file
+
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 14:43:54.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)
+PACKAGE_RELEASE=20021028_cvs
+AC_SUBST(PACKAGE_RELEASE)
+
# 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/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 14:34:24.000000000 +0100
@@ -0,0 +1,65 @@
+Name: gtksourceview
+Summary: Source editor widget for gnome 2
+Version: @PACKAGE_VERSION@
+Release: @PACKAGE_RELEASE@
+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]