Some patchs to make RPM packages for gtksourceview, glimmer and gdl



Hi, 

	I send some patchs to let make RPM packages f gtksourceview, glimmer
and gdl.


Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gdl/ChangeLog,v
retrieving revision 1.82
diff -u -r1.82 ChangeLog
--- ChangeLog	26 Sep 2002 22:59:41 -0000	1.82
+++ ChangeLog	30 Oct 2002 08:37:18 -0000
@@ -1,3 +1,8 @@
+2002-10-29  Jean Schurger <jschurger schurger org>
+
+	* configure.in: updated for gdl.spec.in
+	* gdl.spec.in: updated for gnome 2
+
 2002-09-26  Gustavo Giráldez  <gustavo giraldez gmx net>
 
 	* README, NEWS: updated for new release
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gdl/configure.in,v
retrieving revision 1.26
diff -u -r1.26 configure.in
--- configure.in	21 Sep 2002 20:20:34 -0000	1.26
+++ configure.in	30 Oct 2002 08:37:18 -0000
@@ -25,6 +25,9 @@
 AC_SUBST(GDL_MICRO_VERSION)
 AC_SUBST(GDL_VERSION)
 
+SNAPSHOT=0_`date +%Y%m%d_%H%M%S`_cvs
+AC_SUBST(SNAPSHOT)
+
 GTK_REQUIRED=1.3.9
 GNOME_REQUIRED=1.96.0
 BONOBOUI_REQUIRED=1.108.1
@@ -34,6 +37,7 @@
 
 AC_SUBST(GTK_REQUIRED)
 AC_SUBST(GNOME_REQUIRED)
+AC_SUBST(BONOBOUI_REQUIRED)
 AC_SUBST(XML_REQUIRED)
 AC_SUBST(LIBGLADE_REQUIRED)
 AC_SUBST(LIBRSVG_REQUIRED)
Index: gdl.spec.in
===================================================================
RCS file: /cvs/gnome/gdl/gdl.spec.in,v
retrieving revision 1.1
diff -u -r1.1 gdl.spec.in
--- gdl.spec.in	10 Aug 2001 06:20:47 -0000	1.1
+++ gdl.spec.in	30 Oct 2002 08:37:18 -0000
@@ -1,21 +1,18 @@
 Name:		gdl
 Summary:	Components and library for GNOME development tools.
-Version:	@VERSION@
+Version:	@GDL_VERSION@
 Release:	1
 License:	GPL
 Group:		Development/Libraries
 Source:		%{name}-%{version}.tar.gz
 BuildRoot:	/var/tmp/%{name}-%{version}-root
 URL:		http://www.gnome.org
-Requires:	oaf >= @OAF_REQUIRED@
-Requires:	gnome-vfs >= @GNOME_VFS_REQUIRED@
-Requires:	gnome-libs >= @GNOME_LIBS_REQUIRED@
-Requires:	bonobo >= @BONOBO_REQUIRED@
-BuildRequires:  gtk+-devel >= @GTK_REQUIRED@
-BuildRequires:  oaf-devel >= @OAF_REQUIRED@
-BuildRequires:  gnome-vfs-devel >= @GNOME_VFS_REQUIRED@
-BuildRequires:  gnome-libs-devel >= @GNOME_LIBS_REQUIRED@
-BuildRequires:  bonobo-devel >= @BONOBO_REQUIRED@
+Requires: 	gtk2 >= @GTK_REQUIRED@
+Requires: 	libgnomeui >= @GNOME_REQUIRED@
+Requires: 	libbonoboui >= @BONOBOUI_REQUIRED@
+Requires: 	libxml2 >= @XML_REQUIRED@
+Requires: 	libglade2 >= @LIBGLADE_REQUIRED@
+Requires: 	librsvg2 >= @LIBRSVG_REQUIRED@
 
 %description
 This package contains components and libraries that are intended to be
@@ -24,8 +21,10 @@
 
 The current pieces of GDL include:
 
- - A code-editing bonboo component based on the Scintilla
-   widget (scintilla-control).
+# - A code-editing bonbono component based on the Scintilla
+#   widget (scintilla-control).
+#
+Now the editor widget is the glimmer component that use gtksourceview
 
  - A utility library that also contains the stubs and skels for
    the above components (gdl).
@@ -77,22 +76,44 @@
 %files
 %doc AUTHORS COPYING ChangeLog NEWS README
 %defattr (-, root, root)
-%{_bindir}/*
-%{_libdir}/lib*.so.*
-%{_datadir}/aclocal/gdl.m4
-%{_datadir}/gnome/ui/*.xml
-%{_datadir}/oaf/*.oaf
-
+%{_prefix}/bin/gnome-symbol-browser
+%{_prefix}/lib/bonobo/servers/GNOME_Development_SymbolBrowser.server
+%{_prefix}/lib/libgdl-1.so.0.0.0
+%{_prefix}/lib/libgdl-1.so.0
+%{_prefix}/lib/libgdl-1.so
+%{_prefix}/lib/pkgconfig/gdl-1.0.pc
+%{_prefix}/share/gdl/glade/layout.glade
+%{_prefix}/share/gnome-2.0/ui/gnome-symbol-browser.xml
+%{_prefix}/share/locale/*/LC_MESSAGES/*
 
 %files devel
 %defattr (-, root, root)
-%{_includedir}/gdl
-%{_libdir}/*a
-%{_libdir}/*so
-%{_libdir}/*sh
-%{_datadir}/idl/*.idl
-
+%{_prefix}/include/libgdl-1.0/gdl/GDL.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-item-grip.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-item.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-layout.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-master.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-notebook.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-object.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-paned.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-placeholder.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock-tablabel.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-dock.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-file-selector-util.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-icons.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-recent.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl-tools.h
+%{_prefix}/include/libgdl-1.0/gdl/gdl.h
+%{_prefix}/include/libgdl-1.0/gdl/libgdltypebuiltins.h
+%{_prefix}/lib/libgdl-1.a
+%{_prefix}/lib/libgdl-1.la
+%{_prefix}/share/idl/libgdl-1.0/GDL.idl
+%{_prefix}/share/idl/libgdl-1.0/editor-buffer.idl
+%{_prefix}/share/idl/libgdl-1.0/editor-gutter.idl
+%{_prefix}/share/idl/libgdl-1.0/symbol-browser.idl
 
 %changelog
+* Tue Oct 24 2002 Jean Schurger <jschurger schurger org
+- Update for gnome 2 version
 * Wed Aug 8 2001 Jens Finke <jens gnome org>
-- created spec file
\ No newline at end of file
+- created spec file
? glimmer.spec.in
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glimmer/ChangeLog,v
retrieving revision 1.48
diff -u -r1.48 ChangeLog
--- ChangeLog	26 Oct 2002 11:12:55 -0000	1.48
+++ ChangeLog	30 Oct 2002 08:41:58 -0000
@@ -1,3 +1,11 @@
+2002-10-29  Jean Schurger <jschurger schurger org>
+
+	* configure.in: some AC_SUBST for glimmer.spec.in
+	* src/xml/Makefile.am: change  glimmer2-ui.xml to glimmer-ui.xml
+	* glimmer.spec.in: new spec.in file, to make RPMS
+
+	Add the stuff to let make RPM packages
+
 2002-10-26  Jeroen Zwartepoorte  <jeroen xs4all nl>
 
 	* AUTHORS: Updated.
Index: configure.in
===================================================================
RCS file: /cvs/gnome/glimmer/configure.in,v
retrieving revision 1.20
diff -u -r1.20 configure.in
--- configure.in	26 Oct 2002 10:57:09 -0000	1.20
+++ configure.in	30 Oct 2002 08:41:58 -0000
@@ -1,21 +1,20 @@
+
+AC_INIT(Makefile.am)
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(glimmer-too, $VERSION)
+
 GLIMMER_MAJOR_VERSION=0
 GLIMMER_MINOR_VERSION=0
 GLIMMER_MICRO_VERSION=3
 GLIMMER_VERSION=$GLIMMER_MAJOR_VERSION.$GLIMMER_MINOR_VERSION.$GLIMMER_MICRO_VERSION
 VERSION=$GLIMMER_VERSION
 
-AC_INIT(Makefile.am)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(glimmer-too, $VERSION)
-
 AC_SUBST(GLIMMER_MAJOR_VERSION)
 AC_SUBST(GLIMMER_MINOR_VERSION)
 AC_SUBST(GLIMMER_MICRO_VERSION)
 AC_SUBST(GLIMMER_VERSION)
 AC_SUBST(VERSION)
 
-AC_PROG_INTLTOOL
-
 GLIB_REQUIRED=1.3.9
 GTK_REQUIRED=1.3.9
 XML_REQUIRED=2.4.11
@@ -28,6 +27,21 @@
 PRINT_REQUIRED=1.107.0
 LIBGLADE_REQUIRED=1.99.7
 
+AC_SUBST(GLIB_REQUIRED)
+AC_SUBST(GTK_REQUIRED)
+AC_SUBST(XML_REQUIRED)
+AC_SUBST(SRCVIEW_REQUIRED)
+AC_SUBST(ACTIVATION_REQUIRED)
+AC_SUBST(VFS_REQUIRED)
+AC_SUBST(CANVAS_REQUIRED)
+AC_SUBST(BONOBO_REQUIRED)
+AC_SUBST(GNOME_REQUIRED)
+AC_SUBST(PRINT_REQUIRED)
+AC_SUBST(LIBGLADE_REQUIRED)
+
+AC_PROG_INTLTOOL
+
+
 AM_MAINTAINER_MODE
 
 GNOME_COMMON_INIT
@@ -88,6 +102,7 @@
 
 AC_OUTPUT([
 Makefile
+glimmer.spec
 idl/Makefile
 src/Makefile
 src/xml/Makefile
Index: src/xml/Makefile.am
===================================================================
RCS file: /cvs/gnome/glimmer/src/xml/Makefile.am,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Makefile.am
--- src/xml/Makefile.am	6 Dec 2001 03:02:35 -0000	1.1.1.2
+++ src/xml/Makefile.am	30 Oct 2002 08:41:58 -0000
@@ -1,4 +1,4 @@
-EXTRA_DIST = glimmer2-ui.xml
+EXTRA_DIST = glimmer-ui.xml
 
 uidir=$(datadir)/gnome-2.0/ui
 ui_DATA=glimmer-ui.xml
Name:		glimmer-too
Summary: Source editor component for gnome 2
Version:	@VERSION@
Release:  	1
License:	GPL
Group:		Development/Libraries
Source:		%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Requires: glib2 >= @GLIB_REQUIRED@
Requires: gtk2 >= @GTK_REQUIRED@
Requires: libxml2 >= @XML_REQUIRED@
Requires: gtksourceview >= @SRCVIEW_REQUIRED@
Requires: bonobo-activation >= @ACTIVATION_REQUIRED@
Requires: gnome-vfs2 >= @VFS_REQUIRED@
Requires: libgnomecanvas >= @CANVAS_REQUIRED@
Requires: libbonobo >= @BONOBO_REQUIRED@
Requires: libbonoboui >= @BONOBO_REQUIRED@
Requires: libgnome >= @GNOME_REQUIRED@
Requires: libgnomeui >= @GNOME_REQUIRED@
Requires: libgnomeprint >=  @PRINT_REQUIRED@
Requires: libgnomeprintui >=  @PRINT_REQUIRED@
Requires: libglade2 >= @LIBGLADE_REQUIRED@

%description
Source editor component for gnome 2

%prep
%setup -q

%build

%configure

make %{?_smp_mflags}

%install
rm -rf %{buildroot}

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

#%find_lang %name

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/glimmer-file.schemas > /dev/null

%postun -p /sbin/ldconfig

%files
#%files -f %name.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS
%{_sysconfdir}/gconf/schemas/glimmer-file.schemas
%{_libdir}/bonobo/servers/GNOME_Development_GlimmerFile.server
%{_libdir}/libglimmerfile-control.a
%{_libdir}/libglimmerfile-control.la
%{_libdir}/libglimmerfile-control.so.0.0.0
%{_libdir}/libglimmerfile-control.so.0
%{_libdir}/libglimmerfile-control.so
%{_datadir}/glimmer/glade/goto-line.glade2
%{_datadir}/glimmer/glade/preferences.glade2
%{_datadir}/glimmer/glade/replace.glade2
%{_datadir}/glimmer/language-specs/*.lang
%{_datadir}/glimmer/themes/classic.xml
%{_datadir}/glimmer/themes/default.xml
%{_datadir}/gnome-2.0/ui/glimmer-file-ui.xml
%{_datadir}/gnome-2.0/ui/glimmer-ui.xml
%{_datadir}/idl/libglimmerfile-1.0/editor-buffer.idl
%{_datadir}/idl/libglimmerfile-1.0/editor-gutter.idl
%{_datadir}/locale/*/LC_MESSAGES/*

%changelog
* Thu Oct 21 2002 Jean Schurger <jschurger schurger org>
- new spec file


? gtksourceview.spec.in
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtksourceview/ChangeLog,v
retrieving revision 1.32
diff -u -r1.32 ChangeLog
--- ChangeLog	22 Sep 2002 10:52:25 -0000	1.32
+++ ChangeLog	30 Oct 2002 08:37:57 -0000
@@ -1,3 +1,11 @@
+2002-10-28  Jean Schurger <jschurger schurger org>
+
+	* configure.in: add gtksourceview.spec a the end of configure.in
+	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:
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gtksourceview/configure.in,v
retrieving revision 1.3
diff -u -r1.3 configure.in
--- configure.in	13 Jul 2002 13:05:40 -0000	1.3
+++ configure.in	30 Oct 2002 08:37:57 -0000
@@ -16,6 +16,7 @@
 AC_SUBST(GTK_REQUIRED_VERSION)
 
 GNOME_REQUIRED=1.107.0
+AC_SUBST(GNOME_REQUIRED)
 
 dnl ==========================================================================
 
@@ -66,4 +67,5 @@
 gtksourceview.pc
 Makefile
 src/Makefile
+gtksourceview.spec
 ])
Name:		gtksourceview
Summary: Source editor widget for gnome 2
Version:	@PACKAGE_VERSION@
Release:	1
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]