1
0
forked from pool/sqlitebrowser
Martin Pluskal 2016-04-10 09:10:49 +00:00 committed by Git OBS Bridge
parent e40c7d1c2b
commit c853264a83
2 changed files with 5 additions and 5 deletions

View File

@ -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