base-specs/libchamplain.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 18342 7d38afa334d6
child 22144 1f624673ef31
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     1
#
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     2
# spec file for package libchamplain
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     3
#
17415
52798464cba4 correct license info
jouby
parents: 17403
diff changeset
     4
# Copyright 2010 Sun Microsystems, Inc.
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     6
# package are under the same license as the package itself.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     7
#
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
     8
%define owner jouby
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
     9
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    10
%define OSR LFI#105446 (gnome Exec. summary):n/a
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    11
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    12
Name:		libchamplain
17415
52798464cba4 correct license info
jouby
parents: 17403
diff changeset
    13
License:	LGPLv2
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    14
Group:		Development/Libraries
18150
3a45f4fb869d Bump libchamplian to 0.6
jouby
parents: 17881
diff changeset
    15
Version:	0.6.0
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    16
Release:	1
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    17
Distribution:   Java Desktop System
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    18
Vendor:         Gnome Community
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    19
URL:		http://projects.gnome.org/libchamplain/
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    20
Summary:	a Clutter based widget to display rich, eye-candy and interactive maps
18150
3a45f4fb869d Bump libchamplian to 0.6
jouby
parents: 17881
diff changeset
    21
Source:		http://download.gnome.org/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    22
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17584
22263ee780f3 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 17415
diff changeset
    23
# date:2010-02-23 owner:chrisk type:bug
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    24
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    25
Requires: 	clutter >= 1.0
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    26
Requires: 	glib >= 2.10
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    27
Requires: 	cairo >= 1.4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    28
Requires: 	gio >= 2.16
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    29
Requires: 	gdk >= 2.14
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    30
Requires: 	sqlite >= 3.0
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    31
Requires: 	gtk >= 2.12
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    32
Requires: 	clutter-gtk >= 0.10
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    33
BuildRequires:	cairo-devel >= 1.4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    34
BuildRequires:	clutter-cairo-devel >= 0.8
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    35
BuildRequires:	clutter-devel >= 0.8.4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    36
BuildRequires:	clutter-gtk-devel >= 0.8
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    37
BuildRequires:	clutter-devel >= 1.0.0
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    38
BuildRequires:	clutter-gtk-devel >= 0.10
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    39
BuildRequires:	gir-repository-devel
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    40
BuildRequires:	glib2-devel >= 2.16
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    41
BuildRequires:	gobject-introspection-devel
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    42
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    43
%description
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    44
libchamplain is a Clutter based widget to display rich, eye-candy and
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    45
interactive maps.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    46
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    47
%package devel
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    48
Summary:	Libraries and include files for libchamplain.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    49
Group:		Development/Libraries
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    50
Requires:	%{name} = %{version}
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    51
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    52
%description devel
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    53
Libraries and header files if you want to make use of the libchamplain library in your
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    54
own programs.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    55
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    56
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    57
%prep
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    58
%setup -q
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    59
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    60
#FIXME: When #590829 fixed in next release, remove following lines 
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    61
rm -f m4/lt~obsolete.m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    62
rm -f m4/ltoptions.m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    63
rm -f m4/libtool.m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    64
rm -f m4/ltsugar.m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    65
rm -f m4/ltversion.m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    66
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    67
%build
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    68
%ifos linux
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    69
if [ -x /usr/bin/getconf ]; then
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    70
  CPUS=`getconf _NPROCESSORS_ONLN`
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    71
fi
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    72
%else
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    73
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    74
%endif
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    75
if test "x$CPUS" = "x" -o $CPUS = 0; then
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    76
  CPUS=1
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    77
fi
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    78
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    79
libtoolize --force
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    80
aclocal $ACLOCAL_FLAGS -I m4
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    81
autoheader
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    82
automake -a -c -f
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    83
autoconf
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    84
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    85
./configure --prefix=%{_prefix} \
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    86
	    --bindir=%{_bindir} \
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    87
	    --mandir=%{_mandir} \
18150
3a45f4fb869d Bump libchamplian to 0.6
jouby
parents: 17881
diff changeset
    88
	    --disable-memphis   \
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    89
	    --libdir=%{_libdir} \
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    90
	    --datadir=%{_datadir} \
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    91
	    --includedir=%{_includedir} \
18342
7d38afa334d6 libchamplain.spec:disable gtkdoc
jouby
parents: 18150
diff changeset
    92
	    --sysconfdir=%{_sysconfdir} 
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    93
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    94
make -j $CPUS
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    95
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    96
%install
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    97
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    98
make -i install DESTDIR=$RPM_BUILD_ROOT
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
    99
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   100
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   101
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   102
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   103
%clean
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   104
rm -rf $RPM_BUILD_ROOT
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   105
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   106
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   107
%files
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   108
%doc AUTHORS COPYING ChangeLog NEWS README
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   109
%defattr (-, root, root)
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   110
%{_prefix}/lib/lib*.so.*
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   111
%{_prefix}/share/gir-*
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   112
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   113
%files devel
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   114
%defattr (-, root, root)
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   115
%{_prefix}/include/liblibchamplain-*
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   116
%{_prefix}/lib/lib*.a
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   117
%{_prefix}/lib/lib*.la
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   118
%{_prefix}/lib/lib*.so
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   119
%{_prefix}/lib/pkgconfig/*
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   120
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   121
%changelog
17763
931e2fed6e34 2010-03-26 Christian Kelly <[email protected]>
chrisk
parents: 17584
diff changeset
   122
* Fri Mar 26 2010 - [email protected]
931e2fed6e34 2010-03-26 Christian Kelly <[email protected]>
chrisk
parents: 17584
diff changeset
   123
- Bump to 0.4.5.
17584
22263ee780f3 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 17415
diff changeset
   124
* Tue Feb 23 2010 - [email protected]
22263ee780f3 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 17415
diff changeset
   125
- Add libchamplain-01-fixxref-modules.diff to fix build issue.
17415
52798464cba4 correct license info
jouby
parents: 17403
diff changeset
   126
* Fri Jan 01 2010 - [email protected]
52798464cba4 correct license info
jouby
parents: 17403
diff changeset
   127
- Correct license info
17402
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   128
* Wed Oct 28 2009 - [email protected]
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   129
- Bump to 0.4.2.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   130
* Fri Sep 18 2009 - [email protected]
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   131
- Bump to 0.4.0.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   132
- Remove upstreamed patch clutter-1-0.diff for bugzilla #590825
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   133
- Add patch libtool.diff to fix bugzilla #595534.
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   134
* Wed Aug 05 2009 - [email protected]
2e0158e849e8 add new package SUNWlibchamplain
jouby
parents:
diff changeset
   135
- Initial spec.