From c853264a83fa985f70fdbc73866991e813090b4c9ad8be553387c110205c6672 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 10 Apr 2016 09:10:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:database/sqlitebrowser?expand=0&rev=16 --- ...ebrowser-3.8.0.tar.gz => sqlitebrowser-3.8.0.tar.gz | 0 sqlitebrowser.spec | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) rename #sqlitebrowser-3.8.0.tar.gz => sqlitebrowser-3.8.0.tar.gz (100%) diff --git a/#sqlitebrowser-3.8.0.tar.gz b/sqlitebrowser-3.8.0.tar.gz similarity index 100% rename from #sqlitebrowser-3.8.0.tar.gz rename to sqlitebrowser-3.8.0.tar.gz diff --git a/sqlitebrowser.spec b/sqlitebrowser.spec index 1c1a609..2076c6d 100644 --- a/sqlitebrowser.spec +++ b/sqlitebrowser.spec @@ -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