SUNWlibtheora.spec
author yippi
Wed, 02 Apr 2008 21:09:35 +0000
changeset 12008 122f91921e4b
parent 9397 b16e349d18c5
child 12232 9fe0262dc4e6
permissions -rw-r--r--
2008-04-02 Brian Cameron <[email protected]> * SUNWogg-vorbis.spec, SUNWlibtheora.spec, SUNWgnome-a11y-dasher.spec, copyright/SUNWogg-vorbis.copyright, copyright/SUNWlibtheora.copyright, copyright/SUNWgnome-a11y-dasher.copyright: Add copyright info. * copyright/SUNWspeex.copyright, copyright/SUNWflac.copyright, copyright/SUNWliboil.copyright: In review I discovered that the COPYING file had additional licensing information. * copyright/SUNWgnome-media.copyright: Add Sun copyright info since we add patches.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWlibtheora
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): libtheora 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
     6
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use theora = libtheora.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    15
Name:                    SUNWlibtheora
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    16
Summary:                 Theora video compression codec
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    17
Version:                 %{theora.version}
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    18
SUNW_BaseDir:            %{_basedir}
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    19
SUNW_Copyright:          %{name}.copyright
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    20
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Autoreqprov: on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRequires: SUNWgnome-common-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRequires: SUNWogg-vorbis-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWogg-vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:      %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_BaseDir: %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%theora.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%theora.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%theora.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%{_libdir}/libtheora.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%dir %attr (0755, root, other) %{_datadir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%{_datadir}/doc/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%changelog
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    69
* Wed Apr 02 2008 - [email protected]
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    70
- Add SUNW_Copyright.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
- Now use theora version number.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
- Add ogg and vorbis dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
- Initial spec-file created