SUNWclutter-cairo.spec
author davelam
Sat, 18 Apr 2009 12:26:03 +0000
changeset 15650 dbcf7e3715dd
parent 15505 eda5edc1c3e4
child 15965 6dc740d502ad
permissions -rw-r--r--
2009-04-18 Dave Lin <[email protected]> Update dependencies for the following spec files: o move the dependencies to the split gnome-base-libs o add other missed dependencies
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
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     3
# spec file for package SUNWclutter-cairo
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     4
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     5
# includes module(s): clutter-cairo
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     6
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     7
# Copyright 2008 Sun Microsystems, Inc.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     8
# This file and all modifications and additions to the pristine
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     9
# package are under the same license as the package itself.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    10
#
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    11
# Owner: bewitche
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    12
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    13
%include Solaris.inc
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
%use cluttercairo = clutter-cairo.spec
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    15
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
Name:                    SUNWclutter-cairo
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
Summary:                 clutter-cairo - An experimental clutter cairo 'drawable' actor.
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Version:                 %{cluttercairo.version}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
URL:                     http://www.clutter-project.org/
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    20
Source:                  %{name}-manpages-0.1.tar.gz
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
SUNW_Copyright:		 SUNWclutter-cairo.copyright
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
%ifnarch sparc
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
#packages are only for x86
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
%include default-depend.inc
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
Requires: SUNWclutter
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
%package devel
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
Summary:                 %{summary} - developer files
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
SUNW_BaseDir:            %{_basedir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
%include default-depend.inc
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
Requires: %name
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
Requires: SUNWclutter-devel
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
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
%prep
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
rm -rf %name-%version
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
mkdir %name-%version
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
%cluttercairo.prep -d %name-%version/
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    43
cd %{_builddir}/%name-%version
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    44
gzcat %SOURCE0 | tar -xf -
14643
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
%build
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
export CFLAGS="%optflags -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
export LDFLAGS="%_ldflags -lglib-2.0 -lgobject-2.0 -lm"
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
%cluttercairo.build -d %name-%version/
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
%install
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
%cluttercairo.install -d %name-%version/
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    56
cd %{_builddir}/%name-%version/sun-manpages
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    57
make install DESTDIR=$RPM_BUILD_ROOT
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
%clean
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
rm -rf $RPM_BUILD_ROOT
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
%files
15505
eda5edc1c3e4 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    62
%doc -d clutter-cairo-%{cluttercairo.version} AUTHORS README
eda5edc1c3e4 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    63
%doc(bzip2) -d clutter-cairo-%{cluttercairo.version} ChangeLog COPYING NEWS
eda5edc1c3e4 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    64
%dir %attr (0755, root, other) %{_datadir}/doc
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
%defattr (-, root, bin)
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
%dir %attr (0755, root, bin) %{_libdir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
%{_libdir}/lib*.so*
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    68
%dir %attr (0755, root, sys) %{_datadir}
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    69
%dir %attr (0755, root, bin) %{_mandir}
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    70
%{_mandir}/*/*
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
%files devel
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
%defattr (-, root, bin)
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
%dir %attr (0755, root, bin) %{_libdir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
%{_libdir}/pkgconfig/*
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
%dir %attr (0755, root, bin) %{_includedir}
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
%{_includedir}/*
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    81
%endif
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    82
%changelog
15505
eda5edc1c3e4 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    83
* Thu Mar 26 2009  [email protected]
eda5edc1c3e4 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    84
- Correct copyright file in file section
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    85
* Fri Feb 20 2009  [email protected]
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 14643
diff changeset
    86
- Add manpage
14643
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    87
* Tue Jul  1 2008  [email protected] 
c3f84f569e31 2008-11-24 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    88
- Initial build.