Update to 3.0.0.1-7
This commit is contained in:
parent
baa5ebb0a7
commit
4f46464ca2
3 changed files with 14 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
/wxsqlite3-3.0.0.1.tar.gz
|
||||
/wxsqlite3.spec
|
||||
/wxsqlite3.pc
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1,3 @@
|
|||
266ebbf14a66a8e38ba6abdfff68934f wxsqlite3-3.0.0.1.tar.gz
|
||||
ca8906dade022b6e3ab9da436ea6fc1f wxsqlite3.spec
|
||||
4e5b5c698daf7f344000391c1de01564 wxsqlite3.pc
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue