SUNWgnome-media-apps.spec
author hawklu
Fri, 18 Jul 2008 08:53:12 +0000
branchgnome-2-22
changeset 12476 3a21fc945607
parent 12263 930dc7240f6a
child 12577 50cc056d0d0f
permissions -rw-r--r--
* patches/firefox3-11-getting-started-bookmark.diff: change the default homepage and bookmark to opensolaris welcome page
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 packages SUNWgnome-media, SUNWgnome-freedb-libs,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#                        SUNWgnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# includes module(s): gnome-media
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
#
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
     7
# Copyright 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# 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
     9
# 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
    10
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
# Add --with-gnome-cd when calling pkgtool if you want to build 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
# gnome-cd.  We normally don't build/ship this program, but this
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
# option is available for those who want to test with it or 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
# rebuild with gnome-cd because they want to use it.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
#
9480
dc5f892901ab Undo commit where %build_with_gnome_cd was hardcoded - it was the wrong change.
dcarbery
parents: 9470
diff changeset
    20
%define build_with_gnome_cd %{?_with_gnome_cd:1}%{?!_with_gnome_cd:0}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%use gmedia = gnome-media.spec
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
Name:                    SUNWgnome-media-apps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Summary:                 GNOME media components
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
SUNW_BaseDir:            %{_basedir}
12009
6efd4a25d43c 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 11849
diff changeset
    29
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
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
BuildRequires: SUNWgnome-audio-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: SUNWgnome-media-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires: CBEbison
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: SUNWgnome-cd-burner-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires: SUNWgnome-media
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires: SUNWgnome-media-apps-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: SUNWgnome-cd-burner
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
Requires: SUNWgnome-config
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%package -n SUNWgnome-freedb-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
Summary:                 GNOME free CD database access library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
Requires: SUNWgnome-freedb-libs-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
Requires: SUNWpostrun
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
%package -n SUNWgnome-freedb-libs-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
Summary:                 GNOME free CD database access library - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
Requires: SUNWgnome-config
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
%package -n SUNWgnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
Summary:                 GNOME sound recording utilities
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
Requires: SUNWgnome-sound-recorder-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
Requires: SUNWgnome-audio
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
Requires: SUNWgnome-media
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
Requires: SUNWgnome-media-apps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
Requires: SUNWpostrun
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
%package -n SUNWgnome-sound-recorder-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
Summary:                 GNOME sound recording utilities - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
Requires: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%gmedia.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
# Note that including  __STDC_VERSION n CFLAGS for gnome-media breaks the S9
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
# build for gstreamer,  gst-plugins, and gnome-media, so not including for them.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
%gmedia.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
%gmedia.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
chmod 755 $RPM_BUILD_ROOT%{_mandir}/man1/*.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
# Move gnome-cd to gnome-CD since gnome-cd is a symlink to
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
# sound-juicer.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
%if %build_with_gnome_cd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
mv $RPM_BUILD_ROOT%{_bindir}/gnome-cd $RPM_BUILD_ROOT%{_bindir}/gnome-CD
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
# Remove .la and .a file as we don't ship them.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/lib*.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/lib*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-??_??.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
%{?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
   161
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%post -n SUNWgnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%postun -n SUNWgnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%post -n SUNWgnome-sound-recorder-root
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
   183
%include gconf-install.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%preun -n SUNWgnome-sound-recorder-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
  echo 'schemas="$SDIR/gnome-sound-recorder.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
%post root
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
   219
%include gconf-install.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
  echo 'schemas="$SDIR/gnome-audio-profiles.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
%if %build_with_gnome_cd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
  echo '         $SDIR/gnome-cd.schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
  echo '         $SDIR/gnome-volume-control.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
%post -n SUNWgnome-freedb-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
%postun -n SUNWgnome-freedb-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
%post -n SUNWgnome-freedb-libs-root
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
   259
%include gconf-install.script
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
%preun -n SUNWgnome-freedb-libs-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
  echo '  echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
  echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
  echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
  echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
  echo 'schemas="$SDIR/CDDB-Slave2.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
  echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
%{_bindir}/gnome-audio-profiles-properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
%{_bindir}/gnome-volume-control
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
%{_bindir}/gstreamer-properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
%{_libdir}/libgnome-media*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
%{_libdir}/libglade/2.0/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
%{_datadir}/applications/gstreamer-properties.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
%{_datadir}/applications/gnome-volume-control.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
%{_datadir}/gnome/help/gnome-volume-control/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
%{_datadir}/gnome/help/gstreamer-properties/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
%{_datadir}/gnome-media
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
%{_datadir}/gstreamer-properties
10529
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   295
%dir %attr (-, root, other) %{_datadir}/icons
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   296
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   297
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   298
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   299
%{_datadir}/icons/hicolor/48x48/apps/gstreamer-properties.png
11849
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   300
%{_datadir}/omf/*/gstreamer-properties-C.omf
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   301
%{_datadir}/omf/gnome-sound-recorder/gnome-sound-recorder-C.omf
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   302
%{_datadir}/omf/gnome-volume-control/gnome-volume-control-C.omf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
%{_mandir}/man1/gnome-audio-profiles-properties.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
%{_mandir}/man1/gnome-volume-control.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
%{_mandir}/man1/gst*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
%if %build_with_gnome_cd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   309
%{_bindir}/gnome-CD
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   310
%{_datadir}/applications/gnome-cd.desktop
10529
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   311
%dir %attr (0755, root, other) %{_datadir}/pixmaps
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   312
%{_datadir}/pixmaps/gnome-cd.png
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   313
%{_datadir}/pixmaps/gnome-cd/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   314
%{_datadir}/gnome/help/gnome-cd/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   315
%{_datadir}/omf/*/gnome-cd-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   316
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   318
%files -n SUNWgnome-freedb-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   319
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   320
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   321
%{_bindir}/cddb-slave2-properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   322
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   323
%{_libexecdir}/CDDBSlave2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   324
%{_libexecdir}/cddb-track-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   325
%{_libdir}/bonobo/servers/GNOME_Media_CDDBSlave2.server
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   326
%{_libdir}/libcddb-slave2*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   327
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   328
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   329
%{_datadir}/applications/cddb-slave.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   330
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   331
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   332
%{_mandir}/man1/cddb-slave2-properties.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   333
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   334
%files -n SUNWgnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   335
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   336
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   337
%{_bindir}/gnome-sound-recorder
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   338
%{_bindir}/vumeter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   339
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   340
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   341
%{_datadir}/applications/gnome-sound-recorder.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   342
%{_datadir}/applications/reclevel.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   343
%{_datadir}/applications/vumeter.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   344
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   345
%{_datadir}/gnome/help/gnome-sound-recorder/C
10529
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   346
#FIXME: Not in 2.20.0 tarball:%{_datadir}/omf/*/grecord-C.omf 
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   347
%{_datadir}/gnome-sound-recorder
10529
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   348
#FIXME: Not in 2.20.0 tarball:%dir %attr (0755, root, other) %{_datadir}/pixmaps
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   349
#FIXME: Not in 2.20.0 tarball:%{_datadir}/pixmaps/gnome-mixer.png
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   350
%dir %attr (-, root, other) %{_datadir}/icons
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   351
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   352
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   353
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   354
%{_datadir}/icons/hicolor/48x48/apps/gnome-grecord.png
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   355
%{_datadir}/icons/hicolor/48x48/apps/gnome-reclevel.png
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   356
%{_datadir}/icons/hicolor/48x48/apps/gnome-vumeter.png
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   357
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   358
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   359
%{_mandir}/man1/gnome-sound-recorder.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   360
%{_mandir}/man1/vumeter.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   361
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   362
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   363
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   364
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   365
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   366
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   367
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   368
%{_datadir}/gnome/help/*/[a-z]*
11849
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   369
%{_datadir}/omf/*/*-[a-z][a-z].omf
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   370
#FIXME: Not in 2.22.0:%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   371
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   372
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   373
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   374
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   375
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   376
%{_sysconfdir}/gconf/schemas/gnome-audio-profiles.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   377
%{_sysconfdir}/gconf/schemas/gnome-volume-control.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   378
%if %build_with_gnome_cd
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   379
%{_sysconfdir}/gconf/schemas/gnome-cd.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   380
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   381
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   382
%files -n SUNWgnome-freedb-libs-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   383
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   384
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   385
%{_sysconfdir}/gconf/schemas/CDDB-Slave2.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   386
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   387
%files -n SUNWgnome-sound-recorder-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   388
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   389
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   390
%{_sysconfdir}/gconf/schemas/gnome-sound-recorder.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   391
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   392
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   395
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   396
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
%{_includedir}/cddb-slave2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
%{_includedir}/gnome-media/profiles
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   401
%{_datadir}/idl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
%changelog
12263
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12009
diff changeset
   404
* Wed May 07 2008 - [email protected]
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12009
diff changeset
   405
- Remove PERL5LIB setting as it is not necessary.
12009
6efd4a25d43c 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 11849
diff changeset
   406
* Wed Apr 02 2008 - [email protected]
6efd4a25d43c 2008-04-02 Brian Cameron <[email protected]>
yippi
parents: 11849
diff changeset
   407
- Add SUNW_Copyright.
11849
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   408
* Wed Mar 12 2008 - [email protected]
03536f727ef4 2008-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 11370
diff changeset
   409
- Update %files for new tarball.
11370
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
   410
* Thu Jan  3 2008 - [email protected]
338c15c66cee 2008-01-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10624
diff changeset
   411
- use gconf-install.script instead of an inline script
10624
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10549
diff changeset
   412
* Mon Oct  8 2007 - [email protected]
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10549
diff changeset
   413
- Remove some icons from base package because they are already in
303de5c195ab 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10549
diff changeset
   414
  SUNWgnome-sound-recorder. Fixes 6613798.
10529
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   415
* Wed Sep 19 2007 - [email protected]
e2304e49754a 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10452
diff changeset
   416
- Update %files for 2.20.0 tarball - remove omf files and move png files.
10452
ff30bfb86f5a 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 9480
diff changeset
   417
* Wed Sep 05 2007 - [email protected]
ff30bfb86f5a 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 9480
diff changeset
   418
- Remove references to SUNWgnome-a11y-base-libs as its contents have been
ff30bfb86f5a 2007-09-05 Damien Carbery <[email protected]>
dcarbery
parents: 9480
diff changeset
   419
  moved to SUNWgnome-base-libs.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
* Wed Jan 24 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
- Change %with_cd to %build_with_gnome_cd with suggestions from Laca.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
* Tue Jan 23 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
- Add %with_cd logic so it is easier to build with gnome-cd if desired.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
* Mon Oct 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
- Remove the '-rf' from the 'rm *.la *.a' lines so that any changes to the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
  module source will be seen as a build error and action can be taken.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
* Mon Sep 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   428
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   429
* Mon Aug 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   430
- Fix l10n package - C locale omf file was in base and l10n package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   431
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   432
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   433
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   434
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   435
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   436
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   437
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   438
* Fri Jun  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   439
- use post/preun scripts to install schemas into the merged gconf files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   440
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   441
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   442
* Tue Mar 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   443
- Removed SUNWgnome-cd, since now using sound-juicer.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   444
* Tue Feb 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   445
- Just a few more dependencies for SUNWgnome-cd.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   446
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   447
- Complete update of Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   448
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   449
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   450
* Fri Jan 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   451
- Do not package gstreamer gconf files since GStreamer already installs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   452
  its own.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   453
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   454
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   455
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   456
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   457
* Fri Sep 30 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   458
- Fix l10n packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   459
* Thu Sep 22 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   460
- Build gnome-cd again since sound-juicer doesn't build on Solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   461
* Wed Sep 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   462
- Fix packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   463
* Tue Jul 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   464
- Don't build gnome-cd and remove nautilus-cd-burner dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   465
* Tue Jul 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   466
- Add nautilus-cd-burner dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   467
* Thu Jul 07 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   468
- Initial spec-file created