]>
Commit | Line | Data |
---|---|---|
f4e89cd5 MB |
1 | Summary: GNOME Developer Documentation |
2 | Name: gnome-devel-docs | |
3 | Version: 2.19.1 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Documentation | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-devel-docs/2.19/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 6615ea643ec27c41f97858d874bc4eb8 | |
9 | URL: http://www.gnome.org/ | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: gnome-doc-utils >= 0.10.3 | |
13 | BuildRequires: rpmbuild(macros) >= 1.198 | |
14 | Requires(post,postun): scrollkeeper | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | This package contains the GNOME Handbook, the GNOME Documentation | |
19 | Style Guide and an Overview of the GNOME Platform. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %{__aclocal} | |
26 | %{__autoconf} | |
27 | %{__automake} | |
28 | %configure \ | |
29 | --disable-scrollkeeper | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %{__make} install \ | |
36 | DESTDIR=$RPM_BUILD_ROOT | |
37 | ||
38 | %find_lang gdp-handbook --with-gnome | |
39 | %find_lang gdp-style-guide --with-gnome | |
40 | %find_lang platform-overview --with-gnome | |
41 | cat gdp-handbook.lang > %{name}.lang | |
42 | cat gdp-style-guide.lang >> %{name}.lang | |
43 | cat platform-overview.lang >> %{name}.lang | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %post | |
49 | %scrollkeeper_update_post | |
50 | ||
51 | %postun | |
52 | %scrollkeeper_update_postun | |
53 | ||
54 | %files -f %{name}.lang | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS ChangeLog NEWS README | |
57 | %dir %{_omf_dest_dir}/gdp-handbook | |
58 | %{_omf_dest_dir}/gdp-handbook/gdp-handbook-C.omf | |
59 | %dir %{_omf_dest_dir}/gdp-style-guide | |
60 | %{_omf_dest_dir}/gdp-style-guide/gdp-style-guide-C.omf | |
61 | %dir %{_omf_dest_dir}/platform-overview | |
62 | %{_omf_dest_dir}/platform-overview/platform-overview-C.omf | |
63 | %lang(es) %{_omf_dest_dir}/platform-overview/platform-overview-es.omf |