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