SUNWclutter.spec
author bewitche
Fri, 20 Feb 2009 08:00:07 +0000
changeset 15178 878f06faf3b6
parent 14643 c3f84f569e31
child 15490 d176006b484b
permissions -rw-r--r--
2009-02-20 Chris Wang <[email protected]> * SUNWclutter.spec * SUNWclutter-gst.spec * SUNWclutter-cairo.spec * SUNWclutter-gtk.spec * manpages/man3/libclutter-glx-0.8.3 * manpages/man3/libclutter-gst-0.8.3 * manpages/man3/libclutter-cairo-0.8.3 * manpages/man3/libclutter-gtk-0.8.3 * SUNWbabl.spec * manpages/man3/libbabl-0.0.3 * SUNWgegl.spec * manpages/man3/libgegl-0.0.3 * manpages/Makefile Add manpages

#
#
# spec file for package SUNWclutter
#
# includes module(s): clutter
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: bewitche

%include Solaris.inc

%use clutter = clutter.spec

Name:                    SUNWclutter
Summary:                 clutter - a library for creating fast, visually rich and animated graphical user interfaces.
Version:                 %{clutter.version}
URL:                     http://www.clutter-project.org/
Source:                  %{name}-manpages-0.1.tar.gz
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:		 SUNWclutter.copyright

%ifnarch sparc
#the packages are only on x86
# ============================================

BuildRoot:               %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWgnome-base-libs
BuildRequires: SUNWgnome-base-libs-devel

%package devel
Summary:                 %{summary} - developer files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
Requires: %name
Requires: SUNWgnome-base-libs-devel

%prep
rm -rf %name-%version
mkdir %name-%version
%clutter.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar -xf -

%build
%clutter.build -d %name-%version


%install
%clutter.install -d %name-%version
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'

cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_mandir}
%{_mandir}/*/*

%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtk-doc
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*

# endif for "ifnarch sparc"
%endif

 
%changelog
* Fri Feb 20 2009  [email protected]
- Add manpage
* Tue Jul  1 2008  [email protected] 
- Initial build.