Solaris/SUNWgnome-cd.spec
author laca
Sun, 26 Feb 2006 19:58:47 +0000
changeset 6846 d7b3d432d5cb
parent 6781 6150399823ea
child 6982 7dcffad38e1b
permissions -rw-r--r--
2006-02-26 Laszlo Peter <[email protected]> * SUNWevolution.spec, SUNWfirefox.spec, SUNWfsexam.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec, SUNWgnome-a11y-reader.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-calculator.spec, SUNWgnome-camera.spec, SUNWgnome-cd.spec, SUNWgnome-character-map.spec, SUNWgnome-config-editor.spec, SUNWgnome-crash-report.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-dialog.spec, SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec, SUNWgnome-file-mgr.spec, SUNWgnome-games.spec, SUNWgnome-gui-test.spec, SUNWgnome-help-viewer.spec, SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec, SUNWgnome-img-editor.spec, SUNWgnome-img-viewer.spec, SUNWgnome-libs.spec, SUNWgnome-media-apps.spec, SUNWgnome-media-player.spec, SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec, SUNWgnome-perf-meter.spec, SUNWgnome-pilot.spec, SUNWgnome-print.spec, SUNWgnome-project.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-screensaver.spec, SUNWgnome-session.spec, SUNWgnome-terminal.spec, SUNWgnome-text-editor.spec, SUNWgnome-ui-designer.spec, SUNWgnome-user-docs.spec, SUNWgnome-utils.spec, SUNWgnome-wm.spec, SUNWlibpopt.spec, SUNWlibrsvg.spec, SUNWthunderbird.spec: Add %post/%postun scripts for scrollkeeper-update for pkgs that have omf files; add %postun scripts for update-desktop-database for pkgs that already have %post scripts for update-desktop-database; add missing SUNWpostrun dependencies.
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
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6781
diff changeset
    20
# FIXME: add post/postun scripts when removing %if 0
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
Patch1:                  sound-juicer-01-solaris.diff
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
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
%include default-depend.inc
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
6781
6150399823ea 2006-02-16 Damien Carbery <[email protected]>
dc144907
parents: 6298
diff changeset
    29
BuildRequires: SUNWgnome-cd-burner-devel
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
Requires: SUNWmusicbrainz
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
Requires: SUNWgnome-cd-burner
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
Requires: SUNWgnome-media-apps
6781
6150399823ea 2006-02-16 Damien Carbery <[email protected]>
dc144907
parents: 6298
diff changeset
    33
Requires: SUNWgnome-cd-burner
5518
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
%package share
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    36
Summary:                 CD ripping tool - platform independent files, /usr/share
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
6169
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    40
%if %build_l10n
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
%package l10n
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
Summary:                 %{summary} - l10n files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    45
Requires:                %{name}
6169
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    46
%endif
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
%package root
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    49
Summary:                 CD ripping tool - platform dependent files, / filesystem
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
SUNW_BaseDir:            /
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
rm -rf %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
mkdir %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
%soundjuicer.prep -d %name-%version
5799
2f964ba8d2bb update for new pkgbuild
laca
parents: 5518
diff changeset
    57
cd %{_builddir}/%name-%version/sound-juicer-%{soundjuicer.version}
2f964ba8d2bb update for new pkgbuild
laca
parents: 5518
diff changeset
    58
# FIXME: why is this Solaris specific??
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
%patch1 -p1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    60
cd ..
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    61
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    62
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    63
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
6102
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 6003
diff changeset
    64
export LDFLAGS="%_ldflags"
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 6003
diff changeset
    65
export CFLAGS="%optflags"
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    66
%soundjuicer.build -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    67
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
%soundjuicer.install -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
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
    71
SCHEMAS="sound-juicer.schemas"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    73
  %{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    74
done
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    75
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    76
for f in apps/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    77
         schemas/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    78
         schemas/apps/?gconf.xml \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
    ; do
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    80
  test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    81
    rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    82
done
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    83
6169
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    84
%if %build_l10n
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    85
%else
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    86
# REMOVE l10n FILES
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    87
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    88
%endif
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
    89
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5799
diff changeset
    90
%{?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
    91
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    92
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    93
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    94
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    95
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    96
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    97
%dir %attr (0755, root, bin) %{_bindir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    98
%{_bindir}/*
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 share
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}/applications
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   104
%{_datadir}/gnome/help/*/C
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   105
%{_datadir}/omf/*/*-C.omf
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   106
%{_datadir}/pixmaps
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   107
%{_datadir}/sound-juicer
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   108
6169
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
   109
%if %build_l10n
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   110
%files l10n
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   111
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   112
%dir %attr (0755, root, sys) %{_datadir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   113
%{_datadir}/locale
6169
dd075fed44d1 2005-10-24 Laszlo Peter <[email protected]>
laca
parents: 6102
diff changeset
   114
%endif
5518
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
%files root
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   117
%attr (0755, root, sys) %dir %{_sysconfdir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   118
%defattr (-, root, other)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   119
%{_sysconfdir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   120
%defattr (0755, root, sys)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   121
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   122
%changelog
6781
6150399823ea 2006-02-16 Damien Carbery <[email protected]>
dc144907
parents: 6298
diff changeset
   123
* Thu Feb 16 2006 - [email protected]
6150399823ea 2006-02-16 Damien Carbery <[email protected]>
dc144907
parents: 6298
diff changeset
   124
- Update Build/Requires after running check-deps.pl script.
6150399823ea 2006-02-16 Damien Carbery <[email protected]>
dc144907
parents: 6298
diff changeset
   125
6298
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6169
diff changeset
   126
* Tue Nov 29 2005 - laca.com
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6169
diff changeset
   127
- remove javahelp stuff
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6169
diff changeset
   128
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   129
* Mon Jul 25 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   130
- Add dependency SUNWgnome-media-apps, SUNWmusicbrainz
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   131
  and SUNWgnome-cd-burner
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   132
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   133
* Fri Jul 22 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   134
- Changed the name to SUNWgnome-cd from SUNWsound-juicer
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   135
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   136
* Thu Jul 07 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   137
- Initial spec-file created
6003
5bcfbdd7bcf1 2005-09-24 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
   138
%endif