Author: wade
Date: 2007-10-19 21:03:30 -0400 (Fri, 19 Oct 2007)
New Revision: 87845

Added:
   trunk/release/packaging/defs/gluezilla
   trunk/release/packaging/rpm_defs/gluezilla/
   trunk/release/packaging/rpm_defs/gluezilla/gluezilla.spec
Modified:
   trunk/release/packaging/rpm_defs/mono-core/mono-core.spec
Log:
Some packaging bits for gluezilla.

Get building on 10.3, fix mono-core.spec filelist to
include all Mono.Mozilla files.

Will need to update buildrequires for other distros...



Added: trunk/release/packaging/defs/gluezilla
===================================================================
--- trunk/release/packaging/defs/gluezilla      2007-10-19 19:26:37 UTC (rev 
87844)
+++ trunk/release/packaging/defs/gluezilla      2007-10-20 01:03:30 UTC (rev 
87845)
@@ -0,0 +1,62 @@
+
+BUILD_HOSTS=(
+        debian-4-arm
+        debian-4-sparc
+        fedora-5-i386
+        fedora-5-ppc
+        fedora-5-x86_64
+       macos-10-ppc
+       macos-10-x86
+        nld-9-i586
+        nld-9-x86_64
+        rhel-4-i386
+        sles-9-i586
+        sles-9-ia64
+        sles-9-ppc
+        sles-9-s390
+        sles-9-s390x
+        sles-9-x86_64
+        sunos-8-sparc
+        sunos-10-x86
+        suse-100-i586
+        suse-100-ppc
+        suse-100-x86_64
+        sles-10-ia64
+        suse-101-i586
+        suse-101-ppc
+        suse-101-x86_64
+        suse-102-i586
+        suse-102-ppc
+        suse-102-x86_64
+        suse-103-i586
+        suse-103-ppc
+        suse-103-x86_64
+        win-4-i386
+)
+
+USE_HOSTS=([EMAIL PROTECTED])
+
+get_destroot () {
+       DEST_ROOT=$DISTRO
+}
+
+HEAD_PATH=(
+       trunk/gluezilla
+)
+RELEASE_PATH=(
+       tags/gluezilla-[[version]]
+)
+
+update_version_file () {
+        sed -i "s/\(AM_INIT_AUTOMAKE.*,\\).*)/\\1$VERSION)/" configure.ac
+}
+
+ZIP_BUILD () {
+
+        ./configure --prefix=/tmp/install || exit 1
+        make || exit 1
+        make install || exit 1
+
+}
+
+

Added: trunk/release/packaging/rpm_defs/gluezilla/gluezilla.spec
===================================================================
--- trunk/release/packaging/rpm_defs/gluezilla/gluezilla.spec   2007-10-19 
19:26:37 UTC (rev 87844)
+++ trunk/release/packaging/rpm_defs/gluezilla/gluezilla.spec   2007-10-20 
01:03:30 UTC (rev 87845)
@@ -0,0 +1,101 @@
+
+# norootforbuild
+
+Name:           gluezilla
+Version:       0.1
+Release:       0
+Vendor:         Novell, Inc.
+License:        GPL
+URL:            http:/www.go-mono.com
+Source0:        %{name}-%{version}.tar.bz2
+Summary:        Glue library for Winforms Web Control
+Group:          Development/Libraries
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+####  suse  ####
+%if 0%{?suse_version}
+
+# Common requires for suse distros
+BuildRequires: gcc-c++ mozilla-nspr-devel mozilla-xulrunner181-devel
+
+%if %suse_version >= 1030
+#BuildRequires:  
+%endif
+
+%if %suse_version == 1020
+#BuildRequires:  
+%endif
+
+%if %sles_version == 10
+#BuildRequires:  
+%endif
+
+%if %suse_version == 1010
+#BuildRequires:  
+%endif
+
+%if %suse_version == 1000
+#BuildRequires:  
+%endif
+
+%if %sles_version == 9
+#BuildRequires:  
+%endif
+
+%endif
+
+
+####  fedora  ####
+%if 0%{?fedora_version}
+
+# All fedora distros have the same names, requirements
+#BuildRequires: 
+
+%endif
+
+%if 0%{?rhel_version}
+#BuildRequires: 
+%endif
+
+
+%description
+Glue library for Winforms Web control
+
+%files
+%defattr(-, root, root)
+%_libdir/libgluezilla.so*
+#%_libdir/pkgconfig/libgdiplus.pc
+%doc AUTHORS COPYING ChangeLog* INSTALL NEWS README TODO
+
+%debug_package
+%prep
+%setup -q
+
+%build
+# Set PKG_CONFIG_PATH for sles9
+%if 0%{?sles_version}
+%if %sles_version == 9
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig
+%endif
+%endif
+
+export CFLAGS="$RPM_OPT_FLAGS"
+%configure
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Unwanted files:
+rm -f $RPM_BUILD_ROOT/usr/%_lib/libgluezilla.la
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%changelog

Modified: trunk/release/packaging/rpm_defs/mono-core/mono-core.spec
===================================================================
--- trunk/release/packaging/rpm_defs/mono-core/mono-core.spec   2007-10-19 
19:26:37 UTC (rev 87844)
+++ trunk/release/packaging/rpm_defs/mono-core/mono-core.spec   2007-10-20 
01:03:30 UTC (rev 87845)
@@ -379,6 +379,8 @@
 %_prefix/lib/mono/1.0/System.Drawing.Design.dll
 %_prefix/lib/mono/2.0/System.Drawing.Design.dll
 # TODO: Post 1.2.5:
+%_prefix/lib/mono/1.0/Mono.Mozilla.dll
+%_prefix/lib/mono/2.0/Mono.Mozilla.dll
 %_prefix/lib/mono/gac/Mono.Mozilla
 
 %package -n ibm-data-db2

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to