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 | %set_verify_elf_method unresolved=strict Name: gnustep-sqlclient Version: 1.7.0 Release: alt2.svn20130910.M70T.1 Summary: Provide a simple interface to SQL databases for GNUstep applications License: LGPLv3+ Group: Graphical desktop/GNUstep Url: http://www.gnustep.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # http://svn.gna.org/svn/gnustep/libs/sqlclient/trunk/ Source: %name-%version.tar BuildRequires(pre): rpm-build-java BuildPreReq: clang-devel gnustep-make-devel gnustep-base-devel BuildPreReq: libgnustep-objc2-devel gnustep-performance-devel /proc BuildPreReq: java-devel-default postgresql9.1-devel libsqlite3-devel BuildPreReq: libMySQL-devel 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 \ %ifarch x86_64 --with-jre-architecture=amd64 \ %else --with-jre-architecture=i386 \ %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 -lobjc2" } buildIt for i in SQLite MySQL JDBC_libs JDBC 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 * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt2.svn20130910.M70T.1 - Built for t7/branch * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt3.svn20130910 - Built with clang * Tue Feb 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt1.svn20130910.M70T.1 - Built for t7/branch * 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 |