SUNWgnome-text-editor.spec
author dcarbery
Tue, 03 Jul 2007 16:14:47 +0000
changeset 10157 4b183694c352
parent 9780 21510eb397b1
child 10569 db3674d56c7f
permissions -rw-r--r--
2007-07-03 Damien Carbery <[email protected]> * SUNWgnome-text-editor.spec: Remove 3 plugins dirs from %files because they are no longer installed. * SUNWgnome-config.spec: Remove %{_datadir}/GConf from %files as it is no longer installed.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-text-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): gedit gtksourceview
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: rickju
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use gedit = gedit.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWgnome-text-editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME text editor
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source:                  %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWgnome-text-editor-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWgnome-print
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: SUNWxwrtl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires: SUNWgnome-python-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires: SUNWgnome-python-desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires: SUNWgnome-gtksourceview
9504
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
    40
Requires: SUNWgnome-spell
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
BuildRequires: SUNWgnome-print-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
BuildRequires: SUNWgnome-python-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
BuildRequires: SUNWgnome-python-desktop-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
BuildRequires: SUNWgnome-gtksourceview-devel
9504
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
    51
BuildRequires: SUNWgnome-spell-devel
9397
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
SUNW_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: SUNWpostrun-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
Requires: SUNWgnome-config
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
Requires:                %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%gedit.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
cd %{_builddir}/%name-%version/gedit-%gedit.version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
PKG_CONFIG_DISABLE_UNINSTALLED=
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
unset PKG_CONFIG_DISABLE_UNINSTALLED
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
export MSGFMT="/usr/bin/msgfmt"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
export LDFLAGS="%_ldflags -norunpath"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
export LD_LIBRARY_PATH="/usr/sfw/lib:$LD_LIBRARY_PATH"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
export LDFLAGS="%_ldflags -L/usr/X11/lib -R /usr/X11/lib -lX11"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%gedit.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%gedit.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
chmod 0755 $RPM_BUILD_ROOT%{_datadir}/gnome/help/gedit/C/*.xml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
rm -rf $RPM_BUILD_ROOT%{_localstatedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
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
   112
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%{?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
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
( 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
   122
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
) | $BASEDIR/lib/postrun -b -u -c JDS
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
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
( 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
   131
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
( echo 'test -x /usr/bin/gconftool-2 || {';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
  echo '  echo "ERROR: gconftool-2 not found"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
  echo 'GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
  echo 'export GCONF_CONFIG_SOURCE';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
  echo '/usr/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
) | $BASEDIR/var/lib/postrun/postrun -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
%preun root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
test -x $BASEDIR/var/lib/postrun/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
( 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
   151
  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
   152
  echo '  exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
  echo '}';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
  echo 'umask 0022';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
  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
   156
  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
   157
  echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
  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
   159
  echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
  echo 'schemas="$SDIR/gedit.schemas"';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
  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
   162
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_libdir}
9522
eee0e85e99af 2007-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
   169
%{_libdir}/gedit-2/gedit-bugreport.sh
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
%{_libdir}/gedit-2/plugins/*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%{_libdir}/gedit-2/plugins/*.gedit-plugin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%{_datadir}/applications/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%{_datadir}/gedit-2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%{_datadir}/gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%{_datadir}/gnome/help/gedit/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%{_datadir}/omf/gedit/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%{_datadir}/gnome/help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%{_datadir}/omf/*/*-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%files root
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9522
diff changeset
   195
%defattr (-, root, sys)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%{_sysconfdir}/gconf/schemas/gedit.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%{_sysconfdir}/gconf/schemas/gedit-file-browser.schemas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%changelog
10157
4b183694c352 2007-07-03 Damien Carbery <[email protected]>
dcarbery
parents: 9780
diff changeset
   209
* Tue Jul 03 2007 - [email protected]
4b183694c352 2007-07-03 Damien Carbery <[email protected]>
dcarbery
parents: 9780
diff changeset
   210
- Remove 3 plugins dirs from %files because they are no longer installed.
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9522
diff changeset
   211
* Tue Apr 24 2007 - [email protected]
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9522
diff changeset
   212
- s/0755/-/ in defattr so that files are not made all executable
9522
eee0e85e99af 2007-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
   213
* Mon Mar 12 2007 - [email protected]
eee0e85e99af 2007-03-12 Damien Carbery <[email protected]>
dcarbery
parents: 9504
diff changeset
   214
- Add %{_libdir}/gedit-2/gedit-bugreport.sh, for 2.18.0 tarball.
9504
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   215
* Thu Mar 08 2007 - [email protected]
808524c779dc 2007-03-09 Jeff Cai<[email protected]>
jefftsai
parents: 9397
diff changeset
   216
- Remove the dependency on aspell.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
* Thu Jan 25 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
- Remove plugins/*.py* from %files as none are installed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
- Fix root pkg (s/filebrowser.schemas/gedit-file-browser.schemas/).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
* Mon Sep 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
- Add gtk-doc dir to %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
* Fri Jul 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
- Update %files for new tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
- 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
   229
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
- update %post/%preun gconf scripts, add SUNWgnome-gtksourceview deps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
* Fri Jun  2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
- 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
   238
* Sat May 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
- Remove /usr/lib/jds-private from LDFLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
* Mon May 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
- Add Build/Requires SUNWgnome-python-desktop/-devel to build python plugins.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
* Thu Mar 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
- Add Build/Requires SUNWgnome-python-libs/-devel to build python plugins.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
* Wed Mar 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
- Add to Build/Requires after running check-deps.pl.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
* Wed Mar 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
- Add Build/Requires SUNWgnome-component/-devel for ORBit2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
- Add plugins files to %files and remove unneeded rmdir of /usr/var.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
- 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
   254
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
* Tue Jan 31 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
- Remove application-registry and mime-info directories as no files installed 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
  there now.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
* Wed Jan 18 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
- Remove scrollkeeper files under /usr/var and /var.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
* Sat Jan 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
- Update %files for new tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
* Wed Sep 14 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
- Set LD_LIBRARY_PATH so that libfreetype.so.6 can be found when a built
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
  binary is run during the build step.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
* Thu May 19 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
- Updte to 2.10, fix LDFLAGS and packaging for Solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
- move sman3 manpages to devel pkg per Solaris pkg requirement
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
* Thu Sep 09 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
- Added gtksourceview manpage
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
* Mon Aug 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
- s/SUNWpl5u/SUNWperl584usr/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
* Wed Aug 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
- Change manpage perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
* Fri Jul 09 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
- Return -R to LDFLAGS. I had incorrectly implemented the ARC decision.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
* Thu Jul 08 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   287
- Remove -R from LDFLAGS because ARC said to use -norunpath.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   288
* Fri Jul 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   289
- Add /usr/lib/jds-private to LDFLAGS.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   290
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   291
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   292
* Wed Jun  2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   293
- Added %{_datadir}/locale to install l10n messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   294
* Mon May 03 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   295
- Added entry in spec for plugins files to get installed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   296
* Fri Mar 26 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   297
- add SUNWgnome-file-mgr dependency (for libeel)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   298
* Wed Mar 24 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   299
- Added SGML man page integration
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
* Thu Mar 04 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   301
- fix build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   302
- fix files %share
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   303
* Mon Mar 01 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
- fix dependencies
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   305
* Thu Feb 26 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
- set PERL5LIB to make intltool happy
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
* Mon Feb 23 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
- install gconf schemas at end of install stage.