SUNWlibtheora.spec
author laca
Tue, 05 Aug 2008 04:33:16 +0000
branchgnome-2-22
changeset 12486 7fa2b2b0dddb
parent 12232 9fe0262dc4e6
child 12965 49530f31c923
permissions -rw-r--r--
2008-08-05 Laszlo (Laca) Peter <[email protected]> * indiana/SUNWgetting-started-guide.spec: bump to 0.7.0; delete patches * patches/getting-started-guide-01-refresh-0.diff: delete * patches/getting-started-guide-02-po.diff: delete * indiana/SUNWopensolaris-welcome.spec: bump to 0.0.6 for bts release

#
# spec file for package SUNWlibtheora
#
# includes module(s): libtheora 
#
# Copyright (c) 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: yippi
#
%include Solaris.inc
%use theora = libtheora.spec

Name:                    SUNWlibtheora
Summary:                 Theora video compression codec
Version:                 %{theora.version}
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
                                                                                
%include default-depend.inc
BuildRequires: SUNWgnome-common-devel
BuildRequires: SUNWogg-vorbis-devel
Requires: SUNWogg-vorbis

%package devel
Summary:      %{summary} - development files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc

%prep
rm -rf %name-%version
mkdir %name-%version
%theora.prep -d %name-%version

%build
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
export LDFLAGS="%_ldflags"
export CFLAGS="%optflags"
%theora.build -d %name-%version

%install
%theora.install -d %name-%version

%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Wed Apr 02 2008 - [email protected]
- Add SUNW_Copyright.
* Sun Jun 11 2006 - [email protected]
- change group from other to bin/sys
* Tue Sep 13 2005 - [email protected]
- Now use theora version number.
* Tue Jul 26 2005 - [email protected]
- Add ogg and vorbis dependency
* Tue Jul 26 2005 - [email protected]
- Initial spec-file created