glade.spec revision 10191
16948N/A#
16948N/A# spec file for package glade
16948N/A#
16948N/A# Copyright (c) 2005 Sun Microsystems, Inc.
16948N/A# This file and all modifications and additions to the pristine
16948N/A# package are under the same license as the package itself.
16948N/A#
16948N/A# Owner: hawklu
16948N/A#
17185N/A%include l10n.inc
16948N/AName: glade
16948N/ALicense: GPL
16948N/AGroup: System/GUI/GNOME
16948N/AVersion: 3.1.5
16948N/ARelease: 1
16948N/ADistribution: Java Desktop System
16948N/AVendor: Sun Microsystems, Inc.
16948N/ASummary: GLADE User Interface Builder for GNOME
16948N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}3/3.1/%{name}3-%{version}.tar.bz2
16948N/ASource1: %{name}-po-sun-%{po_sun_version}.tar.bz2
16948N/A# date:2007-02-28 bugzilla:412993 owner:halton type:bug
16948N/APatch1: %{name}-01-Wall-remove.diff
16948N/AURL: http://www.gnome.org
16948N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16948N/ADocdir: %{_docdir}/doc
16948N/AAutoreqprov: on
16948N/A
18688N/A%define scrollkeeper_version 0.3.14
18688N/A%define libgnomeui_version 2.9.0
16948N/A%define libxml2_version 2.4.1
16948N/A
16948N/ABuildRequires: scrollkeeper >= %{scrollkeeper_version}
16948N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
16948N/ABuildRequires: libxml2 >= %{libxml2_version}
16948N/ARequires: libgnomeui >= %{libgnomeui_version}
16948N/A
16948N/A%description
16948N/AGlade is a User Interface Builder for GTK+ and GNOME. This package contains GLADE for the GTK + 2.0 and GNOME 2.0 Platform.
16948N/A
16948N/A%package devel
16948N/ASummary: %{name} - Developer Libraries
16948N/AGroup: Development/Libraries/GNOME
16948N/ARequires: %{name} = %{version}
16948N/A
16948N/A%prep
16948N/A%setup -q -n %{name}3-%{version}
16948N/A%if %build_l10n
16948N/Abzcat %SOURCE1 | tar xf -
16948N/Acd po-sun; make; cd ..
16948N/A%endif
16948N/A%patch1 -p1
16948N/A
16948N/A%build
16948N/A%ifos linux
16948N/Aif [ -x /usr/bin/getconf ]; then
16948N/A CPUS=`getconf _NPROCESSORS_ONLN`
16948N/Afi
16948N/A%else
16948N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16948N/A%endif
16948N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16948N/A CPUS=1
16948N/Afi
16948N/A
16948N/Alibtoolize --force
16948N/Aaclocal $ACLOCAL_FLAGS -I ./m4
16948N/Aautomake -a -c -f
16948N/Aautoconf
16948N/A
16948N/ACFLAGS="$RPM_OPT_FLAGS" \
16948N/A./configure \
16948N/A --prefix=%{_prefix} \
16948N/A --bindir=%{_bindir} \
16948N/A --libdir=%{_libdir} \
16948N/A --includedir=%{_includedir} \
16948N/A --sysconfdir=%{_sysconfdir} \
16948N/A --disable-scrollkeeper
16948N/A
16948N/Amake -j $CPUS
16948N/A
16948N/A%install
16948N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
16948N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
16948N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
16948N/A
16948N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
16948N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
16948N/A
16948N/A%clean
16948N/Arm -rf $RPM_BUILD_ROOT
16960N/A
16948N/A%files
16948N/A%doc AUTHORS COPYING ChangeLog NEWS README
16948N/A%defattr (-, root, root)
16948N/A%{_bindir}/*
16960N/A%{_datadir}/applications
16948N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
16948N/A%{_datadir}/icons
16948N/A%{_datadir}/omf/*
18920N/A%{_datadir}/gnome/*
16948N/A%{_datadir}/glade*
16948N/A%{_mandir}/man1/*
16948N/A
16948N/A%defattr(-, root, root)
16948N/A%{_includedir}/*
16948N/A%{_libdir}/pkgconfig/*.pc
18920N/A
18920N/A%changelog
18920N/A* Tue Mar 06 2007 - halton.huo@sun.com
16960N/A- Add --disable-scrollkeeper when run ./configure
16960N/A- Update %files.
16948N/A
16948N/A* Wed Feb 28 2007 - halton.huo@sun.com
- Bump to 3.1.5.
- Add patch 01-Wall-remove.diff to fix bugzilla #412993.
- Remove obsoleted patch 01-menu-entry.diff.
* Tue Feb 13 2007 - takao.fujiwara@sun.com
- Add Add l10n tarball.
* Tue Dec 20 2005 - dermot.mccluskey@sun.com
- Bump to 2.12.1.
* Tue Nov 29 2005 - laca.com
- remove javahelp stuff
-n glade
* Tue Sep 27 2005 - matt.keenan@sun.com
- Bump to 2.10.1.
* Tue Jun 14 2005 - matt.keenan@sun.com
- Bump to 2.10.0.
* Fri Mar 11 2005 - matt.keenan@sun.com
- 6227253 : Remove glade-faq*.omf
* Fri Feb 25 2005 - kazuhiko.maekawa@sun.com
- Added dummy l10n help files to follow base bug updates
* Mon Feb 14 2005 - damien.carbery@sun.com
- Integrate docs tarball (glade-docs-0.1) from irene.ryan@sun.com.
* Fri Nov 12 2004 - laca@sun.com
- Added --libdir and --bindir to configure opts so they can be redirected
on Solaris
* Tue Sep 14 2004 - yuriy.kuznetsov@sun.com
- Added glade-03-g11n-potfiles.diff
* Thu Jul 08 2004 - damien.donlon@sun.com
- Updated l10n content to glade-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Mon Jun 7 2004 - takao.fujiwara@sun.com
- Add 'touch po/*.po' to use sun messages files
- Add glade-02-g11n-linguas.diff to add zh_TW, zh_HK.
* Fri May 21 2004 - glynn.foster@sun.com
- Add back menu entry, and rename it to Interface Editor
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to glade-l10n-po-1.1.tar.bz2
* Tue Apr 20 2004 - niall.power@sun.com
- bump to 2.6.0 release
- add main menu entry .desktop file
* Sun Apr 18 2004 - laca@sun.com
- enable javahelp conversion on Solaris
* Thu Apr 01 2004 - matt.keenan@sun.com
- javahelp conversion
* Wed Mar 31 2004 - brian.cameron@sun.com
- replace tar jxf with the more solaris friendly
bzcat piped through tar
* Mon Mar 29 2004 - damien.donlon@sun.com
- Adding glade-l10n-po-1.0.tar.bz2 l10n content
* Fri Mar 26 2004 - brian.cameron@sun.com
- added $ACLOCAL_FLAGS to aclocal call, needed for Solaris.
* Tue Mar 16 2004 - glynn.foster@sun.com
- Remove the menu entry patch as %files does
this for free.
* Thu Nov 14 2003 - glynn.foster@sun.com
- Bump to 2.0.1 tarball
* Thu Nov 14 2003 - glynn.foster@sun.com
- Remove the menu entry as per spec.
* Fri Oct 31 2003 - glynn.foster@sun.com
- Remove the Sun Supported part of the menu
patch since we're removing the Extras menu.
* Fri Aug 01 2003 - glynn.foster@sun.com
- Add menu categorization
* Tue Jul 22 2003 - michael.twomey@sun.com
- Updated POTFILES.in
* Wed Jul 09 2003 - ghee.teo@sun.com
- Initial Sun Release