Solaris/SUNWlibtheora.spec
author laca
Fri, 14 Oct 2005 19:57:50 +0000
changeset 6102 1e3e35b9a369
parent 5968 a46a145b814c
child 7244 b65ebefa231b
permissions -rw-r--r--
2005-10-14 Laszlo Peter <[email protected]> * SUNWfontconfig.spec: install solaris specific fonts.conf * SUNWjre-config.spec: update to use/depend on firefox * SUNWmozilla.spec: remove * SUNWlibrsvg.spec: update to use/depend on firefox * extra-specs/gnome-netstatus.spec: disable "ne" locale as the po file seems invalid and breaks the build * Solaris.inc: define _ldflags and include -z ignore. * SUNWberkeleydb.spec: remove * extra-specs/db.spec: remove * SUNWPython.spec, SUNWTiff.spec, SUNWaspell-en.spec, SUNWaspell.spec, SUNWbrltty.spec, SUNWevolution-data-server.spec, SUNWevolution-exchange.spec, SUNWevolution-jescs.spec, SUNWevolution-libs.spec, SUNWevolution-webcal.spec: SUNWevolution.spec, SUNWfirefox.spec, SUNWflac.spec, SUNWfsexam.spec, SUNWgnome-a11y-base-libs.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec, SUNWgnome-a11y-libs.spec, SUNWgnome-a11y-poke.spec, SUNWgnome-a11y-reader.spec, SUNWgnome-a11y-speech.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-audio.spec, SUNWgnome-base-libs.spec, SUNWgnome-calculator.spec, SUNWgnome-camera.spec, SUNWgnome-cd-burner.spec, SUNWgnome-cd.spec, SUNWgnome-character-map.spec, SUNWgnome-common-devel.spec, SUNWgnome-component.spec, SUNWgnome-config-editor.spec, SUNWgnome-config.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-dialog.spec, SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec, SUNWgnome-dtlogin-integration.spec, SUNWgnome-file-mgr.spec, SUNWgnome-fonts.spec, SUNWgnome-games.spec, SUNWgnome-help-viewer.spec, SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec, SUNWgnome-img-editor.spec, SUNWgnome-img-viewer.spec, SUNWgnome-javahelp-convert.spec, SUNWgnome-jdshelp.spec, SUNWgnome-libs.spec, SUNWgnome-media-apps.spec, SUNWgnome-media-player.spec, SUNWgnome-media.spec, SUNWgnome-orca.spec, SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec, SUNWgnome-perf-meter.spec, SUNWgnome-pilot-link.spec, SUNWgnome-print.spec, SUNWgnome-project.spec, SUNWgnome-ps-viewer.spec, SUNWgnome-pygtk2.spec, SUNWgnome-python-libs.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-removable-media.spec, SUNWgnome-session.spec, SUNWgnome-spell.spec, SUNWgnome-sys-suspend.spec, SUNWgnome-terminal.spec, SUNWgnome-text-editor.spec, SUNWgnome-themes.spec, SUNWgnome-ui-designer.spec, SUNWgnome-user-docs.spec, SUNWgnome-utils.spec, SUNWgnome-vfs.spec, SUNWgnome-wm.spec, SUNWgnutls.spec, SUNWjpg.spec, SUNWkrb5.spec, SUNWlibcroco.spec, SUNWlibexif.spec, SUNWlibgcrypt.spec, SUNWlibgpg-error.spec, SUNWlibpopt.spec, SUNWlibtheora.spec, SUNWlxml.spec, SUNWlxsl.spec, SUNWmusicbrainz.spec, SUNWogg-vorbis.spec, SUNWopenjade.spec, SUNWopensp.spec, SUNWpng.spec, SUNWpoppler.spec, SUNWspeex.spec, SUNWthunderbird.spec, SUNWxwxft.spec: use %_ldflags or -z ignore and set CFLAGS to %optflags if not already set.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     2
# spec file for package SUNWlibtheora
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     4
# includes module(s): libtheora 
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     5
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     6
# Copyright (c) 2003 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     9
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    10
%include Solaris.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    11
%use theora = libtheora.spec
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    12
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
Name:        SUNWlibtheora
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    14
Summary:     The Theora Video Compression Codec - platform dependent files, /usr filesystem
5968
a46a145b814c s/libtheora.version/theora.version/
laca
parents: 5859
diff changeset
    15
Version:     %{theora.version}
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    16
SUNW_BaseDir:%{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    17
BuildRoot:   %{_tmppath}/%{name}-%{version}-build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    18
Autoreqprov: on
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    19
                                                                                
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    20
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
BuildRequires: SUNWgnome-common-devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
BuildRequires: SUNWogg-vorbis-devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
Requires: SUNWogg-vorbis
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    24
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    25
%package devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
Summary:      The Theora Video Compression Codec - developer files - platform independent, /usr filesystem
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
SUNW_BaseDir: %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    28
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
rm -rf %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
mkdir %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
%theora.prep -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
%build
5784
8560ceee5ce5 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
    36
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
6102
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 5968
diff changeset
    37
export LDFLAGS="%_ldflags"
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 5968
diff changeset
    38
export CFLAGS="%optflags"
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
%theora.build -d %name-%version
5784
8560ceee5ce5 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
    40
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
%theora.install -d %name-%version
5784
8560ceee5ce5 2005-09-09 Laszlo Peter <[email protected]>
laca
parents: 5518
diff changeset
    43
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5849
diff changeset
    44
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5849
diff changeset
    45
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    49
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
%dir %attr (0755, root, bin) %{_libdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
%{_libdir}/libtheora.so*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
 
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
%files devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
%dir %attr (0755, root, bin) %{_libdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    57
%{_libdir}/pkgconfig
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    58
%dir %attr (0755, root, bin) %{_includedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
%{_includedir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    60
%dir %attr (0755, root, sys) %{_datadir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    61
%{_datadir}/doc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    62
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    63
%changelog
5849
43da3a6d776c 2005-09-13 Brian Cameron <[email protected]>
bc99092
parents: 5784
diff changeset
    64
* Tue Sep 13 2005 - [email protected]
43da3a6d776c 2005-09-13 Brian Cameron <[email protected]>
bc99092
parents: 5784
diff changeset
    65
- Now use theora version number.
43da3a6d776c 2005-09-13 Brian Cameron <[email protected]>
bc99092
parents: 5784
diff changeset
    66
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    67
* Tue Jul 26 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
- Add ogg and vorbis dependency
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
* Tue Jul 26 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    71
- Initial spec-file created