base-specs/clutter-gst.spec
author halton
Wed, 03 Mar 2010 03:13:13 +0000
changeset 17628 5b39ad43a05b
parent 17583 4bedb2bea5ac
child 17645 7de42ac053dd
permissions -rw-r--r--
2010-03-03 Halton Huo <[email protected]> * SUNWclutter-gst.spec: Remove "rm lib*.la" cause we remove it in base spec. * base-specs/clutter-gst.spec: Bump to 1.0.0, Remove uncompatible m4 files * base-specs/clutter.spec: Bump to 1.2.0 * patches/clutter-gst-01-build.diff: Remove not needed patch
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-gst
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     3
#
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
     4
# Copyright 2010 Sun Microsystems, Inc.
14643
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 12686:0.8.0
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16343
diff changeset
    12
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    13
Summary:      clutter-gst - gstreamer integration library for clutter
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
Name:         clutter-gst
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    15
Version:      1.0.0
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
Release:      1
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
License:      LGPL
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
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
Vendor:       Sun Microsystems, Inc.
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    21
Source:	      http://www.clutter-project.org/sources/clutter-gst/1.0/clutter-gst-%{version}.tar.bz2
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
URL:          http://www.clutter-project.org/
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
14643
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-gst-%version
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    27
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    28
#FIXME: remove uncompatible m4 files
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    29
rm -f build/autotools/lt~obsolete.m4
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    30
rm -f build/autotools/ltoptions.m4
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    31
rm -f build/autotools/libtool.m4
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    32
rm -f build/autotools/ltsugar.m4
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    33
rm -f build/autotools/ltversion.m4
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
%build
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
if test "x$CPUS" = "x" -o $CPUS = 0; then
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
    CPUS=1
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
fi
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    40
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    41
aclocal $ACLOCAL_FLAGS -I build/autotools
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    42
libtoolize --force
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    43
autoheader
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    44
automake -a -f -c --gnu
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    45
autoconf
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    46
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    47
./configure --prefix=%{_prefix}         \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    48
            --libexecdir=%{_libexecdir} \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    49
            --sysconfdir=%{_sysconfdir} \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    50
            %{gtk_doc_option}           \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    51
%if %debug_build
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    52
            --enable-debug=yes          \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    53
%else
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    54
            --enable-debug=no           \
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    55
%endif
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    56
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    57
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    58
make -j $CPUS
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
%install
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
make install DESTDIR=$RPM_BUILD_ROOT
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    63
#Clean up unpackaged files
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    64
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    65
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
%clean
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
rm -rf $RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
%files
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
%defattr (-, root, bin)
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
%dir %attr (0755, root, bin) %{_libdir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
%{_libdir}/lib*.so*
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
%changelog
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    76
* Wed Mar 03 2010  [email protected]
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    77
- Bump to 1.0.0
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    78
- Remove clutter-gst-01-build.diff, not needed.
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    79
- Remove uncompatible m4 files
17583
4bedb2bea5ac 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    80
* Tue Feb 23 2010  [email protected]
4bedb2bea5ac 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    81
- Add clutter-gst-01-build.diff, fix build issue.
16343
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    82
* Tue Aug 25 2009  [email protected]
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    83
- Bump to 0.10.0
15965
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    84
* Fri Jun 26 2009  [email protected]
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    85
- Change owner to lin
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    86
* Tue Jul  1 2008  [email protected]
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    87
- Initial build.