SUNWogg-vorbis.spec
author laca
Mon, 14 Jul 2008 09:46:17 +0000
branchgnome-2-22
changeset 12466 cc05ce1b1d3e
parent 12263 930dc7240f6a
child 13574 164d399fe546
permissions -rw-r--r--
2008-07-14 Laszlo (Laca) Peter <[email protected]> * indiana/indiana-branded.speclist: add SUNWevolution-exchange.spec because of its optional dependency on Berkeley DB * SUNWgnome-media.spec: s/CBEbison/SUNWbison/
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 SUNWogg-vorbis.spec
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): libogg, libvorbis
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
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    13
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    14
%include arch64.inc
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    15
%use libogg64 = libogg.spec
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    16
%use libvorbis64 = libvorbis.spec
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    17
%endif
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    18
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    19
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%use libogg = libogg.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
%use libvorbis = libvorbis.spec
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
Name:                    SUNWogg-vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Summary:                 Ogg bitstream and Vorbis audio codec libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
SUNW_BaseDir:            %{_basedir}
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    28
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
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: CBEbison
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
mkdir %name-%version
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    45
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    46
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    47
mkdir %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    48
%libogg64.prep -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    49
%libvorbis64.prep -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    50
%endif
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    51
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    52
mkdir %name-%version/%{base_arch}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    53
%libogg.prep -d %name-%version/%{base_arch}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    54
%libvorbis.prep -d %name-%version/%{base_arch}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    55
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%build
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    60
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    61
%libogg64.build -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    62
export PKG_CONFIG_PATH=%{_builddir}/%name-%version/%{_arch64}/libogg-%{libogg.version}:%{_pkg_config_path}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    63
%libvorbis64.build -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    64
unset PKG_CONFIG_PATH
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    65
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    67
%libogg.build -d %name-%version/%{base_arch}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    68
export PKG_CONFIG_PATH=%{_builddir}/%name-%version/%{base_arch}/libogg-%{libogg.version}:%{_pkg_config_path}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    69
%libvorbis.build -d %name-%version/%{base_arch}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%install
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    72
rm -rf $RPM_BUILD_ROOT
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    73
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    74
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    75
%libogg64.install -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    76
%libvorbis64.install -d %name-%version/%_arch64
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    77
%endif
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    78
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    79
%libogg.install -d %name-%version/%{base_arch}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    80
%libvorbis.install -d %name-%version/%{base_arch}
9397
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
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    87
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    88
rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*a
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
    89
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{?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
    92
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_libdir}/lib*.so*
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   100
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   101
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   102
%{_libdir}/%{_arch64}/lib*.so*
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   103
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%dir %attr (0755, root, bin) %{_libdir}
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   108
%ifarch amd64 sparcv9
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   109
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   110
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   111
%{_libdir}/%{_arch64}/pkgconfig/*
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   112
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
%dir %attr(0755, root, bin) %{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
%{_mandir}/man3/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
%changelog
12263
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12252
diff changeset
   126
* Wed May 07 2008 - [email protected]
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12252
diff changeset
   127
- Remove PERL5LIB setting as it is not necessary.
12252
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   128
* Mon May 05 2008 - [email protected]
7f1d15ed6bbf 2008-05-05 Brian Cameron <[email protected]>
yippi
parents: 12008
diff changeset
   129
- Port amd64 building from SFEogg-vorbis.spec
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   130
* Wed Apr 02 2008 - [email protected]
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   131
- Add SUNW_Copyright.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Mon Sep 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Mon Sep 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
* Thu Sep 09 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
- Added libogg.3, libvorbis.3 manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Sat Jun 26 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- changed install location to /usr/lib and /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Fri Jun 04 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Initial spec-file created