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