SUNWlibtheora.spec
author wangke
Mon, 19 Oct 2009 08:12:22 +0000
changeset 16807 7e525fdc53c0
parent 16805 ea058114c717
permissions -rw-r--r--
2009-10-19 Ke Wang <[email protected]> * SUNWlibtheora.spec: Fix typo.
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16365
diff changeset
    10
%define owner jerrytan
9397
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
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    13
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    14
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    15
%include arch64.inc
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    16
%use libtheora_64 = libtheora.spec
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    17
%endif
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    18
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    19
%include base.inc
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    20
%use libtheora = libtheora.spec
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    22
Name:                    SUNWlibtheora
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    23
Summary:                 Theora video compression codec
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    24
Version:                 %{libtheora.version}
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    25
Source:                  %{name}-manpages-0.1.tar.gz
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    26
SUNW_BaseDir:            %{_basedir}
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    27
SUNW_Copyright:          %{name}.copyright
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    28
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Autoreqprov: on
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    30
9397
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
BuildRequires: SUNWgnome-common-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildRequires: SUNWogg-vorbis-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: SUNWogg-vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Summary:      %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
SUNW_BaseDir: %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
mkdir %name-%version
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    44
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    45
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    46
mkdir %name-%version/%_arch64
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    47
%libtheora_64.prep -d %name-%version/%_arch64
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    48
%endif
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    49
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    50
mkdir %name-%version/%base_arch
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    51
%libtheora.prep -d %name-%version/%base_arch
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    52
16543
d51c4aa2171c 2009-09-13 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    53
cd %{_builddir}/%name-%version*
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    54
gzcat %SOURCE0 | tar xf -
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    58
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    59
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    60
export PKG_CONFIG_LIBDIR=%{_pkg_config_path64}
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    61
%libtheora_64.build -d %name-%version/%_arch64
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    62
%endif
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    63
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    64
export PKG_CONFIG_LIBDIR=%{_pkg_config_path}
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    65
%libtheora.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%install
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    68
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    69
%libtheora_64.install -d %name-%version/%_arch64
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    70
%endif
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    71
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    72
%libtheora.install -d %name-%version/%base_arch
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    73
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    74
rm -rf $RPM_BUILD_ROOT%{_mandir}
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    75
cd %{_builddir}/%name-%version/sun-manpages
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    76
make install DESTDIR=$RPM_BUILD_ROOT
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    77
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    78
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man3/*.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%{?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
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr (0755, root, bin) %{_libdir}
12965
49530f31c923 downgrade libtheora to 1.0alpha7, due to bug 6722237
jerrytan
parents: 12232
diff changeset
    88
%{_libdir}/*.so*
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    89
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    90
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    91
%{_libdir}/%{_arch64}/*.so*
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    92
%endif
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    93
%dir %attr (0755, root, sys) %{_datadir}
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    94
%doc -d %{base_arch}/libtheora-%{libtheora.tarball_version} AUTHORS README
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    95
%doc(bzip2) -d %{base_arch}/libtheora-%{libtheora.tarball_version} COPYING CHANGES
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    96
%dir %attr (0755, root, other) %{_datadir}/doc
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
    97
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%{_libdir}/pkgconfig/*
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   103
%ifarch amd64 sparcv9
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   104
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   105
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   106
%{_libdir}/%{_arch64}/pkgconfig/*.pc
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   107
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%dir %attr (0755, root, other) %{_datadir}/doc
16807
7e525fdc53c0 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16805
diff changeset
   112
%dir %attr (0755, root, other) %{_datadir}/doc/libtheora-%{libtheora.tarball_version}
7e525fdc53c0 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16805
diff changeset
   113
%{_datadir}/doc/libtheora-%{libtheora.tarball_version}/*
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
   114
%dir %attr (0755, root, bin) %{_mandir}
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
   115
%dir %attr (0755, root, bin) %{_mandir}/man3
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
   116
%{_mandir}/man3/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%changelog
16805
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   119
* Mon Oct 19 2009 - [email protected]
ea058114c717 2009-10-19 Ke Wang <[email protected]>
wangke
parents: 16796
diff changeset
   120
- Add 64-bit support.
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
   121
* Fri Sep 12 2008 - [email protected]
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
   122
- Add new copyright files.
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   123
* Wed Apr 02 2008 - [email protected]
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   124
- Add SUNW_Copyright.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Now use theora version number.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- Add ogg and vorbis dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Initial spec-file created