author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 17934 | a2a06609d9f0 |
permissions | -rw-r--r-- |
10480 | 1 |
# |
2 |
# spec file for package gnome-devel-docs |
|
3 |
# |
|
4 |
# Copyright (c) 2007 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 |
# |
|
16434 | 8 |
%define owner davelam |
10480 | 9 |
# |
10 |
||
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 12 |
|
10480 | 13 |
Name: gnome-devel-docs |
14 |
License: GPL |
|
15 |
Group: Documentation |
|
16 |
BuildArchitectures: noarch |
|
17934 | 17 |
Version: 2.30.1 |
10480 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
17864 | 20 |
Vendor: Gnome Community |
10480 | 21 |
Summary: documents targeted for GNOME developers |
17781 | 22 |
Source: http://ftp.gnome.org/pub/gnome/sources/gnome-devel-docs/2.30/gnome-devel-docs-%{version}.tar.bz2 |
10480 | 23 |
URL: http://live.gnome.org/DeveloperGuides |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Docdir: %{_defaultdocdir}/doc |
|
26 |
||
27 |
%define scrollkeeper_version 0.3.12 |
|
28 |
||
29 |
Prereq: scrollkeeper >= %{scrollkeeper_version} |
|
30 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
|
31 |
||
32 |
%description |
|
33 |
This package contains documents which will be packaged together and |
|
34 |
shipped as gnome-devel-docs in the GNOME Fifth Toe distribution. They |
|
35 |
should be documents targeted for GNOME developers. |
|
36 |
||
37 |
%prep |
|
38 |
%setup -q |
|
39 |
||
40 |
%build |
|
41 |
%ifos linux |
|
42 |
if [ -x /usr/bin/getconf ]; then |
|
43 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
44 |
fi |
|
45 |
%else |
|
46 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
47 |
%endif |
|
48 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
49 |
CPUS=1 |
|
50 |
fi |
|
51 |
||
52 |
libtoolize --force |
|
53 |
aclocal $ACLOCAL_FLAGS |
|
54 |
automake -a -c -f |
|
55 |
autoconf |
|
56 |
||
57 |
./configure --prefix=%{_prefix} \ |
|
58 |
--datadir=%{_datadir} \ |
|
59 |
--disable-scrollkeeper |
|
60 |
make |
|
61 |
||
62 |
%install |
|
63 |
rm -rf $RPM_BUILD_ROOT |
|
64 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
65 |
chmod -R a+rX $RPM_BUILD_ROOT%{_datadir}/gnome/help |
|
66 |
||
67 |
%clean |
|
68 |
rm -rf $RPM_BUILD_ROOT |
|
69 |
||
70 |
%post |
|
71 |
if [ "$1" = "2" ] ; then # upgrade |
|
72 |
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi |
|
73 |
fi |
|
74 |
||
75 |
%files |
|
76 |
%defattr(-,root,bin) |
|
77 |
%doc COPYING AUTHORS README ChangeLog NEWS INSTALL |
|
78 |
%{_datadir}/gnome/help/* |
|
79 |
%{_datadir}/omf/* |
|
80 |
||
81 |
%changelog |
|
17934 | 82 |
* Mon Apr 26 2010 - [email protected] |
83 |
- Bump to 2.30.1. |
|
17781 | 84 |
* Tue Mar 30 2010 - [email protected] |
85 |
- Bump to 2.30.0. |
|
17590 | 86 |
* Wed Feb 24 2010 - [email protected] |
87 |
- Bump to 2.29.3. |
|
17479 | 88 |
* Fri Jan 29 2010 - [email protected] |
89 |
- Bump to 2.29.1 |
|
16650 | 90 |
* Wed Sep 23 2009 - [email protected] |
91 |
- Bump to 2.28.0 |
|
16352 | 92 |
* Tue Aug 25 2009 - [email protected] |
93 |
- Bump to 2.27.1. |
|
15879 | 94 |
* Mon Jun 08 2009 - [email protected] |
95 |
- Bump to 2.26.2. |
|
15616 | 96 |
* Wed Apr 15 2009 - [email protected] |
15879 | 97 |
- Bump to 2.26.1. |
15412
e305a27c0e82
* base-specs/gnome-devel-docs.spec: Bump to 2.26.0.
davelam
parents:
13831
diff
changeset
|
98 |
* Tue Mar 17 2009 - [email protected] |
15879 | 99 |
- Bump to 2.26.0. |
13815 | 100 |
* Mon Sep 29 2008 - [email protected] |
101 |
- Bump to 2.24.0. |
|
13456 | 102 |
* Tue Sep 09 2008 - [email protected] |
15879 | 103 |
- Correct download URL. |
13414 | 104 |
* Thu Sep 04 2008 - [email protected] |
105 |
- Bump to 2.23.1. |
|
11844 | 106 |
* Tue Mar 11 2008 - [email protected] |
107 |
- Bump to 2.22.0. |
|
10514 | 108 |
* Tue Sep 18 2007 - [email protected] |
109 |
- Bump to 2.20.0. |
|
15879 | 110 |
* Sat Sep 01 2007 - Dave Lin <[email protected]> |
111 |
- initial version. |
|
10514 | 112 |