summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miƛkiewicz2009-03-07 18:02:45 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit7b9f1d355ee423c542c00cad4c52af1329cc88fb (patch)
tree78c7a086634ba7ad660676c3af0b449f6eee6c2a
parent05db88206cec4c1c12cf479942cf07c93f659165 (diff)
downloadpinentry-qt4-7b9f1d355ee423c542c00cad4c52af1329cc88fb.zip
pinentry-qt4-7b9f1d355ee423c542c00cad4c52af1329cc88fb.tar.gz
Changed files: pinentry-qt4.spec -> 1.3
-rw-r--r--pinentry-qt4.spec18
1 files changed, 10 insertions, 8 deletions
diff --git a/pinentry-qt4.spec b/pinentry-qt4.spec
index fec8010..db1191f 100644
--- a/pinentry-qt4.spec
+++ b/pinentry-qt4.spec
@@ -5,7 +5,7 @@
Summary: Simple PIN or passphrase entry dialog for Qt
Name: pinentry-qt4
Version: 0.1
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications
Source0: ftp://ftp.kde.org/pub/kde/unstable/snapshots/kdeplayground-pim-934819.tar.bz2
@@ -13,6 +13,8 @@ Source0: ftp://ftp.kde.org/pub/kde/unstable/snapshots/kdeplayground-pim-934819.t
BuildRequires: QtGui-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define specflags -DHAVE_MLOCK=1 -DHAVE_MMAP=1 -DCAPABILITIES=1 -DHAVE_SETEUID=1 -DHAVE_GETPAGESIZE=1
+
%description
Simple PIN or passphrase entry dialog for Qt.
@@ -28,15 +30,15 @@ cd pinentry-qt4
install -d build
cd build
%cmake \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DLIB_INSTALL_DIR=%{_libdir} \
- -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
- -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
- -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DLIB_INSTALL_DIR=%{_libdir} \
+ -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+ -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
+ -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \
%if "%{_lib}" == "lib64"
- -DLIB_SUFFIX=64 \
+ -DLIB_SUFFIX=64 \
%endif
- ../
+ ../
%{__make}