Package libconfig: 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 | %def_enable static Name: libconfig Version: 1.5 Release: alt2 Summary: C/C++ Configuration File Library License: LGPLv2.1+ Group: System/Libraries Url: http://www.hyperrealm.com/main.php?s=libconfig Source: %name-%version.tar # Automatically added by buildreq on Sat Oct 08 2011 # optimized out: libstdc++-devel BuildRequires: flex gcc-c++ # explicitly added texinfo for info files BuildRequires: texinfo %description Libconfig is a simple library for manipulating structured configuration files, like this one: test.cfg. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. Libconfig is very compact thus well-suited for memory constrained systems like handheld devices. The library includes bindings for both the C and C++ languages. It works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, Solaris, FreeBSD) and Windows (2000, XP and later). %package devel Summary: Header files for %name Group: Development/Other Requires: %name = %version-%release %description devel Header files for %name library. %package c++ Summary: C++ Configuration File Library Group: System/Libraries # doesn't require base, common code included in library %description c++ libconfig++ is the C++ binding for libconfig library. %package c++-devel Summary: Header files for libconfig++ library Group: Development/Other Requires: %name-c++ = %version-%release Requires: %name-devel = %version-%release Requires: libstdc++-devel %description c++-devel Header files for libconfig++ library. %if_enabled static %package devel-static Summary: Static library files for %name Group: Development/Other Requires: %name-devel = %version-%release Requires: glibc-devel-static %description devel-static Static library files for %name. %package c++-devel-static Summary: Static library files for libconfig++ Group: Development/Other Requires: %name-c++-devel = %version-%release Requires: libstdc++-devel-static %description c++-devel-static Static library files for libconfig++. %endif %prep %setup rm -rf examples/Makefile* rm -rf examples/*/Makefile* rm -rf examples/*/*.vcproj sed -i '/examples.*Makefile/d' configure.ac %autoreconf %build %configure \ %{subst_enable static} \ --disable-examples %make_build %install %makeinstall_std %files %doc AUTHORS ChangeLog README NEWS TODO %_libdir/libconfig.so.* #_bindir/libconfig_tests %files devel %doc examples/ %_libdir/libconfig.so %_includedir/libconfig.h %_pkgconfigdir/libconfig.pc %_infodir/libconfig.info* %files c++ %_libdir/libconfig++.so.* %files c++-devel %_libdir/libconfig++.so %_includedir/libconfig.h++ %_pkgconfigdir/libconfig++.pc %if_enabled static %files devel-static %_libdir/libconfig.a %files c++-devel-static %_libdir/libconfig++.a %endif %changelog * Fri Jun 08 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5-alt2 - NMU: rebuilt to regenerate ABI. * Thu Dec 03 2015 Igor Vlasenko <viy@altlinux.ru> 1.5-alt1.1 - NMU: added BR: texinfo * Mon Sep 28 2015 Michael Shigorin <mike@altlinux.org> 1.5-alt1 - new version 1.5 * Fri Jun 12 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.4.9-alt1.1 - Rebuilt for gcc5 C++11 ABI. * Thu Jun 19 2014 Michael Shigorin <mike@altlinux.org> 1.4.9-alt1 - new version 1.4.9 * Sat Oct 08 2011 Michael Shigorin <mike@altlinux.org> 1.4.8-alt2 - whoops, forgot to commit the tested spec changes * Sat Oct 08 2011 Michael Shigorin <mike@altlinux.org> 1.4.8-alt1 - 1.4.8 (thx fedorawatch) - dropped libconfig_tests from main subpackage (no more installed by upstream makefile) * Mon Apr 18 2011 Michael Shigorin <mike@altlinux.org> 1.4.7-alt1 - 1.4.7 (thx led@) * Mon Apr 18 2011 Michael Shigorin <mike@altlinux.org> 1.4.6-alt4 - introduced conditional static library build, enabled by default * Mon Mar 21 2011 Michael Shigorin <mike@altlinux.org> 1.4.6-alt3 - fixed packaging soname links in c++ subpackage (closes: #25266) + thanks snejok@ for investigation/report * Thu Feb 24 2011 Michael Shigorin <mike@altlinux.org> 1.4.6-alt2 - separated libconfig++ so main package doesn't require libstdc++ (based on PLD r1.3 by qboosh@) - added libconfig_tests to main package (too small for utils, eh?) * Thu Feb 24 2011 Michael Shigorin <mike@altlinux.org> 1.4.6-alt1 - 1.4.6 - spec/description cleanup - dropped Packager: (proper maintainer is welcome) * Mon Nov 01 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.1-alt2 - Rebuilt for soname set-versions * Mon Jan 04 2010 Andrey Rahmatullin <wrar@altlinux.ru> 1.4.1-alt1 - 1.4.1 * Tue Nov 24 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.4-alt1 - 1.4 * Wed Aug 26 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.3.2-alt1 - 1.3.2 * Sun Dec 28 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.1-alt1 - new version 1.3.1 (with rpmrb script) * Mon Jan 07 2008 Vitaly Lipatov <lav@altlinux.ru> 1.2.1-alt1 - new version 1.2.1 (with rpmrb script) * Wed Oct 24 2007 Vitaly Lipatov <lav@altlinux.ru> 1.2-alt1 - new version 1.2 (with rpmrb script) * Fri Aug 04 2006 Vitaly Lipatov <lav@altlinux.ru> 0.9-alt0.1 - initial build for ALT Linux Sisyphus |