Package gtk-doc: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 | %def_enable snapshot %define ver_major 1.33 %def_with mkpdf %def_enable check Name: gtk-doc Version: %ver_major.2 Release: alt1.1 Summary: API documentation generation tool for GTK+ and GNOME Group: Development/Other License: GPLv2+ Url: http://www.gtk.org/gtk-doc/ %define pkgdocdir %_docdir/%name-%version %define python_ver 3.2 %define dblatex_ver 0.3.10 Requires: python3 >= %python_ver Requires: sgml-common >= 0.6.3-alt11 Requires: docbook-dtds >= 4.3-alt1 Requires: docbook-style-xsl Requires: libxml2 >= 2.3.6 Requires: xsltproc # for SGML Requires: openjade >= 1.3.1 Requires: docbook-style-dsssl %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else Source: %name-%version.tar %endif #https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/58 Patch: gtk-doc-1.31-up-mr58.patch BuildArch: noarch Provides: python3(gtkdoc) %add_python3_path %_datadir/%name/python/gtkdoc BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel >= %python_ver python3-module-Pygments BuildRequires: docbook-dtds xml-common xml-utils BuildRequires: docbook-dtds >= 1.0-alt7 BuildRequires: docbook-style-xsl bc %{?_with_mkpdf:BuildRequires: yelp-tools dblatex >= %dblatex_ver} # for SGML BuildRequires: docbook-style-dsssl BuildRequires: openjade >= 1.3.1 %{?_enable_check:BuildRequires: glib2-devel python3-module-mock python3-module-parameterized} %description %name is a tool for generating API reference documentation. it is used for generating the documentation for GTK+, GLib and GNOME. %package mkpdf Summary: PDF converter for %name Group: Development/Other Requires: %name = %version-%release Requires: dblatex >= %dblatex_ver %description mkpdf %name is a tool for generating API reference documentation. it is used for generating the documentation for GTK+, GLib and GNOME. This package provides utility for saving documentation in PDF format %package manual Summary: Manual for gtk-doc Group: Development/Other License: FDL-1.1 %description manual Manual for gtk-doc, a tool for generating API reference documentation used by GTK+, GLib and GNOME. %prep %setup %patch -p1 # make cmake files arch-independent subst 's/libdir/datadir/' buildsystems/cmake/Makefile.am # Move this doc file to avoid name collisions mv doc/README doc/README.docs %build %autoreconf %undefine _configure_target export PYTHON=%_bindir/python3 export ac_cv_path_JADE=%_bindir/openjade export ac_cv_path_XSLTPROC=%_bindir/xsltproc %{?_with_mkpdf:export ac_cv_path_DBLATEX=%_bindir/dblatex} %configure \ --with-xml-catalog=%_sysconfdir/xml/catalog \ --docdir=%pkgdocdir %make_build %install %make_install DESTDIR=%buildroot pkgconfigdir=%_datadir/pkgconfig install install -d -m755 %buildroot%_datadir/gtk-doc/html mkdir -p %buildroot%_sysconfdir/buildreqs/files/ignore.d/ cat <<EOF >%buildroot%_sysconfdir/buildreqs/files/ignore.d/%name ^%_datadir/(gtk-doc|gnome|bonobo)/html/. EOF %find_lang --with-gnome gtk-doc-manual install -d -m755 %buildroot%pkgdocdir install -p -m644 AUTHORS ChangeLog MAINTAINERS NEWS README TODO doc/* \ %buildroot%pkgdocdir/ bzip2 -9 %buildroot%pkgdocdir/ChangeLog ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING ln -s %_licensedir/FDL-1.1 %buildroot%pkgdocdir/COPYING-DOCS cp -a examples %buildroot%pkgdocdir/ %check %make check %files %_bindir/* %{?_with_mkpdf:%exclude %_bindir/gtkdoc-mkpdf} %_datadir/%name/ %_datadir/pkgconfig/%name.pc %_datadir/aclocal/%name.m4 %dir %_datadir/cmake/GtkDoc %_datadir/cmake/GtkDoc/*.cmake %_sysconfdir/buildreqs/files/ignore.d/* %dir %pkgdocdir %pkgdocdir/AUTHORS %pkgdocdir/COPYING %pkgdocdir/ChangeLog.bz2 %pkgdocdir/MAINTAINERS %pkgdocdir/NEWS %pkgdocdir/README* %pkgdocdir/TODO %pkgdocdir/*.txt %pkgdocdir/*.dot %pkgdocdir/examples %if_with mkpdf %files mkpdf %_bindir/gtkdoc-mkpdf %endif %files manual -f gtk-doc-manual.lang %dir %pkgdocdir %pkgdocdir/COPYING-DOCS %changelog * Tue Aug 17 2021 Yuri N. Sedunov <aris@altlinux.org> 1.33.2-alt1.1 - fixed python dependendencies (ALT #40763) * Tue Jan 19 2021 Yuri N. Sedunov <aris@altlinux.org> 1.33.2-alt1 - 1.33.2 * Tue Nov 17 2020 Yuri N. Sedunov <aris@altlinux.org> 1.33.1-alt1 - 1.33.1 * Thu Oct 01 2020 Yuri N. Sedunov <aris@altlinux.org> 1.33.0-alt1 - 1.33.0 * Thu Aug 27 2020 Yuri N. Sedunov <aris@altlinux.org> 1.32.1-alt0.1 - updated to GTK_DOC_1_32-52-gb209222 * Thu Aug 15 2019 Yuri N. Sedunov <aris@altlinux.org> 1.32-alt1 - 1.32 * Thu Nov 29 2018 Yuri N. Sedunov <aris@altlinux.org> 1.29-alt2 - fixed BR (ALT #35673) * Tue Aug 28 2018 Yuri N. Sedunov <aris@altlinux.org> 1.29-alt1 - 1.29 * Tue May 29 2018 Yuri N. Sedunov <aris@altlinux.org> 1.28-alt2 - enabled tests with dblatex-0.3.10 - gtk-doc-mkpdf requires dblatex-0.3.10 * Sat Mar 24 2018 Yuri N. Sedunov <aris@altlinux.org> 1.28-alt1 - 1.28 * Thu Dec 07 2017 Yuri N. Sedunov <aris@altlinux.org> 1.27-alt1 - 1.27 * Tue Oct 31 2017 Yuri N. Sedunov <aris@altlinux.org> 1.26.1-alt0.2 - updated to GTK_DOC_1_26-23-g8ad03e1 (fixed BGO ##787862, 787768) * Mon Sep 11 2017 Yuri N. Sedunov <aris@altlinux.org> 1.26.1-alt0.1 - updated to GTK_DOC_1_26-14-g95a9312 * Tue Aug 15 2017 Yuri N. Sedunov <aris@altlinux.org> 1.26-alt1 - 1.26 * Tue Mar 22 2016 Yuri N. Sedunov <aris@altlinux.org> 1.25-alt1 - 1.25 * Sat May 30 2015 Yuri N. Sedunov <aris@altlinux.org> 1.24-alt1 - 1.24 * Sun May 17 2015 Yuri N. Sedunov <aris@altlinux.org> 1.23-alt1 - 1.23 * Thu May 07 2015 Yuri N. Sedunov <aris@altlinux.org> 1.22-alt1 - 1.22 * Fri Jul 18 2014 Yuri N. Sedunov <aris@altlinux.org> 1.21-alt1 - 1.21 * Sun Feb 16 2014 Yuri N. Sedunov <aris@altlinux.org> 1.20-alt1 - 1.20 * Wed Jun 05 2013 Yuri N. Sedunov <aris@altlinux.org> 1.19-alt1 - 1.19 * Sat Mar 30 2013 Yuri N. Sedunov <aris@altlinux.org> 1.18.1-alt0.1 - 1.18.1 snapshot (8972559) * Thu Dec 08 2011 Yuri N. Sedunov <aris@altlinux.org> 1.18-alt2 - fixed gtk-doc.m4 for glib independent packages * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.18-alt1.1 - Rebuild with Python-2.7 * Wed Sep 14 2011 Yuri N. Sedunov <aris@altlinux.org> 1.18-alt1 - 1.18 * Sat Feb 26 2011 Yuri N. Sedunov <aris@altlinux.org> 1.17-alt1 - 1.17 * Sat Jan 15 2011 Yuri N. Sedunov <aris@altlinux.org> 1.16-alt1 - 0.16 * Sat May 22 2010 Yuri N. Sedunov <aris@altlinux.org> 1.15-alt1 - 0.15 * Sun Mar 28 2010 Yuri N. Sedunov <aris@altlinux.org> 1.14-alt1 - 0.14 - removed upstreamed patches - %%check section * Wed Jan 20 2010 Yuri N. Sedunov <aris@altlinux.org> 1.13-alt2 - fixed GNOME bug #605211 (closes #22794) * Sat Dec 19 2009 Yuri N. Sedunov <aris@altlinux.org> 1.13-alt1 - 1.13 - new -pdf subpackage * Fri Dec 18 2009 Yuri N. Sedunov <aris@altlinux.org> 1.12-alt1 - 1.12 * Mon Nov 17 2008 Yuri N. Sedunov <aris@altlinux.org> 1.11-alt1 - 1.11 - fixed %%url, packager tag - don't run {update,clean}_scrollkeeper in %%post{,un} scripts - updated buildreqs * Sun Jul 20 2008 Yuri N. Sedunov <aris@altlinux.org> 1.10-alt1 - new version * Tue Jan 22 2008 Alexey Rusakov <ktirf@altlinux.org> 1.9-alt2 - Fixed installation dependency on scrollkeeper (gtk-doc does not need SK at all). - Use rpm-build-licenses and rpm-build-gnome. * Thu Jan 03 2008 Eugene Ostapets <eostapets@altlinux.ru> 1.9-alt1 - Release 1.9 * Mon Apr 30 2007 Eugene Ostapets <eostapets@altlinux.ru> 1.8-alt1 - Release 1.8 - Update url * Sun Nov 12 2006 Eugene Ostapets <eostapets@altlinux.ru> 1.7-alt1 - Release 1.7 * Sun Apr 09 2006 Mikhail Zabaluev <mhz@altlinux.ru> 1.6-alt1 - Release 1.6 - Dropped dependencies on openjade and DSSSL * Sun Mar 12 2006 Mikhail Zabaluev <mhz@altlinux.ru> 1.5-alt1 - Release 1.5 - Introduced gtk-doc-manual package for the new manual - Buildreq - Added xsltproc to dependencies * Thu Feb 02 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.4-alt2.1 - Rebuilt for new pkg-config dependencies. * Sat Sep 10 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1.4-alt2 - Put the .pc file into architecture-independent /usr/share/pkgconfig * Thu Jul 21 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1.4-alt1 - New upstream release - Hack against broken perl autoreq * Mon Jan 10 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1.3-alt1 - New upstream release - Create the ignore file in place * Sun Mar 28 2004 Mikhail Zabaluev <mhz@altlinux.ru> 1.2-alt1 - New upstream release - Specify the local XML catalog for configure - Add SGML catalog to the filelist * Sat Oct 04 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1-alt2 - Added docbook-style-xsl to BuildRequires - Added versioned perl dependency * Wed Apr 30 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1-alt1 - New version - Requires docbook-dtds >= 1.0-alt7 which fixed a stupid catalog bug * Sun Apr 06 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.0-alt1 - New version * Sat Nov 30 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.10-alt1 - 0.10 * Mon Nov 11 2002 Stanislav Ievlev <inger@altlinux.ru> 0.9-alt5 - rebuild * Wed May 15 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.9-alt4 - Added /usr/share/bonobo/html/ to buildreq ignores as well * Tue May 14 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.9-alt3 - Added /usr/share/gnome/html/ to buildreq ignores, as half of uses specify this directory for destination/search * Wed May 08 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.9-alt2 - Added buildreqs ignore stuff - Added /usr/share/gtk-doc/html/ to the file list - Require docbook-dtds * Fri Mar 15 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.9-alt1 - 0.9 - License is GPL - Removed buildrequires, dependencies on docbook-utils * Thu May 31 2001 AEN <aen@logic.ru> 0.5.9-alt1 - build for Sisyphus * Fri Mar 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.4b1-1mdk - added by eric.m.c.declerck@free.fr * Wed Feb 28 2001 eric.m.c.declerck@free.fr - compiled for Mandrake * Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com> - Replace docbook, sgml-common, and stylesheets requirements with docbook-utils requirement. - Use public identifier in custom stylesheets. * Thu Dec 14 2000 Bill Nottingham <notting@redhat.com> - rebuild because of broken fileutils * Mon Nov 13 2000 Owen Taylor <otaylor@redhat.com> - Version 0.4b1 (CVS snapshot) * Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com> - added Requires * Fri Apr 23 1999 Owen Taylor <otaylor@redhat.com> - Initial RPM, version 0.2 |