]> git.pld-linux.org Git - packages/gtk-doc.git/blob - gtk-doc.spec
- fixed broken %%doc
[packages/gtk-doc.git] / gtk-doc.spec
1 Summary:        API documentation generation tool for GTK+ and GNOME
2 Summary(pl):    Narzêdzie do generowania dokumentacji API do GTK+ i GNOME
3 Name:           gtk-doc
4 Version:        0.4b1
5 Release:        3
6 License:        LGPL
7 Group:          Development/Tools
8 Group(de):      Entwicklung/Werkzeuge
9 Group(fr):      Development/Outils
10 Group(pl):      Programowanie/Narzêdzia
11 Source0:        ftp://ftp.gtk.org/pub/gtk/v1.1/docs/rdp/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-pubid.patch
13 URL:            http://www.gtk.org/rdp/
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 BuildRequires:  docbook-utils
17 BuildRequires:  openjade
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 Requires:       docbook-utils
21 Requires:       openjade
22
23 %description
24 gtk-doc is a tool for generating API reference documentation. It is
25 used for generating the documentation for GTK+, GLib and GNOME.
26
27 %description -l pl
28 gtk-doc jest narzêdziem do generowania dokumentacji API. Jest u¿ywany
29 do generowania dokumentacji GLib, GTK+ i GNOME.
30
31 %prep
32 %setup -q
33 %patch -p1 -b .pubid
34 # Move this doc file to avoid name collisions
35 mv -f doc/README doc/README.docs
36
37 %build
38 aclocal
39 autoconf
40 %configure \
41         --enable-public-id
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49 gzip -9nf AUTHORS README doc/* examples/gnome*/* examples/[MRc]*
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS.gz README.gz doc/* examples
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/gtk-doc
This page took 0.038721 seconds and 4 git commands to generate.