1 |
Name: sqlitestudio |
2 |
Version: 3.1.0 |
3 |
Release: %mkrel 1 |
4 |
Summary: A SQLite database manager |
5 |
License: GPLv3 |
6 |
Group: Development/Other |
7 |
URL: http://sqlitestudio.one.pl/ |
8 |
Source0: http://sqlitestudio.pl/files/sqlitestudio3/complete/tar/%{name}-%{version}.tar.gz |
9 |
Patch0: sqlitestudio-3.1.0-fix-install.patch |
10 |
Patch1: sqlitestudio-3.1.0-fix-build.patch |
11 |
BuildRequires: pkgconfig(sqlite3) |
12 |
BuildRequires: readline-devel |
13 |
BuildRequires: pkgconfig(Qt5Concurrent) |
14 |
BuildRequires: pkgconfig(Qt5Core) |
15 |
BuildRequires: pkgconfig(Qt5Gui) |
16 |
BuildRequires: pkgconfig(Qt5Network) |
17 |
BuildRequires: pkgconfig(Qt5Script) |
18 |
BuildRequires: pkgconfig(Qt5Svg) |
19 |
BuildRequires: pkgconfig(Qt5UiTools) |
20 |
BuildRequires: pkgconfig(Qt5Widgets) |
21 |
BuildRequires: pkgconfig(Qt5Xml) |
22 |
BuildRequires: qttools5 |
23 |
|
24 |
%description |
25 |
SQLiteStudio is a SQLite database manager with the following features: |
26 |
|
27 |
* Single executable file |
28 |
* Intuitive interface |
29 |
* All SQLite3 and SQLite2 features wrapped within simple GUI |
30 |
* Cross-platform |
31 |
* Localizations |
32 |
* Exporting to various formats |
33 |
* Importing data from various formats |
34 |
* Numerous small additions |
35 |
* UTF-8 support |
36 |
* Skinnable |
37 |
* Configurable colors, fonts and shortcuts |
38 |
* Open source and free |
39 |
|
40 |
%prep |
41 |
%setup -q -c |
42 |
%autopatch -p1 |
43 |
|
44 |
%build |
45 |
cd SQLiteStudio3 |
46 |
%qmake_qt5 -recursive LIBDIR=%{_libdir} DATADIR=%{_datadir} |
47 |
|
48 |
%make_build |
49 |
|
50 |
%install |
51 |
cd SQLiteStudio3 |
52 |
%make_install INSTALL_ROOT=%{buildroot} |
53 |
|
54 |
# remove unneeded devel files |
55 |
find %{buildroot} -name '*.so' -delete |
56 |
|
57 |
install -d -m 755 %{buildroot}%{_datadir}/applications |
58 |
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF |
59 |
[Desktop Entry] |
60 |
Name=SQLite Studio |
61 |
Comment=A SQLite database manager |
62 |
Exec=%{name} |
63 |
Icon=%{name} |
64 |
Terminal=false |
65 |
Type=Application |
66 |
Categories=Development;Database; |
67 |
MimeType=application/x-sqlite3; |
68 |
EOF |
69 |
|
70 |
%files |
71 |
%doc SQLiteStudio3/docs/* SQLiteStudio3/coreSQLiteStudio/ChangeLog.txt |
72 |
%{_bindir}/%{name}* |
73 |
%{_datadir}/applications/%{name}.desktop |
74 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
75 |
%{_libdir}/libcoreSQLiteStudio.so* |
76 |
%{_libdir}/libguiSQLiteStudio.so* |