[wxsqlite3/f17] Update to 3.0.0.1-7
Martin Gansser
martinkg at fedoraproject.org
Sat Oct 20 17:08:33 UTC 2012
commit 2c34aaf3e97d7000bb65da3c634eaf08003663ff
Author: Martin Gansser <mgansser at alice.de>
Date: Sat Oct 20 19:08:07 2012 +0200
Update to 3.0.0.1-7
.gitignore | 2 ++
sources | 2 ++
wxsqlite3.spec | 12 ++++++++++--
3 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cbbcec9..941ccac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/wxsqlite3-3.0.0.1.tar.gz
+/wxsqlite3.spec
+/wxsqlite3.pc
diff --git a/sources b/sources
index ef63ff8..1059582 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
266ebbf14a66a8e38ba6abdfff68934f wxsqlite3-3.0.0.1.tar.gz
+ca8906dade022b6e3ab9da436ea6fc1f wxsqlite3.spec
+4e5b5c698daf7f344000391c1de01564 wxsqlite3.pc
diff --git a/wxsqlite3.spec b/wxsqlite3.spec
index 73e2b38..a449813 100644
--- a/wxsqlite3.spec
+++ b/wxsqlite3.spec
@@ -1,12 +1,14 @@
Name: wxsqlite3
Version: 3.0.0.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: C++ wrapper around the SQLite 3.x database
Group: System Environment/Libraries
License: wxWidgets
URL: http://wxcode.sourceforge.net/components/wxsqlite3/
Source0: http://downloads.sourceforge.net/wxcode/%{name}-%{version}.tar.gz
+# https://sourceforge.net/tracker/?func=detail&aid=3578735&group_id=51305&atid=462816
+Source1: %{name}.pc
# don't build the included wxSQLite+ application
BuildRequires: wxGTK-devel
@@ -64,7 +66,7 @@ find -name sqlite3 -type d | xargs rm -rfv
# https://sourceforge.net/tracker/?func=detail&aid=3577572&group_id=51305&atid=462816
find -type f -exec chmod a-x {} \;
-# copy correct configure file an set premission
+# copy correct configure file and set permission
chmod a+x configure29 configure
cp configure29 configure
@@ -77,6 +79,8 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+install -Dpm 644 %{SOURCE1} \
+ $RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}.pc
%post -p /sbin/ldconfig
@@ -90,6 +94,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%files devel
%{_includedir}/wx/
+%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/*.so
%files doc
@@ -97,6 +102,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
+* Sat Oct 20 2012 Martin Gansser <linux4martin[at]gmx.de> 3.0.0.1-7
+- added wxsqlite3.pc file
+
* Tue Oct 16 2012 Martin Gansser <linux4martin[at]gmx.de> 3.0.0.1-6
- added chmod a-x for all files
- added chmod a+x for configure29
More information about the scm-commits
mailing list