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