Package hsqldb1: 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 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-java BuildRequires: unzip # END SourceDeps(oneline) %filter_from_requires /^java-headless/d BuildRequires: /proc BuildRequires: jpackage-generic-compat %global cvs_version 1_8_1_3 %global majorversion 1 Name: hsqldb1 Version: 1.8.1.3 Release: alt1_8jpp8 Summary: HyperSQL Database Engine License: BSD URL: http://hsqldb.sourceforge.net/ Source0: http://downloads.sourceforge.net/hsqldb/hsqldb_%{cvs_version}.zip Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom Patch0: hsqldb-jdbc-4.1.patch BuildRequires: ant BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: junit BuildRequires: glassfish-servlet-api Requires: glassfish-servlet-api Requires: jpackage-utils BuildArch: noarch Source44: import.info %description HSQLdb is a relational database engine written in JavaTM , with a JDBC driver, supporting a subset of ANSI-92 SQL. It offers a small (about 100k), fast database engine which offers both in memory and disk based tables. Embedded and server modes are available. Additionally, it includes tools such as a minimal web server, in-memory query and management tools (can be run as applets or servlets, too) and a number of demonstration examples. Downloaded code should be regarded as being of production quality. The product is currently being used as a database and persistence engine in many Open Source Software projects and even in commercial projects and products! In it's current version it is extremely stable and reliable. It is best known for its small size, ability to execute completely in memory and its speed. Yet it is a completely functional relational database management system that is completely free under the Modified BSD License. Yes, that's right, completely free of cost or restrictions! %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc Javadoc for %{name}. %prep %setup -q -n hsqldb # set right permissions find . -name "*.sh" -exec chmod 755 \{\} \; # remove all _notes directories for dir in `find . -name _notes`; do rm -rf $dir; done # remove all binary libs find . -name "*.jar" -exec rm -f {} \; find . -name "*.class" -exec rm -f {} \; find . -name "*.war" -exec rm -f {} \; # correct silly permissions chmod -R go=u-w * %patch0 -p1 cp %{SOURCE1} ./pom.xml %build export CLASSPATH=$(build-classpath glassfish-servlet-api junit) pushd build ant jar javadoc popd %install # jar mkdir -p %{buildroot}%{_javadir} install -m 644 lib/hsqldb.jar %{buildroot}%{_javadir}/%{name}.jar # Maven metadata mkdir -p %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %{name}.jar -v "%{majorversion}" # javadoc mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -r doc/src/* %{buildroot}%{_javadocdir}/%{name} %files -f .mfiles %doc doc/hsqldb_lic.txt %files javadoc %{_javadocdir}/%{name} %doc doc/hsqldb_lic.txt %changelog * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 1.8.1.3-alt1_8jpp8 - new version |