Package gnustep-sqlclient: 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 | # should use generic java rpath; %def_without java %set_verify_elf_method unresolved=strict Name: gnustep-sqlclient Version: 1.7.0 Release: alt9 Summary: Provide a simple interface to SQL databases for GNUstep applications License: LGPLv3+ Group: Graphical desktop/GNUstep Url: http://www.gnustep.org/ Packager: Andrey Cherepanov <cas@altlinux.org> # http://svn.gna.org/svn/gnustep/libs/sqlclient/trunk/ Source: %name-%version.tar BuildRequires(pre): rpm-build-java BuildRequires: gnustep-make-devel gnustep-base-devel BuildRequires: gnustep-performance-devel /proc BuildRequires: postgresql-devel libsqlite3-devel BuildRequires: libMySQL-devel %if_with java BuildRequires: java-devel-default %endif Requires: lib%name = %version-%release Requires: gnustep-back %description The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements. %package -n lib%name Summary: Shared libraries of GNUstep SQLClient Group: System/Libraries %description -n lib%name The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements. This package contains shared libraries of SQLClient. %package -n lib%name-devel Summary: Development files of GNUstep SQLClient Group: Development/Objective-C Provides: %name-devel = %version-%release Requires: lib%name = %version-%release Requires: %name = %version-%release %description -n lib%name-devel The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements. This package contains shared libraries of SQLClient. %package doc Summary: Documentation for GNUstep SQLClient Group: Development/Documentation BuildArch: noarch %description doc The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements. This package contains documentation for SQLClient. %prep %setup %build . %_datadir/GNUstep/Makefiles/GNUstep.sh export LD_LIBRARY_PATH=$(dirname $(find %_jvmdir -name libjvm.so) \ |egrep server) %autoreconf %configure \ --libexecdir=%_libdir \ --with-postgres-dir=%prefix \ --with-additional-include=-I%_includedir/pgsql \ %if_with java %ifarch x86_64 --with-jre-architecture=amd64 \ %else --with-jre-architecture=i386 \ %endif %endif --with-installation-domain=SYSTEM libSQLClient=$PWD/obj/libSQLClient.so buildIt() { %make_build \ messages=yes \ debug=yes \ strip=no \ shared=yes \ CONFIG_SYSTEM_LIBS="$1 -lPerformance -lgnustep-base" } buildIt for i in SQLite MySQL \ %if_with java JDBC_libs \ JDBC \ %endif Postgres ECPG do rm -f $(find ./ -name $i -type f) done buildIt $libSQLClient %install . %_datadir/GNUstep/Makefiles/GNUstep.sh %makeinstall_std messages=yes GNUSTEP_INSTALLATION_DOMAIN=SYSTEM %files %doc ChangeLog README %_libdir/GNUstep %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %files doc %_docdir/GNUstep %changelog * Wed Oct 07 2020 Andrey Cherepanov <cas@altlinux.org> 1.7.0-alt9 - Build without libgnustep-objc2-devel. - Build on any architectures. * Sat Jun 22 2019 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt8.svn20140221.1 - NMU: disabled java support as it links and generates dependencies with JVM's name and release; should use /usr/lib/jvm/jre/lib/<jarch> as RPATH or do not link with JVM at all. * Mon Jun 25 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt7.svn20140221.1 - NMU: rebuild with new openjdk java * Thu Feb 01 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt6.svn20140221.1 - NMU: rebuild with new openjdk java * Sun Nov 08 2015 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt5.svn20140221.1 - rebuild with java-1.6.0-devel * Tue Mar 03 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt5.svn20140221 - Fixed build * Sat Jun 07 2014 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt4.svn20140221.1 - rebuild with new openjdk java * Wed Apr 02 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt4.svn20140221 - Rebuilt with postgresql9.3 * Tue Mar 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt3.svn20140221 - New snapshot * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt3.svn20130910 - Built with clang * Thu Jan 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt2.svn20130910 - Added Requires: gnustep-back * Mon Jan 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt2.git20130910 - Rebuilt with new gnustep-gui * Wed Oct 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt1.git20130910 - Version 1.7.0 * Tue Mar 05 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.1-alt1.git20130304 - Version 1.6.1 * Mon Dec 31 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.0-alt3.git20121129 - Rebuilt with libobjc2 instead of libobjc * Fri Dec 14 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.0-alt2.git20121129 - Rebuild with updated gnustep-mak * Thu Dec 13 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.0-alt1.git20121129 - Initial build for Sisyphus |