Solaris/SUNWgnome-cd.spec
author laca
Fri, 14 Oct 2005 19:57:50 +0000
changeset 6102 1e3e35b9a369
parent 6003 5bcfbdd7bcf1
child 6169 dd075fed44d1
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 SUNWgnome-cd
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): sound-juicer
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) 2004 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
                                                                                
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    11
%include Solaris.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    12
%use soundjuicer = sound-juicer.spec
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
6003
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
    14
#Name:                    SUNWgnome-cd
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
    15
Name:                    SUNWfoo
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    16
Summary:                 CD ripping tool - platform dependent files, /usr filesystem
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5799
diff changeset
    17
Version:                 %{default_pkg_version}
6003
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
    18
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
    19
%if 0
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    20
Patch1:                  sound-juicer-01-solaris.diff
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
                                                                                
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    24
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    25
BuildRequires: SUNWgnome-javahelp-convert
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
BuildRequires: SUNWmusicbrainz-devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
BuildRequires: SUNWgnome-cd-burner-devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-media-apps-devel
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
Requires: SUNWmusicbrainz
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
Requires: SUNWgnome-cd-burner
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
Requires: SUNWgnome-media-apps
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
%package share
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
Summary:                 CD ripping tool - platform independent files, /usr/share
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    36
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
%package l10n
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
Summary:                 %{summary} - l10n files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    40
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
Requires:                %{name}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
%package root
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    45
Summary:                 CD ripping tool - platform dependent files, / filesystem
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
SUNW_BaseDir:            /
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
%include default-depend.inc
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
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
rm -rf %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
mkdir %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
%soundjuicer.prep -d %name-%version
5799
2f964ba8d2bb update for new pkgbuild
laca
parents: 5518
diff changeset
    53
cd %{_builddir}/%name-%version/sound-juicer-%{soundjuicer.version}
2f964ba8d2bb update for new pkgbuild
laca
parents: 5518
diff changeset
    54
# FIXME: why is this Solaris specific??
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
%patch1 -p1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
cd ..
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    57
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    58
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
6102
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 6003
diff changeset
    60
export LDFLAGS="%_ldflags"
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 6003
diff changeset
    61
export CFLAGS="%optflags"
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    62
%soundjuicer.build -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    63
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    64
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    65
%soundjuicer.install -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    66
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    67
SCHEMAS="sound-juicer.schemas"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
  %{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
done
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    71
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
for f in apps/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    73
         schemas/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    74
         schemas/apps/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    75
    ; do
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    76
  test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    77
    rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    78
done
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5799
diff changeset
    80
%{?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: 5799
diff changeset
    81
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    82
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    84
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    85
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    86
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    87
%dir %attr (0755, root, bin) %{_bindir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    88
%{_bindir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    89
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    90
%files share
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    91
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    92
%dir %attr (0755, root, sys) %{_datadir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    93
%{_datadir}/applications
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    94
%{_datadir}/gnome/help/*/C
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    95
%{_datadir}/gnome/javahelp/*/C
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    96
%{_datadir}/omf/*/*-C.omf
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    97
%{_datadir}/pixmaps
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    98
%{_datadir}/sound-juicer
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    99
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   100
%files l10n
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   101
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   102
%dir %attr (0755, root, sys) %{_datadir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   103
%{_datadir}/locale
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   104
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   105
%files root
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   106
%attr (0755, root, sys) %dir %{_sysconfdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   107
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   108
%{_sysconfdir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   109
%defattr (0755, root, sys)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   110
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   111
%changelog
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   112
* Mon Jul 25 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   113
- Add dependency SUNWgnome-media-apps, SUNWmusicbrainz
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   114
  and SUNWgnome-cd-burner
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   115
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   116
* Fri Jul 22 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   117
- Changed the name to SUNWgnome-cd from SUNWsound-juicer
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   118
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   119
* Thu Jul 07 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   120
- Initial spec-file created
6003
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
   121
%endif