10139N/A#
10139N/A# spec file for package libchamplain
10139N/A#
12485N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner yippi
10139N/A
10139N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
15322N/AName: libchamplain
10139N/ALicense: LGPLv2.1
15635N/AGroup: Development/Libraries
11020N/AVersion: 0.6.0
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Gnome Community
10139N/AURL: http://projects.gnome.org/libchamplain/
10139N/ASummary: a Clutter based widget to display rich, eye-candy and interactive maps
11207N/ASource: http://download.gnome.org/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
12786N/ABuildRoot: %{_tmppath}/%{name}-%{version}-root
10139N/A# date:2010-02-23 owner:chrisk type:bug
10139N/A
10139N/ARequires: clutter >= 1.0
10139N/ARequires: glib >= 2.10
10139N/ARequires: cairo >= 1.4
10139N/ARequires: gio >= 2.16
10139N/ARequires: gdk >= 2.14
10139N/ARequires: sqlite >= 3.0
10139N/ARequires: gtk >= 2.12
10139N/ARequires: clutter-gtk >= 0.10
10139N/ABuildRequires: cairo-devel >= 1.4
10139N/ABuildRequires: clutter-cairo-devel >= 0.8
10139N/ABuildRequires: clutter-devel >= 0.8.4
10139N/ABuildRequires: clutter-gtk-devel >= 0.8
10139N/ABuildRequires: clutter-devel >= 1.0.0
10139N/ABuildRequires: clutter-gtk-devel >= 0.10
10139N/ABuildRequires: gir-repository-devel
10139N/ABuildRequires: glib2-devel >= 2.16
10139N/ABuildRequires: gobject-introspection-devel
10139N/A
10139N/A%description
10139N/Alibchamplain is a Clutter based widget to display rich, eye-candy and
10139N/Ainteractive maps.
10139N/A
10139N/A%package devel
10139N/ASummary: Libraries and include files for libchamplain.
10139N/AGroup: Development/Libraries
10139N/ARequires: %{name} = %{version}
10139N/A
10139N/A%description devel
10139N/ALibraries and header files if you want to make use of the libchamplain library in your
10139N/Aown programs.
10139N/A
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A
10139N/A#FIXME: When #590829 fixed in next release, remove following lines
10139N/Arm -f m4/lt~obsolete.m4
10139N/Arm -f m4/ltoptions.m4
10139N/Arm -f m4/libtool.m4
10139N/Arm -f m4/ltsugar.m4
10139N/Arm -f m4/ltversion.m4
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10392N/A
13004N/Alibtoolize --force
13004N/Aaclocal $ACLOCAL_FLAGS -I m4
10139N/Aautoheader
11881N/Aautomake -a -c -f
11314N/Aautoconf
11391N/A
10139N/A./configure --prefix=%{_prefix} \
10139N/A --bindir=%{_bindir} \
10139N/A --mandir=%{_mandir} \
11314N/A --disable-memphis \
11020N/A --libdir=%{_libdir} \
10139N/A --datadir=%{_datadir} \
10139N/A --includedir=%{_includedir} \
10139N/A --sysconfdir=%{_sysconfdir}
11314N/A
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
11314N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
10139N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A
10139N/A%files
11207N/A%doc AUTHORS COPYING ChangeLog NEWS README
11328N/A%defattr (-, root, root)
10139N/A%{_prefix}/lib/lib*.so.*
10139N/A%{_prefix}/share/gir-*
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, root)
10139N/A%{_prefix}/include/liblibchamplain-*
10139N/A%{_prefix}/lib/lib*.a
10139N/A%{_prefix}/lib/lib*.la
10139N/A%{_prefix}/lib/lib*.so
10139N/A%{_prefix}/lib/pkgconfig/*
10139N/A
10139N/A%changelog
10139N/A* Fri Mar 26 2010 - christian.kelly@sun.com
10139N/A- Bump to 0.4.5.
10139N/A* Tue Feb 23 2010 - christian.kelly@sun.com
10139N/A- Add libchamplain-01-fixxref-modules.diff to fix build issue.
10139N/A* Fri Jan 01 2010 - yuntong.jin@sun.com
10139N/A- Correct license info
10139N/A* Wed Oct 28 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.4.2.
10139N/A* Fri Sep 18 2009 - halton.huo@sun.com
10139N/A- Bump to 0.4.0.
10139N/A- Remove upstreamed patch clutter-1-0.diff for bugzilla #590825
10139N/A- Add patch libtool.diff to fix bugzilla #595534.
10139N/A* Wed Aug 05 2009 - halton.huo@sun.com
10139N/A- Initial spec.
10139N/A