SUNWlibtheora.spec
author davelam
Sun, 13 Sep 2009 02:30:18 +0000
changeset 16543 d51c4aa2171c
parent 16434 f21f22550fe9
child 16796 73be3a71fc4d
permissions -rw-r--r--
2009-09-13 Dave Lin <[email protected]> * SUNWraptor.spec: Add 'Summary'. * SUNWlibtheora.spec: * base-specs/libtheora.spec: Correction version number which is required as digit + dot only.
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
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}
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    18
Source:                  %{name}-manpages-0.1.tar.gz
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Autoreqprov: on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRequires: SUNWgnome-common-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRequires: SUNWogg-vorbis-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWogg-vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Summary:      %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
SUNW_BaseDir: %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%theora.prep -d %name-%version
16543
d51c4aa2171c 2009-09-13 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    38
cd %{_builddir}/%name-%version*
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    39
gzcat %SOURCE0 | tar xf -
9397
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%theora.build -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
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%theora.install -d %name-%version
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    49
rm -rf $RPM_BUILD_ROOT%{_mandir}
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    50
cd %{_builddir}/%name-%version/sun-manpages
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    51
make install DESTDIR=$RPM_BUILD_ROOT
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    52
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    53
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man3/*.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%{?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
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_libdir}
12965
49530f31c923 downgrade libtheora to 1.0alpha7, due to bug 6722237
jerrytan
parents: 12232
diff changeset
    63
%{_libdir}/*.so*
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    64
%dir %attr (0755, root, sys) %{_datadir}
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    65
%doc -d libtheora-%{theora.tarball_version} AUTHORS README
13598
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 13574
diff changeset
    66
%doc(bzip2) -d libtheora-%{theora.tarball_version} COPYING CHANGES
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    67
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr (0755, root, other) %{_datadir}/doc
16365
6e802c0bdb9a fix build error
jerrytan
parents: 15535
diff changeset
    78
%dir %attr (0755, root, other) %{_datadir}/doc/libtheora-1.1beta3
6e802c0bdb9a fix build error
jerrytan
parents: 15535
diff changeset
    79
%{_datadir}/doc/libtheora-1.1beta3/*
15535
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    80
%dir %attr (0755, root, bin) %{_mandir}
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    81
%dir %attr (0755, root, bin) %{_mandir}/man3
9971c2adc087 update for manpage
jerrytan
parents: 14693
diff changeset
    82
%{_mandir}/man3/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%changelog
13574
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    85
* Fri Sep 12 2008 - [email protected]
164d399fe546 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 12965
diff changeset
    86
- Add new copyright files.
12008
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    87
* Wed Apr 02 2008 - [email protected]
122f91921e4b 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    88
- Add SUNW_Copyright.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Now use theora version number.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- Add ogg and vorbis dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- Initial spec-file created