[wxsqlite3] Update to 3.0.0.1-6
Martin Gansser
martinkg at fedoraproject.org
Sat Oct 20 16:41:10 UTC 2012
commit 568ac862ac0e007e9bfced90b16e5f29dc1d870f
Author: Martin Gansser <mgansser at alice.de>
Date: Sat Oct 20 18:40:27 2012 +0200
Update to 3.0.0.1-6
.gitignore | 2 ++
sources | 2 ++
wxsqlite3.spec | 10 +++++++++-
3 files changed, 13 insertions(+), 1 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..cf4dfdd 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
266ebbf14a66a8e38ba6abdfff68934f wxsqlite3-3.0.0.1.tar.gz
+744bbc3c56a8e483cc7089d1a4eb4f87 wxsqlite3.spec
+4e5b5c698daf7f344000391c1de01564 wxsqlite3.pc
diff --git a/wxsqlite3.spec b/wxsqlite3.spec
index 73e2b38..6500d76 100644
--- a/wxsqlite3.spec
+++ b/wxsqlite3.spec
@@ -7,6 +7,8 @@ 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