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