source: projects/specs/trunk/g/gtk-doc/gtk-doc-vl.spec @ 521

Revision 521, 3.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name    gtk-doc
2%define ver     1.11
3%define rel     1%{_dist_release}
4
5Summary:        API documentation generation tool for GTK+ and GNOME
6Summary(ja):    GTK+/GNOME 用 API ドキュメント生成ツール
7Name:           %{name}
8Version:        %{ver}
9Release:        %{rel}
10License:        LGPL
11Group:          Development/Tools
12Source:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2
13Source1:        filter-requires-gtk-doc.sh
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15URL:            http://www.gtk.org/gtk-doc/
16BuildArch:      noarch
17
18BuildRequires:  docbook-utils, jade, libxslt, docbook-style-xsl
19Requires:       docbook-utils, jade, libxslt, docbook-style-xsl, diffutils
20Requires(post):   scrollkeeper
21Requires(postun): scrollkeeper
22
23%define __find_requires %{SOURCE1}
24
25%description
26gtk-doc is a tool for generating API reference documentation.
27It is used for generating the documentation for GTK+, GLib
28and GNOME.
29
30%prep
31%setup -q
32# Move this doc file to avoid name collisions
33mv doc/README doc/README.docs
34
35%build
36
37%configure --enable-public-id --docdir=%{_datadir}/gnome/help/gtk-doc-manual
38make
39
40%install
41[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
42
43make install DESTDIR=$RPM_BUILD_ROOT
44
45rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
46
47#find_lang %{name}
48
49%clean
50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51
52%post
53scrollkeeper-update > /dev/null 2>&1 || :
54
55%postun
56scrollkeeper-update > /dev/null 2>&1 || :
57
58%files
59%defattr(-, root, root)
60%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/* examples
61%{_bindir}/*
62%{_datadir}/aclocal/gtk-doc.m4
63%{_datadir}/gnome/help/gtk-doc-manual
64%{_datadir}/gtk-doc
65%{_datadir}/sgml/gtk-doc
66%{_datadir}/omf/gtk-doc-manual
67%{_datadir}/pkgconfig/*.pc
68
69%changelog
70* Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
71- new upstream release
72
73* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
74- new upstream release
75- added --docdir
76
77* Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
78- new upstream release
79- added SOURCE1 for removing dependancy
80- added %post and %postun section
81- added Requires(post,postun): scrollkeeper
82
83* Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
84- new upstream release
85
86* Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
87- new upstream release
88- added some files %file section (based on Fedora 1.2-1)
89- s/Copyright/License/
90
91* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
92- new upstream release
93
94* Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
95- new upstream release
96
97* Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
98- Based on Redhat, changed summary and description
99  * Thu May 30 2002 Chip Turner <cturner@redhat.com>
100  - add dependency filter for bogus perl dependencies
101
102  * Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
103  - update to 0.9
104
105* Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
106- Based on RH srpms.
107  * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
108  - upgrade to a CVS snapshot
109  - remove patches applied upstream
110
111  * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
112  - Replace docbook, sgml-common, and stylesheets requirements with
113    docbook-utils requirement.
114  - Use public identifier in custom stylesheets.
115
116* Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
117- Added a build depends.
118
119* Tue Jan  2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
120- Build for Vine
121
122* Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
123- Minor updates for 0.4.
124* Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
125- Created spec file.
126
Note: See TracBrowser for help on using the repository browser.