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

Revision 623, 3.5 KB checked in by Takemikaduchi, 14 years ago (diff)

takemikaduchi fix and add spec file

Line 
1%define name    gtk-doc
2%define ver     1.13
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}/gtk-doc
64%{_datadir}/sgml/gtk-doc
65%{_datadir}/pkgconfig/*.pc
66
67%changelog
68* Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13-1
69- new upstream release
70
71* Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11-1
72- new upstream release
73
74* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
75- new upstream release
76- added --docdir
77
78* Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
79- new upstream release
80- added SOURCE1 for removing dependancy
81- added %post and %postun section
82- added Requires(post,postun): scrollkeeper
83
84* Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
85- new upstream release
86
87* Tue Apr 27 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl1
88- new upstream release
89- added some files %file section (based on Fedora 1.2-1)
90- s/Copyright/License/
91
92* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
93- new upstream release
94
95* Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
96- new upstream release
97
98* Sat Sep 28 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-5vl1
99- Based on Redhat, changed summary and description
100  * Thu May 30 2002 Chip Turner <cturner@redhat.com>
101  - add dependency filter for bogus perl dependencies
102
103  * Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
104  - update to 0.9
105
106* Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.5.9-1vl1
107- Based on RH srpms.
108  * Thu May 17 2001 Havoc Pennington <hp@redhat.com>
109  - upgrade to a CVS snapshot
110  - remove patches applied upstream
111
112  * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
113  - Replace docbook, sgml-common, and stylesheets requirements with
114    docbook-utils requirement.
115  - Use public identifier in custom stylesheets.
116
117* Wed Apr 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl2
118- Added a build depends.
119
120* Tue Jan  2 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.4-0vl1
121- Build for Vine
122
123* Wed Nov 15 2000 John Gotts <jgotts@linuxsavvy.com>
124- Minor updates for 0.4.
125* Thu Aug 26 1999 John E. Gotts <jgotts@engin.umich.edu>
126- Created spec file.
127
Note: See TracBrowser for help on using the repository browser.