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