glade.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6299 4b3aea37c890
child 6416 60f1436acada
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.

#
# spec file for package glade
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name:         glade
License:      GPL
Group:        System/GUI/GNOME
Version:      2.10.1
Release:      1
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      GLADE User Interface Builder for GNOME
Source:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.10/%{name}-%{version}.tar.bz2
Patch1:       glade-01-menu-entry.diff
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_docdir}/doc
Autoreqprov:  on

%define scrollkeeper_version 0.3.14
%define libgnomeui_version 2.9.0
%define libxml2_version 2.4.1

BuildRequires: scrollkeeper >= %{scrollkeeper_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libxml2 >= %{libxml2_version}
Requires: libgnomeui >= %{libgnomeui_version}

%description
Glade is a User Interface Builder for GTK+ and GNOME. This package contains GLADE  for the GTK + 2.0 and GNOME 2.0 Platform.

%prep
%setup -q 
%patch1 -p1

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_FLAGS" 	\
./configure  			\
	--prefix=%{_prefix} 	\
	--bindir=%{_bindir}	\
	--libdir=%{_libdir}	\
        --includedir=%{_includedir} \
    	--sysconfdir=%{_sysconfdir} 
make -j $CPUS

%install
make -i DESTDIR=$RPM_BUILD_ROOT install


rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/glade-2/glade-faq-*.omf

%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/applications
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/pixmaps/glade-2.png
%{_datadir}/pixmaps/glade-2/*.png
%{_datadir}/omf/glade-2
%{_datadir}/gnome/help/glade-2
%{_datadir}/glade-2

%changelog
* Tue Nov 29 2005 - laca.com
- remove javahelp stuff
 -n glade
* Tue Sep 27 2005 - [email protected]
- Bump to 2.10.1.

* Tue Jun 14 2005 - [email protected]
- Bump to 2.10.0.

* Fri Mar 11 2005 - [email protected]
- 6227253 : Remove glade-faq*.omf

* Fri Feb 25 2005 - [email protected]
- Added dummy l10n help files to follow base bug updates

* Mon Feb 14 2005 - [email protected]
- Integrate docs tarball (glade-docs-0.1) from [email protected].

* Fri Nov 12 2004 - [email protected]
- Added --libdir and --bindir to configure opts so they can be redirected
  on Solaris

* Tue Sep 14 2004 - [email protected]
- Added glade-03-g11n-potfiles.diff

* Thu Jul 08 2004 - [email protected]
- Updated l10n content to glade-l10n-po-1.2.tar.bz2

* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds

* Mon Jun  7 2004 - [email protected]
- 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 - [email protected]
- Add back menu entry, and rename it to Interface Editor

* Wed May 12 2004 - [email protected]
- Updated l10n content to glade-l10n-po-1.1.tar.bz2

* Tue Apr 20 2004 - [email protected]
- bump to 2.6.0 release
- add main menu entry .desktop file

* Sun Apr 18 2004 - [email protected]
- enable javahelp conversion on Solaris

* Thu Apr 01 2004 - [email protected]
- javahelp conversion

* Wed Mar 31 2004 - [email protected]
- replace tar jxf with the more solaris friendly
  bzcat piped through tar

* Mon Mar 29 2004 - [email protected]
- Adding glade-l10n-po-1.0.tar.bz2 l10n content

* Fri Mar 26 2004 - [email protected]
- added $ACLOCAL_FLAGS to aclocal call, needed for Solaris.

* Tue Mar 16 2004 - [email protected]
- Remove the menu entry patch as %files does
  this for free.

* Thu Nov 14 2003 - [email protected]
- Bump to 2.0.1 tarball

* Thu Nov 14 2003 - [email protected]
- Remove the menu entry as per spec.

* Fri Oct 31 2003 - [email protected]
- Remove the Sun Supported part of the menu
  patch since we're removing the Extras menu.

* Fri Aug 01 2003 - [email protected]
- Add menu categorization

* Tue Jul 22 2003 - [email protected]
- Updated POTFILES.in

* Wed Jul 09 2003 - [email protected]
- Initial Sun Release