forked from pool/sqlitebrowser
This commit is contained in:
parent
e40c7d1c2b
commit
c853264a83
@ -25,9 +25,6 @@ Group: Productivity/Office/Organizers
|
||||
Url: http://sqlitebrowser.org/
|
||||
Source0: https://github.com/sqlitebrowser/sqlitebrowser/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: sqlitebrowser.1
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: cmake
|
||||
@ -36,6 +33,10 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: sqlite3-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: libqt5-linguist-devel
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
@ -49,7 +50,6 @@ BuildRequires: libqt4-devel
|
||||
%if 0%{?suse_version} > 1100
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
SQLite Database Browser is a freeware, public domain, open source visual tool
|
||||
@ -83,7 +83,7 @@ cmake \
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
|
||||
%install
|
||||
make DESTDIR="%{buildroot}" install
|
||||
make DESTDIR=%{buildroot} install
|
||||
mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/{applications,pixmaps}
|
||||
install -Dm644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/%{name}.1
|
||||
install -m644 images/%{name}.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
||||
|
Loading…
Reference in New Issue
Block a user