Package gnome-chemistry-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 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 | %define ver_major 0.14 %define api_ver 0.14 %define _libexecdir %_prefix/libexec %def_disable mozilla %def_enable gnumeric %if_enabled gnumeric %define gnumeric_api_ver 1.12 %define gnumeric_plugindir %(pkg-config --variable PluginDir libspreadsheet-%gnumeric_api_ver) %endif %define goffice_api_ver 0.10 Name: gnome-chemistry-utils Version: %ver_major.17 Release: alt9 Summary: A set of chemical utilities Group: Sciences/Chemistry License: GPLv2+ Url: http://gchemutils.nongnu.org/ Source: http://download.savannah.gnu.org/releases/gchemutils/%ver_major/%name-%version.tar.xz Patch1: %name-0.10.12-alt-mozplugindir.patch # debian Patch11: gnome-chemistry-utils-0.14.17-deb-gnumeric-ftbfs.patch Patch12: gnome-chemistry-utils-0.14.17-deb-openbabel-v3.patch Patch13: gnome-chemistry-utils-0.14.17-deb-use-yelp.patch Patch14: gnome-chemistry-utils-0.14.17-deb-remove-gnome-common.patch Patch15: gnome-chemistry-utils-0.14.17-deb-gdk-use-x11-backend.patch Patch16: gnome-chemistry-utils-0.14.17-deb-gchempaint-merge-molecules-fix.patch Requires: %name-data = %version-%release bodr chemical-mime-data BuildRequires: autoconf-archive gcc-c++ doxygen docbook-dtds BuildRequires: yelp-tools intltool man BuildRequires: libgio-devel libgnomeoffice%goffice_api_ver-devel %{?_enable_gnumeric:BuildRequires: libspreadsheet-devel} BuildRequires: libgsf-devel libopenbabel-devel libGLU-devel BuildRequires: bodr chemical-mime-data %{?_enable_mozilla:BuildRequires: xulrunner-devel browser-plugins-npapi-devel} %description The Gnome chemistry Utils are a collection of libraries and programs for the GNOME desktop which migh be useful for chemists and science students. This package provides. * A 3D molecular structure viewer (GChem3D). * A Chemical calculator (GChemCalc). * A 2D structure editor (GChemPaint). * A periodic table of the elements application (GChemTable). * A crystalline structure editor (GCrystal). * A spectra viewer (GSpectrum). %package data Summary: Arch independent files for the Gnome chemistry Utils Group: Sciences/Chemistry BuildArch: noarch %description data This package provides noarch data needed for the Gnome chemistry Utils to work. %package -n mozilla-plugin-%name Summary: Gnome chemistry Utils browser plugin Group: Sciences/Chemistry Requires: %name = %version-%release %description -n mozilla-plugin-%name This package contains Gnome chemistry Utils plugin for xullrunner-based browsers. %package -n gnumeric-plugin-%name Summary: Gnome chemistry Utils plugin for Gnumeric Group: Sciences/Chemistry Requires: %name = %version-%release %description -n gnumeric-plugin-%name This package contains Gnome chemistry Utils plugin for Gnumeric spreadsheet program. %prep %setup %patch1 -b .mozplugindir %patch11 -p1 #%%patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 [ ! -d m4 ] && mkdir m4 %build # document.h:187:32: error: ISO C++17 does not allow dynamic exception specifications %add_optflags -std=c++14 %autoreconf %configure --disable-update-databases \ --disable-schemas-compile \ --disable-scrollkeeper \ %{?_disable_mozilla:--disable-mozilla-plugin} \ %{?_enable_mozilla:--with-mozilla-libdir=%browser_plugins_path} %make_build %install %makeinstall_std %define apps gchem3d-%api_ver gchemcalc-%api_ver gchempaint-%api_ver gchemtable-%api_ver gcrystal-%api_ver gspectrum-%api_ver %find_lang --with-gnome --output=%name.lang gchemutils-%api_ver %apps %files %_bindir/* %_libexecdir/babelserver %_libdir/gchemutils %_libdir/goffice/*/plugins/gchemutils %_libdir/libgccv-%api_ver.so.* %_libdir/libgcp-%api_ver.so.* %_libdir/libgcu-%api_ver.so.* %_libdir/libgcrystal-%api_ver.so.* %_libdir/libgcugtk-%api_ver.so.* %doc AUTHORS NEWS README TODO %exclude %_libdir/*.so %exclude %_datadir/mimelnk/ %files data -f %name.lang %_datadir/applications/* %_datadir/gchemutils/ %_datadir/icons/hicolor/*/*/* %_datadir/mime/packages/gchemutils.xml %_man1dir/* %_datadir/glib-2.0/schemas/org.gnome.gchemutils.crystal.gschema.xml %_datadir/glib-2.0/schemas/org.gnome.gchemutils.gschema.xml %_datadir/glib-2.0/schemas/org.gnome.gchemutils.paint.gschema.xml %_datadir/glib-2.0/schemas/org.gnome.gchemutils.paint.plugins.arrows.gschema.xml %_datadir/appdata/* %if_enabled mozilla %files -n mozilla-plugin-%name %_libexecdir/chem-viewer %browser_plugins_path/libmozgcu.so %exclude %browser_plugins_path/libmozgcu.la %endif %if_enabled gnumeric %files -n gnumeric-plugin-%name %gnumeric_plugindir/gchemutils/ %exclude %gnumeric_plugindir/gchemutils/*.la %endif %changelog * Thu Sep 23 2021 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt9 - applied debian patchset - enabled gnimeric plugin again - fixed build with gcc-11 * Fri Aug 10 2018 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt8 - disabled gnumeric support incompatible with 1.12.42 * Wed Mar 14 2018 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt7 - rebuilt for new gnumeric-1.12.39 * Fri Dec 29 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt6 - rebuilt for new gnumeric-1.12.38 * Sat Dec 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt5 - rebuilt for new gnumeric-1.12.37 * Sun Nov 19 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt4 - rebuilt for new gnumeric-1.12.36 * Fri Jul 07 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt3 - rebuilt for new gnumeric-1.12.35 * Fri Mar 24 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt2 - rebuilt for new gnumeric-1.12.34 * Sun Feb 19 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.17-alt1 - 0.14.17 * Tue Jan 31 2017 Yuri N. Sedunov <aris@altlinux.org> 0.14.16-alt2 - rebuilt for new gnumeric-1.12.33 * Mon Nov 28 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.16-alt1 - 0.14.16 * Mon Nov 07 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.15-alt1 - 0.14.15 * Mon Oct 17 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.14-alt6 - rebuilt against libopenbabel.so.5 * Sun Aug 21 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.14-alt5 - rebuilt for new gnumeric-1.12.32 * Mon Jul 11 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.14-alt4 - 0.14.14 * Thu Jun 30 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.12-alt4 - rebuilt for new gnumeric-1.12.31 * Sat Jun 18 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.12-alt3 - rebuilt for new gnumeric-1.12.30 * Sat May 07 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.12-alt2 - rebuilt for new gnumeric-1.12.29 * Mon Mar 28 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.12-alt1 - 0.14.12 * Wed Mar 23 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.11-alt2 - rebuilt for new gnumeric-1.12.28 * Tue Mar 22 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.11-alt1 - 0.14.11 * Mon Feb 22 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt10.1 - disabled mozilla plugin * Sat Feb 06 2016 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt10 - rebuilt for new gnumeric-1.12.27 * Tue Dec 29 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt9 - rebuilt for new gnumeric-1.12.26 * Sat Dec 26 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt8 - rebuilt for new gnumeric-1.12.25 * Wed Oct 14 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt7 - rebuilt for new gnumeric-1.12.24 * Wed Jul 29 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt6 - rebuilt for new gnumeric-1.12.23 * Fri Apr 17 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt5 - rebuilt for new gnumeric-1.12.22 * Thu Mar 05 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt4 - rebuilt for new gnumeric-1.12.21 * Thu Feb 05 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt3 - rebuilt for new gnumeric-1.12.20 * Fri Jan 23 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt2 - rebuilt for new gnumeric-1.12.19 * Fri Jan 16 2015 Yuri N. Sedunov <aris@altlinux.org> 0.14.10-alt1 - 0.14.10 * Fri Sep 26 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.9-alt2 - - rebuilt for new gnumeric-1.12.18 * Thu Sep 04 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.9-alt1 - 0.14.9 * Tue Jun 10 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.8-alt2 - rebuilt for new gnumeric-1.12.17 * Mon May 26 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.8-alt1 - 0.14.8 - built for new gnumeric-1.12.16 * Mon Apr 14 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.7-alt3 - rebuilt for new gnumeric-1.12.14 * Wed Mar 19 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.7-alt2 - rebuilt for new gnumeric-1.12.13 * Sun Feb 16 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.7-alt1 - 0.14.6 - built with new gnumeric-1.12.11 * Wed Feb 12 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.6-alt1 - 0.14.6 - built with new gnumeric-1.12.10 * Fri Nov 29 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.4-alt2 - rebuilt for new gnumeric-1.12.9 * Tue Nov 19 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.4-alt1 - 0.14.4 * Tue Oct 08 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt7 - rebuilt for new gnumeric-1.12.8 * Sun Sep 01 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt6 - rebuilt for new gnumeric-1.12.7 * Wed Aug 28 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt5 - rebuilt for new gnumeric-1.12.6 * Tue Aug 20 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt4 - rebuilt for new gnumeric-1.12.5 * Mon Jul 15 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt3 - rebuilt for new gnumeric-1.12.4 * Sun Jun 30 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt2 - rebuilt for new gnumeric-1.12.3 * Sat Apr 27 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt1 - 0.14.2 * Sat Mar 09 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.0-alt2 - rebuilt for new gnumeric-1.12.1 - arch independent data moved to separate subpackage * Wed Dec 19 2012 Yuri N. Sedunov <aris@altlinux.org> 0.14.0-alt1 - 0.14.0 * Wed Dec 19 2012 Yuri N. Sedunov <aris@altlinux.org> 0.13.99-alt1 - 0.13.99 * Sun Nov 18 2012 Yuri N. Sedunov <aris@altlinux.org> 0.13.98-alt1 - 0.13.98 * Sat Oct 06 2012 Yuri N. Sedunov <aris@altlinux.org> 0.12.13-alt1 - 0.12.13 * Wed Jun 20 2012 Yuri N. Sedunov <aris@altlinux.org> 0.12.10-alt2 - used GSettings instead GConf as in libgnomeoffice-0.8.17-alt2 * Fri Dec 16 2011 Michael Shigorin <mike@altlinux.org> 0.12.10-alt1.1 - NMU: rebuilt against current openbabel * Mon Nov 28 2011 Yuri N. Sedunov <aris@altlinux.org> 0.12.10-alt1 - 0.12.10 - updated buildreqs - new gnumeric-plugin-%%name subpackage * Thu Aug 11 2011 Yuri N. Sedunov <aris@altlinux.org> 0.12.8-alt1 - 0.12.8 * Sat May 29 2010 Yuri N. Sedunov <aris@altlinux.org> 0.12.0-alt1 - 0.12.0 * Sat Mar 20 2010 Yuri N. Sedunov <aris@altlinux.org> 0.10.12-alt2 - build mozilla-plugin subpackage * Mon Mar 15 2010 Yuri N. Sedunov <aris@altlinux.org> 0.10.12-alt1 - first build for Sisyphus |