Package gnome-doc-utils: 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 | %define ver_major 0.20 %undefine _configure_target Name: gnome-doc-utils Version: %ver_major.10 Release: alt3 Summary: Documentation utilities for GNOME Group: Development/Other License: %gpl2plus Url: http://www.gnome.org/ Packager: GNOME Maintainers Team <gnome@packages.altlinux.org> Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.xz Source1: scrollkeeper-omf.dtd # GNOME bug #524207 Patch1: gnome-doc-utils-0.14.0-package.patch Patch2: gnome-doc-utils-fig-path.patch # https://src.fedoraproject.org/rpms/gnome-doc-utils/blob/rawhide/f/gnome-doc-utils-0.20.10-python3.patch Patch3: gnome-doc-utils-0.20.10-fc-python3.patch %define pkgdocdir %_docdir/%name-%version %define libxml_version 2.6.12 %define libxslt_version 1.1.8 Requires: %name-xslt = %version-%release Requires: librarian %add_python3_path %python3_sitelibdir/xml2po BuildArch: noarch BuildRequires(pre): rpm-build-python3 rpm-build-licenses rpm-build-gnome BuildRequires: intltool BuildRequires: libxml2-devel >= %libxml_version BuildRequires: libxslt-devel >= %libxslt_version BuildRequires: python3-devel python3-module-libxml2 BuildRequires: db2latex-xsl docbook-dtds librarian xsltproc %description gnome-doc-utils is a collection of documentation utilities for the Gnome project. It contains the DocBook XSLT stylesheets that were once distributed with Yelp. %package xslt Summary: XSLT stylesheets for %name Group: Development/Other License: %lgpl2plus %description xslt XSLT stylesheets from the gnome-doc-utils collection. %prep %setup cp %SOURCE1 doc/ %if 0 %_bindir/xmlcatalog --create --noout catalog %_bindir/xmlcatalog --noout --add "public" \ "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \ "doc/scrollkeeper-omf.dtd" catalog export SGML_CATALOG_FILES=catalog %endif %patch1 -p1 -b .package %patch2 -p1 -b .fig %patch3 -p1 -b .python3 # Update URLs of external entities to fix build in isolated network environment. find -type f -print0 | xargs -r0 grep -lZ "'http://[^']*/scrollkeeper-omf[.]dtd'"; | xargs -r0 sed -i "s|'http://[^']*/scrollkeeper-omf[.]dtd'|'/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd'|"; -- %build export am_cv_python_pythondir=%python3_sitelibdir %configure --disable-scrollkeeper \ PYTHON=%__python3 %nil # SMP-incompatible build %make %check %make check %install %makeinstall_std %find_lang --with-gnome --output=%name.lang gnome-doc-make gnome-doc-xslt gnome-doc-mallard-spec gnome-doc-utils install -d -m755 %buildroot%pkgdocdir install -p -m644 AUTHORS README NEWS COPYING %buildroot%pkgdocdir/ ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING.GPL ln -s %_licensedir/LGPL-2.1 %buildroot%pkgdocdir/COPYING.LGPL %files -f %name.lang %_bindir/* %_datadir/pkgconfig/* %_datadir/aclocal/* %_datadir/%name %dir %_datadir/xml/mallard/1.0/ %_datadir/xml/mallard/1.0/* %_man1dir/* #python %python3_sitelibdir/xml2po/ %dir %pkgdocdir %pkgdocdir/AUTHORS %pkgdocdir/COPYING %pkgdocdir/COPYING.GPL %pkgdocdir/NEWS %pkgdocdir/README %files xslt %pkgdocdir/COPYING.LGPL %_datadir/xml/gnome %changelog * Mon May 02 2022 Yuri N. Sedunov <aris@altlinux.org> 0.20.10-alt3 - xml2po: ported to Python3 (fc patch) * Tue Oct 23 2012 Yuri N. Sedunov <aris@altlinux.org> 0.20.10-alt2 - Fixed linking of figures in subfolders, where a relative path to ../../C doesn't work properly (gnome-doc-utils-fig-path.patch) * Mon Mar 26 2012 Yuri N. Sedunov <aris@altlinux.org> 0.20.10-alt1 - 0.20.10 * Tue Oct 25 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.20.6-alt2.1 - Rebuild with Python-2.7 * Fri Jul 01 2011 Dmitry V. Levin <ldv@altlinux.org> 0.20.6-alt2 - Fixed build in isolated network environment (closes: #25845). * Mon Apr 25 2011 Yuri N. Sedunov <aris@altlinux.org> 0.20.6-alt1 - 3.0.1 * Tue Mar 22 2011 Yuri N. Sedunov <aris@altlinux.org> 0.20.5-alt1 - 0.20.5 * Tue Jan 18 2011 Yuri N. Sedunov <aris@altlinux.org> 0.20.4-alt1 - 0.20.4 * Fri Dec 24 2010 Yuri N. Sedunov <aris@altlinux.org> 0.20.3-alt1 - 0.20.3 * Tue Oct 19 2010 Yuri N. Sedunov <aris@altlinux.org> 0.20.2-alt1 - 0.20.2 * Mon Apr 26 2010 Yuri N. Sedunov <aris@altlinux.org> 0.20.1-alt1 - 0.20.1 * Mon Mar 29 2010 Yuri N. Sedunov <aris@altlinux.org> 0.20.0-alt1 - 0.20.0 * Mon Feb 22 2010 Yuri N. Sedunov <aris@altlinux.org> 0.19.5-alt1 - 0.19.5 * Tue Feb 09 2010 Yuri N. Sedunov <aris@altlinux.org> 0.19.4-alt1 - 0.19.4 * Tue Jan 26 2010 Yuri N. Sedunov <aris@altlinux.org> 0.19.3-alt1 - 0.19.3 * Tue Jan 19 2010 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt2 - %%pkgdocdir added to the file list * Tue Jan 12 2010 Yuri N. Sedunov <aris@altlinux.org> 0.19.2-alt1 - 1.19.2 * Wed Jan 06 2010 Yuri N. Sedunov <aris@altlinux.org> 0.19.1-alt1 - 0.19.1 * Fri Nov 20 2009 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1 - 0.18.1 * Tue Sep 22 2009 Yuri N. Sedunov <aris@altlinux.org> 0.18.0-alt1 - 0.18.0 * Tue Aug 25 2009 Yuri N. Sedunov <aris@altlinux.org> 0.17.4-alt1 - 0.17.4 * Tue Apr 14 2009 Yuri N. Sedunov <aris@altlinux.org> 0.16.1-alt1 - 0.16.1 * Sat Mar 21 2009 Yuri N. Sedunov <aris@altlinux.org> 0.16.0-alt1 - 0.16.0 * Mon Feb 02 2009 Yuri N. Sedunov <aris@altlinux.org> 0.15.1-alt1 - 0.15.1 * Sat Jan 10 2009 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt1 - 0.14.2 * Tue Dec 16 2008 Yuri N. Sedunov <aris@altlinux.org> 0.14.1-alt1 - 0.14.1 * Fri Sep 26 2008 Alexey Shabalin <shaba@altlinux.ru> 0.14.0-alt1 - New version (0.14.0). * Mon Mar 17 2008 Alexey Shabalin <shaba@altlinux.ru> 0.12.2-alt1.1 - build for Sisyphus * Fri Mar 14 2008 Alexey Shabalin <shaba@altlinux.ru> 0.12.2-alt1 - New version (0.12.2). * Wed Mar 05 2008 Alexey Rusakov <ktirf@altlinux.org> 0.12.1-alt1 - New version (0.12.1). - Fixed Source so that rpmgs from etersoft-build-utils could use it. * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.12.0-alt1.1 - Rebuilt with python-2.5. * Tue Oct 30 2007 Alexey Rusakov <ktirf@altlinux.org> 0.12.0-alt1 - New version (0.12.0). - Used license macros from rpm-build-licenses. - added explicit Requires: python-modules-encodings, or packages that use xml2po would not build. * Tue Jun 26 2007 Igor Zubkov <icesik@altlinux.org> 0.10.3-alt2 - add Url to package * Sat Jun 16 2007 Igor Zubkov <icesik@altlinux.org> 0.10.3-alt1 - 0.6.0 -> 0.10.3 - buildreq * Sat Apr 15 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.6.0-alt1 - Release 0.6.0 * Mon Feb 27 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.5.6-alt1 - Updated to 0.5.6 - Split off XSLT stylesheets due to license differencies * Thu Feb 02 2006 ALT QA Team Robot <qa-robot@altlinux.org> 0.4.3-alt1.1 - Rebuilt for new pkg-config dependencies. * Wed Oct 19 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.4.3-alt1 - 0.4.3 * Sat Sep 10 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.4.1-alt1 - Updated to 0.4.1 - Install the .pc file into architecture-neutral /usr/share/pkgconfig * Tue Aug 30 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.3.3-alt1 - Updated to 0.3.3 * Thu Apr 07 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.2.0-alt1 - New upstream release * Sun Mar 13 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.1.3-alt2 - Rebuilt with Python 2.4 * Wed Mar 09 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.1.3-alt1 - Updated to the latest upstream release * Mon Jan 03 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.1.1-alt2 - Build requires rpm-build-python - Require python 2.3 for correct generation of dependencies - Added /usr/share/xml2po to python compile path * Mon Jan 03 2005 Mikhail Zabaluev <mhz@altlinux.ru> 0.1.1-alt1 - Initial release for Sisyphus |