base-specs/clutter-gst.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-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
17754
5e353f7fabdf 2010-03-26 Lin Ma <[email protected]>
lin
parents: 17645
diff changeset
    15
Version:      1.0.0
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: 17754
diff changeset
    20
Vendor:       clutter-project.org
17754
5e353f7fabdf 2010-03-26 Lin Ma <[email protected]>
lin
parents: 17645
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} \
17754
5e353f7fabdf 2010-03-26 Lin Ma <[email protected]>
lin
parents: 17645
diff changeset
    50
            %{gtk_doc_option}           \
17628
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
17754
5e353f7fabdf 2010-03-26 Lin Ma <[email protected]>
lin
parents: 17645
diff changeset
    76
* Fri Mar 26 2010 [email protected]
5e353f7fabdf 2010-03-26 Lin Ma <[email protected]>
lin
parents: 17645
diff changeset
    77
- Revert to 1.0.0
17645
7de42ac053dd 2010-03-08 Halton Huo <[email protected]>
halton
parents: 17628
diff changeset
    78
* Mon Mar 08 2010 [email protected]
7de42ac053dd 2010-03-08 Halton Huo <[email protected]>
halton
parents: 17628
diff changeset
    79
- Revert to 0.10.0, hold bumping until new OSR filed.
17628
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    80
* Wed Mar 03 2010  [email protected]
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    81
- Bump to 1.0.0
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    82
- Remove clutter-gst-01-build.diff, not needed.
5b39ad43a05b 2010-03-03 Halton Huo <[email protected]>
halton
parents: 17583
diff changeset
    83
- Remove uncompatible m4 files
17583
4bedb2bea5ac 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    84
* Tue Feb 23 2010  [email protected]
4bedb2bea5ac 2010-02-23 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    85
- Add clutter-gst-01-build.diff, fix build issue.
16343
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    86
* Tue Aug 25 2009  [email protected]
cd4f352970ed 2009-08-25 Lin Ma <[email protected]>
lin
parents: 15965
diff changeset
    87
- Bump to 0.10.0
15965
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    88
* Fri Jun 26 2009  [email protected]
6dc740d502ad 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    89
- Change owner to lin
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    90
* Tue Jul  1 2008  [email protected]
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    91
- Initial build.