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