[packages/sqlitebrowser] - disable shared libs (build internal "libs" static) - rel 5
baggins
baggins at pld-linux.org
Sat Oct 3 15:10:15 CEST 2015
commit 65b653fc0f3d9adb440e1f8ac559c3e916e6df76
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Oct 3 15:09:40 2015 +0200
- disable shared libs (build internal "libs" static)
- rel 5
sqlitebrowser.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/sqlitebrowser.spec b/sqlitebrowser.spec
index 017af08..81633b6 100644
--- a/sqlitebrowser.spec
+++ b/sqlitebrowser.spec
@@ -2,7 +2,7 @@
Summary: DB Browser for SQLite
Name: sqlitebrowser
Version: 3.7.0
-Release: 4
+Release: 5
License: MPLv2/GPLv3
Group: Applications/Databases/Interfaces
Source0: https://github.com/sqlitebrowser/sqlitebrowser/archive/v%{version}.tar.gz
@@ -33,11 +33,16 @@ to create databases, edit and search data using a familiarspreadsheet-
sed -e '/QSCINTILLA_DIR[ }][^"]/d' -e 's/qcustomplot qscintilla2/qcustomplot/' -i CMakeLists.txt
%build
-%cmake .
+mkdir build
+cd build
+%cmake ../ \
+ -DBUILD_SHARED_LIBS:BOOL=OFF
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
+cd build
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sqlitebrowser.git/commitdiff/65b653fc0f3d9adb440e1f8ac559c3e916e6df76
More information about the pld-cvs-commit
mailing list