base-specs/clutter-gtk.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 18059 38798f418bf9
child 20229 7e472cd07746
child 20231 707800c62d8c
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     1
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     2
# spec file for package clutter-gtk
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     3
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     6
# package are under the same license as the package itself.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16425
diff changeset
     8
%define owner lin
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     9
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    10
16425
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16343
diff changeset
    11
%define OSR 12687:0.8.3
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16343
diff changeset
    12
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    13
Summary:      clutter-gtk - GTK+ integration library for clutter
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
Name:         clutter-gtk
18059
38798f418bf9 2010-06-01 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    15
Version:      0.10.4
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
Release:      1
18059
38798f418bf9 2010-06-01 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    17
License:      LGPLv2.1
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Group:        System/Libraries
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
Distribution: Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17725
diff changeset
    20
Vendor:       clutter-project.org
16343
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    21
Source:	  http://www.clutter-project.org/sources/clutter-gtk/0.10/clutter-gtk-%{version}.tar.bz2
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
URL:          http://www.clutter-project.org/
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
%prep
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
%setup -q -n clutter-gtk-%version
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
%build
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
if test "x$CPUS" = "x" -o $CPUS = 0; then
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
    CPUS=1
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
fi
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
./configure --prefix=%{_prefix}              \
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
            --libexecdir=%{_libexecdir}      \
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
            --sysconfdir=%{_sysconfdir}      \
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
            --disable-static
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
make -j$CPUS 
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
%install
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
make install DESTDIR=$RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
%clean
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
%files
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
%defattr (-, root, bin)
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
%dir %attr (0755, root, bin) %{_libdir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
%{_libdir}/lib*.so*
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
%changelog
18059
38798f418bf9 2010-06-01 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    52
* Tue Jun 01 2010 - [email protected]
38798f418bf9 2010-06-01 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    53
- Bump to 0.10.4.
17725
9234456dd2ee 2010-03-18 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    54
* Thu Mar 18 2010 - [email protected]
9234456dd2ee 2010-03-18 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    55
- Add clutter-gtk-01-deprecated.diff.
16343
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    56
* Tue Aug 25 2009  [email protected]
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    57
- Bump to 0.10.2
15965
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15205
diff changeset
    58
* Fri Jun 26 2009  [email protected]
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15205
diff changeset
    59
- Change patch and spec owner to lin
15205
e499ca8139b4 2009-02-23 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    60
* Mon Feb 23 2009  [email protected]
e499ca8139b4 2009-02-23 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    61
- Bump to 0.8.3 version
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
* Tue Jul  1 2008  [email protected]
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
- Initial build.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65