SUNWglibmm.spec
author xz159989
Thu, 27 Mar 2008 07:23:20 +0000
branchgnome-2-20
changeset 10856 354a17204267
parent 10819 0fc03e1b27bb
permissions -rw-r--r--
2008-03-27 simon.zheng <[email protected]> * SUNWglibmm.spec: * SUNWgnome-devhelp.spec: * SUNWgtkmm.spec: * copyright/SUNWglibmm.copyright: * copyright/SUNWgnome-devhelp.copyright: * copyright/SUNWgtkmm.copyright: Add the above 3 copyright files. * base-specs/devhelp.spec: Correct tarball download link.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10799
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     1
#
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     2
# spec file for package SUNWglibmm
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
#
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     4
# includes module(s): glibmm
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     5
#
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     6
# # Copyright 2008 Sun Microsystems, Inc.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     8
# package are under the same license as the package itself.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     9
#
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    10
# Owner: SimonZheng
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    11
#
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    12
%include Solaris.inc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
%use glibmm = glibmm.spec
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    15
Name:                    SUNWglibmm
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
Summary:                 glibmm - C++ Wrapper for the Glib2 Library
10819
0fc03e1b27bb 2008-03-03 Damien Carbery <[email protected]>
dcarbery
parents: 10799
diff changeset
    17
Version:                 %{glibmm.version}
10799
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    18
SUNW_BaseDir:            %{_basedir}
10856
354a17204267 2008-03-27 simon.zheng <[email protected]>
xz159989
parents: 10819
diff changeset
    19
SUNW_Copyright:          %{name}.copyright
10799
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    21
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    22
%include default-depend.inc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
Requires: SUNWgnome-base-libs
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    24
BuildRequires: SUNWgnome-base-libs-devel
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    25
Requires: SUNWsigcpp
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
BuildRequires: SUNWsigcpp-devel
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
%package devel
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
Summary:                 %{summary} - development files
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
SUNW_BaseDir:            %{_basedir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    31
%include default-depend.inc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    32
Requires: %name
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
Requires: SUNWgnome-base-libs-devel
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
%if %build_l10n
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    36
%package l10n
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    37
Summary:		 %{summary} - l10n files
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    38
SUNW_BaseDir:		 %{_basedir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
%include default-depend.inc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
Requires:		 %{name}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
%endif
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
%prep
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
rm -rf %name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
mkdir %name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
%glibmm.prep -d %name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
cd %{_builddir}/%name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
%build
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
%if %cc_is_gcc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
%else
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
export CXX="${CXX} -norunpath"
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    53
%endif
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    54
export CXXFLAGS="%cxx_optflags"
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    55
export PERL_PATH=/usr/perl5/bin/perl
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    56
%glibmm.build -d %name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    57
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    58
%install
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    59
rm -rf $RPM_BUILD_ROOT
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    60
%glibmm.install -d %name-%version
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    61
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    62
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    63
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
# Remove useless m4, pm and extra_gen_defs files 
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT%{_libdir}/glibmm-2.4/proc/m4
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    66
rm -rf $RPM_BUILD_ROOT%{_libdir}/glibmm-2.4/proc/pm
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT%{_libdir}/libglibmm_generate_extra_defs*.so*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    68
rm -rf $RPM_BUILD_ROOT%{_includedir}/glibmm-2.4/glibmm_generate_extra_defs
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    69
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    70
%if %build_l10n
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    71
%else
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    72
# REMOVE l10n FILES
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    74
%endif
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    75
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    76
%clean
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    78
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    79
%post
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    80
%include desktop-database-install.script
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    81
%include scrollkeeper-update.script
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    82
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    83
%postun
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    84
test -x $BASEDIR/lib/postrun || exit 0
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    85
%include desktop-database-uninstall.script
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    86
%include scrollkeeper-update.script
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    87
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    88
%files
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    89
%defattr (-, root, bin)
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    90
%dir %attr (0755, root, bin) %{_libdir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    91
%{_libdir}/lib*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    92
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    93
%files devel
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    94
%defattr (-, root, bin)
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    95
%dir %attr (0755, root, bin) %{_libdir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    96
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    97
%{_libdir}/pkgconfig/*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    98
%{_libdir}/glibmm*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    99
%dir %attr (0755, root, sys) %{_datadir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   100
%dir %attr (0755, root, other) %{_datadir}/doc
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   101
%{_datadir}/doc/*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   102
%dir %attr (0755, root, other) %{_datadir}/aclocal
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   103
%{_datadir}/aclocal/*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   104
%dir %attr (0755, root, bin) %{_includedir}
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   105
%{_includedir}/*
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   106
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   107
%changelog
10856
354a17204267 2008-03-27 simon.zheng <[email protected]>
xz159989
parents: 10819
diff changeset
   108
* Thu Mar 27 2008 - [email protected]
354a17204267 2008-03-27 simon.zheng <[email protected]>
xz159989
parents: 10819
diff changeset
   109
- Add file SUNWglibmm.copyright.
10819
0fc03e1b27bb 2008-03-03 Damien Carbery <[email protected]>
dcarbery
parents: 10799
diff changeset
   110
* Mon Mar 03 2008 - [email protected]
0fc03e1b27bb 2008-03-03 Damien Carbery <[email protected]>
dcarbery
parents: 10799
diff changeset
   111
- Use base spec version for package version.
10799
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   112
* Tue Feb 19 2008 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   113
- Removed %{_libdir}/giomm* which is not in gnome 2.20
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   114
* Wed Feb 15 2008 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   115
- Pack file /usr/lib/giomm-2.4/giommconfig.h.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   116
* Thu Feb 14 2008 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   117
- Remove useless m4, pm and extra_gen_defs files.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   118
* Mon Jau 28 2008 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   119
- Split into SUNWglibmm.spec and glibmm.spec.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   120
- Change download URL to GNOME official website.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   121
* Fri Aug 17 2007 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   122
- Bump to 2.12.10
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   123
* Tue Apr 17 2007 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   124
- Bump to 2.12.8.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   125
* Fri Mar 16 2007 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   126
- bump to 2.12.7
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   127
* Wed Jan 03 2007 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   128
- Bump to 2.12.4
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   129
* Fri Jun 23 2006 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   130
- rename to SFEglibmm
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   131
- update permissions
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   132
- bump to 2.10.4
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   133
* Fri May 12 2006 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   134
- Bump to 2.10.2.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   135
* Fri Mar 10 2006 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   136
- Bump to 2.10.0.
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   137
* Thu Nov 17 2005 - [email protected]
aaeb44343873 2008-02-19 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   138
- create