1
|
1 |
#
|
|
2 |
# spec file for package CBEgettext
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
|
|
9 |
%include CBE.inc
|
|
10 |
|
|
11 |
Name: CBEgettext
|
7
|
12 |
Version: 0.16.1
|
1
|
13 |
License: GPL
|
|
14 |
Group: system/cbe
|
7
|
15 |
Distribution: Desktop CBE
|
1
|
16 |
Vendor: Sun Microsystems, Inc.
|
7
|
17 |
Summary: Desktop CBE: GNU gettext
|
1
|
18 |
Source: ftp://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.gz
|
|
19 |
URL: http://www.gnu.org/
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
SUNW_BaseDir: %{_prefix}
|
7
|
22 |
SUNW_Category: CBE,KDE,JDS,application
|
10
|
23 |
SUNW_Rev: %{?cbe_version}%{?!cbe_version:0.0}
|
1
|
24 |
%include default-depend.inc
|
10
|
25 |
BuildRequires: %make_dep
|
1
|
26 |
|
|
27 |
%description
|
7
|
28 |
GNU gettext for the Desktop build environment
|
1
|
29 |
|
|
30 |
%prep
|
|
31 |
%setup -q -n gettext-%{version}
|
|
32 |
|
|
33 |
%build
|
|
34 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
36 |
CPUS=1
|
|
37 |
fi
|
|
38 |
export EMACS=no
|
|
39 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
40 |
./configure --disable-nls --prefix=%{_prefix}
|
10
|
41 |
gmake -j$CPUS
|
1
|
42 |
|
|
43 |
%install
|
|
44 |
rm -rf $RPM_BUILD_ROOT
|
10
|
45 |
gmake install DESTDIR=$RPM_BUILD_ROOT
|
1
|
46 |
rm -r $RPM_BUILD_ROOT%{_datadir}/doc
|
|
47 |
rm -r $RPM_BUILD_ROOT%{_datadir}/man
|
|
48 |
rm -r $RPM_BUILD_ROOT%{_includedir}
|
|
49 |
rm $RPM_BUILD_ROOT%{_bindir}/gettext
|
|
50 |
rm $RPM_BUILD_ROOT%{_bindir}/msgfmt
|
|
51 |
rm $RPM_BUILD_ROOT%{_libdir}/*a
|
|
52 |
rm -r $RPM_BUILD_ROOT%{_datadir}/info
|
|
53 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gettext/projects
|
|
54 |
rm $RPM_BUILD_ROOT%{_bindir}/recode-sr-latin
|
|
55 |
|
|
56 |
%clean
|
|
57 |
rm -rf $RPM_BUILD_ROOT
|
|
58 |
|
|
59 |
%files
|
|
60 |
%defattr(-, root, bin)
|
|
61 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
62 |
%{_libdir}/gettext
|
|
63 |
%{_libdir}/lib*.so*
|
|
64 |
%{_libdir}/charset.alias
|
|
65 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
66 |
%{_bindir}/autopoint
|
|
67 |
%{_bindir}/gettext.sh
|
|
68 |
%{_bindir}/msgcat
|
|
69 |
%{_bindir}/msgconv
|
|
70 |
%{_bindir}/msgfilter
|
|
71 |
%{_bindir}/msginit
|
|
72 |
%{_bindir}/msguniq
|
|
73 |
%{_bindir}/envsubst
|
|
74 |
%{_bindir}/gettextize
|
|
75 |
%{_bindir}/msgcmp
|
|
76 |
%{_bindir}/msgen
|
|
77 |
%{_bindir}/msgmerge
|
|
78 |
%{_bindir}/ngettext
|
|
79 |
%{_bindir}/msgattrib
|
|
80 |
%{_bindir}/msgcomm
|
|
81 |
%{_bindir}/msgexec
|
|
82 |
%{_bindir}/msggrep
|
|
83 |
%{_bindir}/msgunfmt
|
|
84 |
%{_bindir}/xgettext
|
|
85 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
86 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
87 |
%{_datadir}/aclocal/*
|
|
88 |
%{_datadir}/gettext
|
|
89 |
|
|
90 |
%changelog
|
10
|
91 |
* Wed Jun 11 2008 <[email protected]>
|
|
92 |
- update rev, make depedency
|
1
|
93 |
* Mon Apr 14 2008 - [email protected]
|
|
94 |
- update deps
|
|
95 |
- use CBE.inc
|
|
96 |
* Mon Mar 3 2008 - [email protected]
|
|
97 |
- bump to 0.16.1
|
|
98 |
* Mon Aug 21 2006 <[email protected]>
|
|
99 |
- move to /opt/jdsbld by default
|
|
100 |
* Wed Aug 16 2006 <[email protected]>
|
|
101 |
- add missing deps
|
|
102 |
* Fri Sep 02 2004 <[email protected]>
|
|
103 |
- remove unpackaged files
|
|
104 |
* Sat Oct 02 2004 <[email protected]>
|
|
105 |
- add %_datadir/gettext to %files
|
|
106 |
* Sun Sep 05 2004 <[email protected]>
|
|
107 |
- update to 0.14.1
|
|
108 |
- build and package the tools
|
|
109 |
- enable parallel build
|
|
110 |
* Fri Mar 05 2004 <[email protected]>
|
|
111 |
- fix %files
|
|
112 |
- change the pkg category
|