2003-05-13 Ghee Teo <[email protected]>
authorgheet
Tue, 13 May 2003 14:25:17 +0000
changeset 27 b72adb3a7bb8
parent 26 69c144b631b1
child 28 a75216b73704
2003-05-13 Ghee Teo <[email protected]> * Added new spec files, glib.spec gnome-common.spec gnome-mime-data.spec, gtk-doc.spec, startup-notification.spec
ChangeLog
glib.spec
gnome-common.spec
gnome-mime-data.spec
gtk-doc.spec
startup-notification.spec
--- a/ChangeLog	Tue May 13 14:23:38 2003 +0000
+++ b/ChangeLog	Tue May 13 14:25:17 2003 +0000
@@ -1,5 +1,6 @@
-2003-05-13 Stephen Browne <[email protected]>
-	*gnome-icon-theme.spec: new file
+2003-05-13  Ghee Teo <[email protected]>
+	*glib.spec, gnome-common.spec, gnome-icon-theme.spec,
+	 gnome-mime-data.spec, gtk-doc.spec, startup-notification.spec
 
 2003-05-13 Stephen Browne <[email protected]>
 	*gtk2-engines.spec: new file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/glib.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,90 @@
+#
+# spec file for package glib2
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# This header file needs to be a Sun standard one that will
+# have to contain all that boring legal stuff.
+
+
+
+Name:         glib2
+Summary:      Handy library of utility functions
+Version:      2.2.1
+Release:      1
+Distribution: Mercury
+Vendor:       Sun Microsystems Inc.
+Source:       ftp://ftp.gnome.org/pub/gnome/sources/glib/2.2/glib-%version.tar.bz2
+URL:          http://www.gtk.org
+License:      LGPL
+Group:        Development/Libraries
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+
+%description
+Handy library of utility functions.  Development libs and headers are in 
+glib-devel.
+
+%package devel
+Summary:        GIMP Toolkit and GIMP Drawing Kit support library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+Static libraries and header files for the support library for the GIMP's X
+libraries, which are available as public libraries.  GLIB includes generally
+useful data structures.
+
+%prep
+%setup -q -n glib-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS"
+./configure --prefix=%{_prefix} \
+    --bindir=%{_bindir} --mandir=%{_mandir} \
+    --localstatedir=%{_localstatedir} --libdir=%{_libdir} \
+    --datadir=%{_datadir} --includedir=%{_includedir} \
+    --sysconfdir=%{_sysconfdir} --disable-gtk-doc
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
+    mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
+    localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
+    datadir=$RPM_BUILD_ROOT%{_datadir} \
+    includedir=$RPM_BUILD_ROOT%{_includedir} \
+    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING ChangeLog AUTHORS README NEWS
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-,root,root)
+
+%{_libdir}/lib*.so
+%{_libdir}/*a
+%{_libdir}/glib-2.0
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/glib-2.0
+%{_mandir}/man1/glib-*
+%{_datadir}/aclocal/*
+%{_bindir}/*
+#%{_datadir}/gtk-doc/html/glib-2.0
+#%{_datadir}/gtk-doc/html/gobject
+
+%changelog
+* Thu May 12 2003 - [email protected]
+- initial release version 2.2.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnome-common.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,55 @@
+#
+# spec file for package gnome-common 
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+
+Name:         gnome-common
+License:      GPL
+Group:        System/Libraries
+Autoreqprov:  on
+Version:      1.2.4
+Release:      1
+Distribution: Mercury
+Vendor:       Sun Microsystems Inc.
+Summary:      Multiply used files used by the GNOME 2.0 platform
+Source:       ftp://ftp.gnome.org:21/pub/gnome/sources/gnome-common/2.2/%{name}-%{version}.tar.bz2
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+
+%description
+gnome-common includes files used by pretty every GNOME 2.0 application.
+
+%prep
+%setup -q
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
+        --enable-platform-gnome-2 \
+        --prefix=%{_prefix} \
+        --sysconfdir=%{_sysconfdir}
+make
+
+%install
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0555,root,root)
+%{_prefix}/bin/*
+%defattr (0444, bin, bin)
+%{_prefix}/share/aclocal/gnome-macros/*
+%{_prefix}/share/aclocal/gnome2-macros/*
+
+%changelog
+* Thu May 13 2003 - [email protected]
+- Created new spec file for gnome-common
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnome-mime-data.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,55 @@
+#
+# spec file for package gnome-mime-data
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+Name:         gnome-mime-data
+License:      GPL
+Group:        System/GUI/GNOME
+Autoreqprov:  on
+Version:      2.2.0
+Release:      1
+Distribution: Mercury
+Vendor:       Sun Microsystems Inc.
+Summary:      MIME-Type and Application database for GNOME 2.0
+Source:       ftp://ftp.gnome.org:21/pub/gnome/sources/gnome-mime-data/2.2/%{name}-%{version}.tar.bz2
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+
+%description
+This module contains the base MIME and Application database for GNOME.
+It is meant to be accessed through the MIME functions in GnomeVFS.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
+make -s CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%config %{_sysconfdir}/gnome-vfs-mime-magic
+%{_prefix}/share/mime-info/*
+%{_prefix}/share/application-registry/*
+%{_prefix}/share/pixmaps/document-icons/*
+%{_prefix}/share/locale/*/LC_MESSAGES/*.mo
+%{_prefix}/man/man5/*
+%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
+
+%changelog
+* Thu May 13 2003 - [email protected]
+- Created new spec file for gnome-mime-data
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gtk-doc.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,63 @@
+#
+# spec file for package gtk-doc
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# This header file needs to be a Sun standard one that will
+# have to contain all that boring legal stuff.
+
+Name:         gtk-doc
+License:      GPL
+Group:        Utilities/Text
+Autoreqprov:  on
+Version:      1.0
+Release:      1
+Summary:      GTK+ DocBook Documentation Generator
+Distribution: Mercury
+Vendor:	      Sun Microsystems Inc.
+Source:       ftp://ftp.gnome.org:21/pub/GNOME/stable/sources/gtk-doc/gtk-doc-%{version}.tar.bz2
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+
+%description
+gtk-doc is a set of perl scripts that generate API reference documention in
+DocBook format.  It can extract documentation from source code comments in a
+manner similar to java-doc.  It is used to generate the documentation for
+GLib, Gtk+, and GNOME.
+
+%prep
+%setup -q
+
+# Move this doc file to avoid name collisions
+mv doc/README doc/README.docs
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS  --prefix=%{_prefix} \
+                --sysconfdir=%{_sysconfdir} --datadir=%{_datadir}
+make -k
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make prefix=$RPM_BUILD_ROOT%{_prefix} \
+     sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}  \
+     datadir=$RPM_BUILD_ROOT%{_datadir} install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README doc/* examples
+%{_bindir}/*
+%{_datadir}/gtk-doc/*
+%{_libdir}/pkgconfig/gtk-doc.pc
+
+%changelog
+* Thu May 12 2003 - [email protected]
+- Created new spec file for gtk-doc
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/startup-notification.spec	Tue May 13 14:25:17 2003 +0000
@@ -0,0 +1,73 @@
+#
+# spec file for package startup-notification
+#
+# Copyright (c) 2003 Sun Microsystems Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# This header file needs to be a Sun standard one that will
+# have to contain all that boring legal stuff.
+
+
+Name:         startup-notification
+License:      GPL
+Group:        System/X11/Utilities
+Autoreqprov:  on
+Version:      0.5
+Release:      1
+Distribution: Mercury
+Vendor:       Sun Microsystems Inc.
+Summary:      A sound daemon for Enlightenment and GNOME
+Source:       ftp://ftp.gnome.org:21/pub/GNOME/stable/sources/startup-notification/%{name}-%{version}.tar.bz2
+URL:          http://www.gnome.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/%{name}
+
+%description
+Startup-notification contains a reference implementation of the startup notification protocol.
+
+%package devel
+Summary:      Development files for startup-notification
+Group:        Development/Libraries/GNOME
+Autoreqprov:  on
+
+%description devel
+This package contains all needed files for development with startup-notification.
+
+%prep
+%setup -q -n startup-notification-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS " \
+./configure --prefix=/usr \
+        --libdir=%{_libdir} \
+        --mandir=%{_mandir} \
+        --infodir=%{_infodir}
+make
+
+%install
+export LIBRARY_PATH=$RPM_BUILD_ROOT/usr/%_lib
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%post
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_prefix}/%{_lib}/*.so*
+
+%files devel
+%defattr(-, root, root)
+%{_prefix}/%{_lib}/pkgconfig/*.pc
+%{_prefix}/%{_lib}/*a
+%{_prefix}/include/startup-notification-1.0
+
+
+%changelog
+* Thu May 13 2003 - [email protected]
+- Created new spec file for startup-notification
+