Home | History | Annotate | Download | only in trunk
      1 #
      2 # spec file for package SUNWevolution-jescs
      3 #
      4 # includes module(s): evolution-jescs.spec
      5 #
      6 # Copyright (c) 2004 Sun Microsystems, Inc.
      7 # This file and all modifications and additions to the pristine
      8 # package are under the same license as the package itself.
      9 #
     10 %define owner jedy
     11 #
     12 %include Solaris.inc
     13 %use evojescs = evolution-jescs.spec
     14 %define evo_major_version 2.28
     15 %define evo_prefix /usr/lib/evolution
     16 
     17 Name:          SUNWevolution-jescs
     18 Summary:       Evolution connector for Sun JES Calendar Server
     19 Version:       %{default_pkg_version}
     20 SUNW_Category: EVO25,%{default_category}
     21 SUNW_Copyright: %{name}.copyright
     22 SUNW_BaseDir:  %{_basedir}
     23 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
     24 %include default-depend.inc
     25 Requires: SUNWlibglade
     26 Requires: SUNWevolution
     27 Requires: SUNWjdsrm
     28 Requires: SUNWevolution-data-server
     29 Requires: SUNWlibsoup
     30 Requires: SUNWgnome-component
     31 Requires: SUNWgnome-config
     32 Requires: SUNWgnome-libs
     33 Requires: SUNWgnome-vfs
     34 Requires: SUNWidnl
     35 Requires: SUNWdesktop-cache
     36 BuildRequires: SUNWlibglade-devel
     37 BuildRequires: SUNWevolution-data-server-devel
     38 BuildRequires: SUNWlibsoup-devel
     39 BuildRequires: SUNWgnome-component-devel
     40 BuildRequires: SUNWgnome-config-devel
     41 BuildRequires: SUNWgnome-libs-devel
     42 BuildRequires: SUNWgnome-vfs-devel
     43 
     44 %if %build_l10n
     45 %package l10n
     46 Summary:                 %{summary} - l10n files
     47 SUNW_BaseDir:            %{_basedir}
     48 %include default-depend.inc
     49 Requires:                %{name}
     50 %endif
     51 
     52 %prep
     53 rm -rf %name-%version
     54 mkdir -p %name-%version
     55 %evojescs.prep -d %name-%version
     56 
     57 %build
     58 #FIXME: symbol clash in the evo libraries means we can't use -Bdirect
     59 #       should be re-enabled once these issues are fixed
     60 export LD=/usr/ccs/bin/ld
     61 export LDFLAGS="-z ignore %{?arch_ldadd} -L%{_libdir} -R%{_libdir} -L%{evo_prefix}/%{evo_major_version} -R%{evo_prefix}/%{evo_major_version}"
     62 export CFLAGS="%optflags"
     63 export RPM_OPT_FLAGS="$CFLAGS"
     64 export PKG_CONFIG_PATH="%_pkg_config_path"
     65 %evojescs.build -d %name-%version
     66 
     67 %install
     68 %evojescs.install -d %name-%version
     69 
     70 %if %build_l10n
     71 %else
     72 # REMOVE l10n FILES
     73 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
     74 %endif
     75 
     76 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
     77 
     78 %clean
     79 rm -rf $RPM_BUILD_ROOT
     80 
     81 %post
     82 %restart_fmri icon-cache
     83 
     84 %files
     85 %doc -d evolution-jescs-%{evojescs.version} AUTHORS
     86 %doc(bzip2) -d evolution-jescs-%{evojescs.version} ChangeLog
     87 %doc(bzip2) -d evolution-jescs-%{evojescs.version} COPYING
     88 %defattr (-, root, bin)
     89 %dir %attr (0755, root, bin) %{_libdir}
     90 %{_libdir}/bonobo/servers/*
     91 %{_libdir}/evolution
     92 %{_libdir}/evolution-data-server-*
     93 %dir %attr (0755, root, sys) %{_datadir}
     94 %{_datadir}/evolution-jescs
     95 %{_datadir}/evolution
     96 %dir %attr (0755, root, other) %{_datadir}/icons
     97 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor
     98 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
     99 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps
    100 %{_datadir}/icons/hicolor/16x16/apps/*
    101 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22
    102 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps
    103 %{_datadir}/icons/hicolor/22x22/apps/*
    104 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24
    105 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps
    106 %{_datadir}/icons/hicolor/24x24/apps/*
    107 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32
    108 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps
    109 %{_datadir}/icons/hicolor/32x32/apps/*
    110 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48
    111 %dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps
    112 %{_datadir}/icons/hicolor/48x48/apps/*
    113 %dir %attr (0755, root, other) %{_datadir}/doc
    114 
    115 %if %build_l10n
    116 %files l10n
    117 %defattr (-, root, bin)
    118 %dir %attr (0755, root, sys) %{_datadir}
    119 %attr (-, root, other) %{_datadir}/locale
    120 %endif
    121 
    122 %changelog
    123 * Thu Sep 17 2009 - jedy.wang@sun.com
    124 - Bump evo_major_version to 2.28.
    125 * Sat Apr  4 2009 - laca@sun.com
    126 - use desktop-cache instead of postrun
    127 * Thu Nov 11 2008 - jedy.wang@sun.com
    128 - Bump evo_major_version to 2.26.
    129 * Fri Sep 19 2008 - christian.kelly@sun.com
    130 - Set permissions on /usr/share/doc.
    131 * Wed Sep 10 2008 - jedy.wang@sun.com
    132 - Add new copyright files.
    133 * Thu Aug 22 2008 - jedy.wang@sun.com
    134 - Bump evo_major_version to 2.24.
    135   Update attribute of icon dirs.
    136 * Tue Aug 19 2008 - jedy.wang@sun.com
    137 - Add %post secion and ship new icons.
    138 * Fri Oct  5 2007 - laca@sun.com
    139 - add %{arch_ldadd} to LDFLAGS for GNU libiconv/libintl
    140 * Fri May 18 2007 - damien.carbery@sun.com
    141 - Shorten package name to fix WOS integration warning about pkg name length.
    142 * Wed Nov 29 2006 - damien.carbery@sun.com
    143 - Revert version to %{default_pkg_version} as this module has been integrated
    144   to Nevada with this version. Using the base module's version number (2.8.x)
    145   is lower than 2.16.x and will cause an integration error.
    146 - Bump evo_major_version to 2.10 to match SUNWevolution.
    147 * Mon Nov 27 2006 - jeff.cai (at] sun.com
    148 - Use evolution-jescs's version information to replace default one. 
    149 * Sat Aug 12 2006 - laca@sun.com
    150 - delete some unnecessary env variables
    151 * Sun Jun 24 2006 - laca@sun.com
    152 - change evo_major_version to 2.8.
    153 * Sun Jun 11 2006 - laca@sun.com
    154 - change group from other to bin/sys
    155 * Thu May 11 2006 - halton.huo@sun.com
    156 - Change %defattr to (-, root, other).
    157 - Remove unused -root package.
    158 * Thu May 04 2006 - laca@sun.com
    159 - merge -share pkg(s) into the base pkg(s)
    160 * Thu Apr 13 2006 - halton.huo@sun.com
    161 - Add /usr/lib/evolution/%{evo_major_version} to LDFLAGS, fix bug #6411728.
    162 * Tue Apr 04 2006 - halton.huo@sun.com
    163 - Alter remove .a/.la files part into linux spec.
    164 * Thu Mar 30 2006 - halton.huo@sun.com
    165 - Remove all *.a/*.la files.
    166 * Thu Feb 23 2006 - damien.carbery@sun.com
    167 - Use default pkg version to match other pkgs; add EVO25 to default category.
    168 * Mon Feb 20 2006 - damien.carbery@sun.com
    169 - Update Build/Requires after running check-deps.pl script.
    170 * Tue Jan 24 2006 - halton.huo@sun.com
    171 - Remove hard code %{evojescs.eds_api_version}.
    172 - Remove *.la under /usr/lib when install.
    173 * Tue Jan 24 2006 - halton.huo@sun.com
    174 - s/evolution-data-server-1.2/evolution-data-server-%evojescs.eds_api_version/g
    175 * Wed Dec  7 2005 - laca@sun.com
    176 - disable -Bdirect as due to symbol clashes
    177 * Thu Dec  2 2005 - damien.carbery@sun.com
    178 - Add Build/Requires SUNWgnome-base-libs/-devel-share for glib-gettextize.
    179 * Thu Oct  6 2005 - damien.carbery@sun.com
    180 - Add SUNWjdsrm dependency so that the obsolete SUNWevolution-socs-connect is 
    181   removed before this package is installed. They contain conflicting files.
    182 * Tue Sep  6 2005 - halton.huo@sun.com
    183 - Fix wrong Name.
    184 - Fix evolution-jescs to evojescs.
    185 - Change %files section.
    186 * Fri Sep  2 2005 - halton.huo@sun.com
    187 - Initial spec file
    188 
    189