|
1 # SQL-DK |
|
2 # Copyright © 2014 František Kučera (frantovo.cz) |
|
3 # |
|
4 # This program is free software: you can redistribute it and/or modify |
|
5 # it under the terms of the GNU General Public License as published by |
|
6 # the Free Software Foundation, either version 3 of the License, or |
|
7 # (at your option) any later version. |
|
8 # |
|
9 # This program is distributed in the hope that it will be useful, |
|
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 # GNU General Public License for more details. |
|
13 # |
|
14 # You should have received a copy of the GNU General Public License |
|
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
16 |
1 Name: sql-dk |
17 Name: sql-dk |
2 Summary: SQL batch client |
18 Summary: SQL batch client |
|
19 Group: Applications/Databases |
|
20 BuildArch: noarch |
3 Version: 0.10 |
21 Version: 0.10 |
4 Release: 1 |
22 Release: 3 |
5 License: GNU GPLv3+ |
23 License: GNU GPLv3+ |
6 # TODO: Java 7 or Java 8+ |
24 URL: https://sql-dk.globalcode.info/ |
7 #Requires: java >= 1:1.7.0 |
25 #Requires: sql-dk-java = %{version} |
|
26 Requires: /usr/bin/java |
|
27 |
|
28 |
|
29 # --- Dependencies ----------------------------------------------------------- |
|
30 # SQL-DK requires Java 7 or Java 8 (or maybe higher). |
|
31 # But simple |
|
32 # Requires: java >= 1:1.7.0 |
|
33 # is not working in Fedora 20 |
|
34 # because java-1.8.0-openjdk here provides „java8“ not „java“ in version 1.8 |
|
35 # see https://www.abclinuxu.cz/poradna/linux/show/396144#1 (in Czech) |
|
36 |
|
37 %package java7 |
|
38 Summary: Java 7 |
|
39 Group: Development/Languages |
|
40 Requires: java >= 1:1.7.0 |
|
41 Provides: sql-dk-java = %{version} |
|
42 |
|
43 %description java7 |
|
44 virtual package for dependency on Java 7 |
|
45 |
|
46 %files java7 |
|
47 |
|
48 %package java8 |
|
49 Summary: Java 8 |
|
50 Group: Development/Languages |
|
51 Requires: java8 >= 1:1.8.0 |
|
52 Provides: sql-dk-java = %{version} |
|
53 |
|
54 %description java8 |
|
55 virtual package for dependency on Java 8 |
|
56 |
|
57 %files java8 |
|
58 # ---------------------------------------------------------------------------- |
|
59 |
8 |
60 |
9 %description |
61 %description |
10 SQL-DK is a command-line client for relational databases. |
62 SQL-DK is a command-line client for relational databases. |
11 |
63 |
12 %prep |
64 %prep |