|
|
|
@ -732,16 +732,33 @@ else |
|
|
|
|
echo Applications/...; |
|
|
|
|
fi) |
|
|
|
|
Source0: %{name}-%{version}.tar.gz |
|
|
|
|
BuildRequires: gnupg, subversion, automake, autoconf $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz"; fi; if testtag AX_CXX_QT || testtag AX_CXX_CHECK_QT; then echo -n ", qtbase5-devel | libqt4-devel, qtbase5-devel-tools | qt4-devel-tools"; fi) |
|
|
|
|
BuildRequires: gnupg, subversion, automake, autoconf$( |
|
|
|
|
if testtag AX_USE_DOXYGEN; then |
|
|
|
|
echo -n ", doxygen, graphviz"; |
|
|
|
|
fi) |
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} |
|
|
|
|
BuildRequires: pkgconfig, redhat-lsb$(if testtag AX_USE_CPPUNIT; then echo -n ", cppunit-devel"; fi) |
|
|
|
|
%else%if 0%{?suse_version} || 0%{?sles_version} |
|
|
|
|
BuildRequires: pkg-config, lsb-release$(if testtag AX_USE_CPPUNIT; then echo -n ", libcppunit-devel"; fi) |
|
|
|
|
%endif%endif |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} |
|
|
|
|
BuildRequires: pkgconfig, redhat-lsb$( |
|
|
|
|
if testtag AX_USE_CPPUNIT; then |
|
|
|
|
echo -n ", cppunit-devel"; |
|
|
|
|
fi) |
|
|
|
|
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) |
|
|
|
|
$(if testtag AX_USE_DOXYGEN; then echo -n "BuildRequires: mscgen"; fi) |
|
|
|
|
$(if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n "BuildRequires: qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel"; fi) |
|
|
|
|
%else |
|
|
|
|
$(if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n "BuildRequires: qt-devel"; fi) |
|
|
|
|
%endif |
|
|
|
|
%else%if 0%{?suse_version} || 0%{?sles_version} |
|
|
|
|
BuildRequires: pkg-config, lsb-release$( |
|
|
|
|
if testtag AX_USE_CPPUNIT; then |
|
|
|
|
echo -n ", libcppunit-devel"; |
|
|
|
|
fi) |
|
|
|
|
%if 0%{?suse_version} < 1200 || 0%{?sles_version} < 1200 |
|
|
|
|
$(if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n "BuildRequires: libqt4-devel, qt4-x11-tools, libQtWebKit-devel"; fi) |
|
|
|
|
%else |
|
|
|
|
$(if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then echo -n "BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel"; fi) |
|
|
|
|
%endif |
|
|
|
|
%endif%endif |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
@README@ |
|
|
|
@ -753,8 +770,8 @@ fi) |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q |
|
|
|
|
./configure --prefix=/usr \ |
|
|
|
|
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \ |
|
|
|
|
./configure --prefix=/usr \\ |
|
|
|
|
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \\ |
|
|
|
|
--libdir=/usr/%_lib |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
@ -784,7 +801,7 @@ fi) |
|
|
|
|
$(if testtag AX_USE_LIBTOOL; then |
|
|
|
|
cat <<EOF2 |
|
|
|
|
%package devel |
|
|
|
|
Summary: C++ Wrapper around OpenSSL, PCSC and Cryptoki (development files) |
|
|
|
|
Summary: @DESCRIPTION@ |
|
|
|
|
Group: Development/Libraries/C++ |
|
|
|
|
Requires: @PACKAGE_NAME@ = @VERSION@ |
|
|
|
|
|
|
|
|
|