repair rpm build
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
#
|
#
|
||||||
# Check if a module exists:
|
# Check if a module exists:
|
||||||
# AX_CXX_CHECK_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
# AX_CHECK_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
||||||
#
|
#
|
||||||
# Abort if a module does not exist:
|
# Abort if a module does not exist:
|
||||||
# AX_CXX_REQUIRE_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
# AX_REQUIRE_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
||||||
#
|
#
|
||||||
# DESCRIPTIONS
|
# DESCRIPTIONS
|
||||||
#
|
#
|
||||||
# qt_prefix
|
# qt_prefix
|
||||||
#
|
#
|
||||||
# Each call to AX_CXX_CHECK_QT should have a different prefix
|
# Each call to AX_CHECK_QT should have a different prefix
|
||||||
# value (with a few exceptions discussed later on). This value,
|
# value (with a few exceptions discussed later on). This value,
|
||||||
# usually provided in uppercase, is used as prefix to the
|
# usually provided in uppercase, is used as prefix to the
|
||||||
# variables holding the compiler flags and libraries reported by
|
# variables holding the compiler flags and libraries reported by
|
||||||
@@ -43,12 +43,18 @@ AC_DEFUN([AX_CXX_QT_TOOL], [
|
|||||||
AC_MSG_CHECKING([for $2])
|
AC_MSG_CHECKING([for $2])
|
||||||
AC_ARG_VAR([$1], [path to Qt tool $2])
|
AC_ARG_VAR([$1], [path to Qt tool $2])
|
||||||
$1=${$1:-$(${PKG_CONFIG} --variable=$2_location Qt5Core)}
|
$1=${$1:-$(${PKG_CONFIG} --variable=$2_location Qt5Core)}
|
||||||
|
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins Qt5Core)/$2-qt5}
|
||||||
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins Qt5Core)/$2}
|
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins Qt5Core)/$2}
|
||||||
$1=${$1:-$(${PKG_CONFIG} --variable=$2_location QtCore)}
|
$1=${$1:-$(${PKG_CONFIG} --variable=$2_location QtCore)}
|
||||||
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins QtCore)/$2}
|
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins QtCore)/$2}
|
||||||
|
$1=${$1:-$(${PKG_CONFIG} --variable=host_bins QtCore)/$2-qt4}
|
||||||
if ! which "${$1%% *}" > /dev/null; then
|
if ! which "${$1%% *}" > /dev/null; then
|
||||||
if which "$2" > /dev/null; then
|
if which "$2-qt5" > /dev/null; then
|
||||||
|
$1=$2-qt5
|
||||||
|
elif which "$2" > /dev/null; then
|
||||||
$1=$2
|
$1=$2
|
||||||
|
elif which "$2-qt4" > /dev/null; then
|
||||||
|
$1=$2-qt4
|
||||||
else
|
else
|
||||||
HAVE_$1=0
|
HAVE_$1=0
|
||||||
$1=""
|
$1=""
|
||||||
@@ -179,13 +185,13 @@ qrc_%.cxx: %.qrc
|
|||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
#
|
#
|
||||||
# AX_CXX_CHECK_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
# AX_CHECK_QT([qt_prefix], [list-of-qt-modules], [optional-modules])
|
||||||
#
|
#
|
||||||
# DESCRIPTIONS
|
# DESCRIPTIONS
|
||||||
#
|
#
|
||||||
# qt_prefix
|
# qt_prefix
|
||||||
#
|
#
|
||||||
# Each call to AX_CXX_CHECK_QT should have a different prefix
|
# Each call to AX_CHECK_QT should have a different prefix
|
||||||
# value (with a few exceptions discussed later on). This value,
|
# value (with a few exceptions discussed later on). This value,
|
||||||
# usually provided in uppercase, is used as prefix to the
|
# usually provided in uppercase, is used as prefix to the
|
||||||
# variables holding the compiler flags and libraries reported by
|
# variables holding the compiler flags and libraries reported by
|
||||||
|
|||||||
@@ -3,45 +3,46 @@
|
|||||||
## 1 2 3 4 5 6 7 8
|
## 1 2 3 4 5 6 7 8
|
||||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
|
||||||
|
# m4_esyscmd_s does not exist on centos 5 and 6
|
||||||
|
m4_define([mrw_esyscmd_s], [m4_normalize(m4_esyscmd([$1]))])
|
||||||
|
|
||||||
# define least version number from subversion's revision number:
|
# define least version number from subversion's revision number:
|
||||||
# it is taken modulo 256 due to a bug on Apple's MacOSX
|
# it is taken modulo 256 due to a bug on Apple's MacOSX
|
||||||
m4_define(x_least, m4_esyscmd_s(
|
m4_define(x_least, mrw_esyscmd_s([
|
||||||
SVN_REVISION="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout"
|
SVN_REVISION="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout"
|
||||||
for path in . .. ../..; do
|
for path in . .. ../..; do
|
||||||
if svn info $path 2>&1 > /dev/null; then
|
if svn info $path 2>&1 > /dev/null; then
|
||||||
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
|
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
|
||||||
(cd $path && svn2cl)
|
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Mac does not support LEAST > 255
|
# Mac does not support LEAST > 255
|
||||||
echo $ECHO_N $(($SVN_REVISION%256))
|
echo $ECHO_N $(($SVN_REVISION%256))
|
||||||
))
|
]))
|
||||||
# define version number from subversion's revision number:
|
# define version number from subversion's revision number:
|
||||||
# it is taken modulo 256 due to a bug on Apple's MacOSX
|
# it is taken modulo 256 due to a bug on Apple's MacOSX
|
||||||
# add to x_minor if revision number is > 256
|
# add to x_minor if revision number is > 256
|
||||||
m4_define(x_minor_fixed, m4_esyscmd_s(
|
m4_define(x_minor_fixed, mrw_esyscmd_s([
|
||||||
SVN_REVISION="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout"
|
SVN_REVISION="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout"
|
||||||
for path in . .. ../..; do
|
for path in . .. ../..; do
|
||||||
if svn info $path 2>&1 > /dev/null; then
|
if svn info $path 2>&1 > /dev/null; then
|
||||||
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
|
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
|
||||||
(cd $path && svn2cl)
|
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Mac does not support LEAST > 255
|
# Mac does not support LEAST > 255
|
||||||
echo $ECHO_N $((x_minor+$SVN_REVISION/256))
|
echo $ECHO_N $((x_minor+$SVN_REVISION/256))
|
||||||
))
|
]))
|
||||||
# setup version number
|
# setup version number
|
||||||
m4_define(x_version, m4_esyscmd_s(
|
m4_define(x_version, mrw_esyscmd_s([
|
||||||
echo $ECHO_N x_major.x_minor_fixed.x_least
|
echo $ECHO_N x_major.x_minor_fixed.x_least
|
||||||
))
|
]))
|
||||||
|
|
||||||
## bugreport mail address is taken from <user@host> in first line of AUTHORS
|
## bugreport mail address is taken from <user@host> in first line of AUTHORS
|
||||||
m4_define(x_bugreport, m4_esyscmd_s(
|
m4_define(x_bugreport, mrw_esyscmd_s([
|
||||||
head -1 AUTHORS | \
|
head -1 AUTHORS | \
|
||||||
sed -n 's,.*<\([-_.a-z0-9A-Z]*@[-_.a-z0-9A-Z]*\)>.*,\1,gp'
|
sed -n 's,.*<\([-_.a-z0-9A-Z]*@[-_.a-z0-9A-Z]*\)>.*,\1,gp'
|
||||||
))
|
]))
|
||||||
|
|
||||||
m4_include(ax_check_qt.m4)
|
m4_include(ax_check_qt.m4)
|
||||||
|
|
||||||
@@ -84,7 +85,7 @@ AC_DEFUN([AX_ADD_MAKEFILE_TARGET_DEP], [
|
|||||||
# $1 = variable name
|
# $1 = variable name
|
||||||
AC_DEFUN([AX_SUBST], [
|
AC_DEFUN([AX_SUBST], [
|
||||||
AC_SUBST([$1])
|
AC_SUBST([$1])
|
||||||
tmp_var=$(echo "${$1}" | awk 1 ORS='\\n')
|
tmp_var=$(echo "${$1}" | awk 1 ORS='\\n' | sed 's,\\n$,,')
|
||||||
tmp_var=${tmp_var//\"/\\\"}
|
tmp_var=${tmp_var//\"/\\\"}
|
||||||
tmp_var=${tmp_var//\'/\'\"\'\"\'}
|
tmp_var=${tmp_var//\'/\'\"\'\"\'}
|
||||||
tmp_var=${tmp_var//#/\\#}
|
tmp_var=${tmp_var//#/\\#}
|
||||||
@@ -116,7 +117,7 @@ AC_DEFUN([AX_INIT_STANDARD_PROJECT], [
|
|||||||
esac
|
esac
|
||||||
AM_CONDITIONAL(MINGW, test "$MINGW" = "yes")
|
AM_CONDITIONAL(MINGW, test "$MINGW" = "yes")
|
||||||
AM_CONDITIONAL(MAC, test "$MAC" = "yes")
|
AM_CONDITIONAL(MAC, test "$MAC" = "yes")
|
||||||
AM_CPPFLAGS+=" '-DMAKE_STRING(X)=\#X' '-DNAMESPACE=${PACKAGE_NAME//-/_}'"
|
AM_CPPFLAGS+=" '-DMAKE_STRING(X)=\#X' '-DNAMESPACE=${PACKAGE_TARNAME//[^a-zA-Z0-9]/_}'"
|
||||||
AX_SUBST(NUMBERS)
|
AX_SUBST(NUMBERS)
|
||||||
AX_SUBST(HOME)
|
AX_SUBST(HOME)
|
||||||
README=$(tail -n +3 README)
|
README=$(tail -n +3 README)
|
||||||
@@ -164,7 +165,6 @@ AC_DEFUN([AX_INIT_STANDARD_PROJECT], [
|
|||||||
test -f makefile.in && cat >> makefile.in <<EOF
|
test -f makefile.in && cat >> makefile.in <<EOF
|
||||||
#### Begin: Appended by $0
|
#### Begin: Appended by $0
|
||||||
EXTRA_DIST = bootstrap.sh
|
EXTRA_DIST = bootstrap.sh
|
||||||
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog
|
|
||||||
clean-standard-project-targets:
|
clean-standard-project-targets:
|
||||||
-rm -rf \${PACKAGE_NAME}-\${PACKAGE_VERSION}
|
-rm -rf \${PACKAGE_NAME}-\${PACKAGE_VERSION}
|
||||||
-rm \${PACKAGE_TARNAME}-\${PACKAGE_VERSION}.tar.gz
|
-rm \${PACKAGE_TARNAME}-\${PACKAGE_VERSION}.tar.gz
|
||||||
@@ -190,8 +190,9 @@ AC_DEFUN([AX_USE_CXX], [
|
|||||||
AM_CPPFLAGS+=' -I ${top_srcdir}/src -I ${top_builddir}/src -I ${srcdir} -I ${builddir}'
|
AM_CPPFLAGS+=' -I ${top_srcdir}/src -I ${top_builddir}/src -I ${srcdir} -I ${builddir}'
|
||||||
AM_LDFLAGS+=' -L ${top_srcdir}/src -L ${top_builddir}/src'
|
AM_LDFLAGS+=' -L ${top_srcdir}/src -L ${top_builddir}/src'
|
||||||
|
|
||||||
# Get rid of that stupid -O2 -g opions!
|
# Get rid of those stupid -g -O2 options!
|
||||||
CXXFLAGS="${CXXFLAGS:-}"
|
CXXFLAGS="${CXXFLAGS//-g -O2/}"
|
||||||
|
CFLAGS="${CFLAGS//-g -O2/}"
|
||||||
|
|
||||||
# pass compile flags to make distcheck
|
# pass compile flags to make distcheck
|
||||||
AM_DISTCHECK_CONFIGURE_FLAGS="CXXFLAGS='${CXXFLAGS}' CPPFLAGS='${CPPFLAGS}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
|
AM_DISTCHECK_CONFIGURE_FLAGS="CXXFLAGS='${CXXFLAGS}' CPPFLAGS='${CPPFLAGS}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
|
||||||
@@ -311,14 +312,16 @@ EOF
|
|||||||
|
|
||||||
# use this in configure.ac to support RPM packages
|
# use this in configure.ac to support RPM packages
|
||||||
AC_DEFUN([AX_USE_RPM_PACKAGING], [
|
AC_DEFUN([AX_USE_RPM_PACKAGING], [
|
||||||
# m4_include(ax_rpm_rules.m4)
|
|
||||||
AC_CONFIG_FILES([${PACKAGE_NAME}.spec])
|
AC_CONFIG_FILES([${PACKAGE_NAME}.spec])
|
||||||
#AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-debian-targets], [makefile.in])
|
#AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-rpm-targets], [makefile.in])
|
||||||
AX_ADD_MAKEFILE_TARGET_DEP([.PHONY], [rpm], [makefile.in])
|
AX_ADD_MAKEFILE_TARGET_DEP([distclean-am], [distclean-rpm-targets], [makefile.in])
|
||||||
test -f makefile.in && cat >> makefile.in <<EOF
|
test -f makefile.in && cat >> makefile.in <<EOF
|
||||||
#### Begin: Appended by $0
|
#### Begin: Appended by $0
|
||||||
|
EXTRA_DIST += \${PACKAGE_NAME}.spec.in
|
||||||
rpm: dist
|
rpm: dist
|
||||||
rpmbuild -ba --define "_topdir \$(pwd)" --define "_sourcedir \$(pwd)" \${PACKAGE_NAME}.spec
|
rpmbuild -ba --define "_topdir \$\$(pwd)" --define "_sourcedir \$\$(pwd)" \${PACKAGE_NAME}.spec
|
||||||
|
distclean-rpm-targets:
|
||||||
|
-rm \${PACKAGE_NAME}.spec
|
||||||
#### End: $0
|
#### End: $0
|
||||||
EOF
|
EOF
|
||||||
])
|
])
|
||||||
@@ -364,7 +367,7 @@ doc: doxyfile
|
|||||||
clean-documentation:
|
clean-documentation:
|
||||||
-rm doxygen.errors @PDF_DOC@
|
-rm doxygen.errors @PDF_DOC@
|
||||||
distclean-documentation:
|
distclean-documentation:
|
||||||
-rm -r html latex
|
-rm -r html
|
||||||
-rm @PACKAGE_NAME@.doxytag
|
-rm @PACKAGE_NAME@.doxytag
|
||||||
maintainer-clean-documentation:
|
maintainer-clean-documentation:
|
||||||
-rm makefile.in
|
-rm makefile.in
|
||||||
@@ -374,7 +377,7 @@ install-data-documentation:
|
|||||||
cp -r html \$(DESTDIR)\${docdir}/
|
cp -r html \$(DESTDIR)\${docdir}/
|
||||||
uninstall-documentation:
|
uninstall-documentation:
|
||||||
-chmod -R u+w \$(DESTDIR)\${docdir}
|
-chmod -R u+w \$(DESTDIR)\${docdir}
|
||||||
-rm -rf \$(DESTDIR)\${docdir}/*
|
-rm -rf \$(DESTDIR)\${docdir}/html
|
||||||
#### End: $0
|
#### End: $0
|
||||||
EOF
|
EOF
|
||||||
])
|
])
|
||||||
|
|||||||
55
bootstrap.sh
55
bootstrap.sh
@@ -391,7 +391,7 @@ ${HEADER}m4_define(x_package_name, ${DEFAULT_PROJECT_NAME}) # project's name
|
|||||||
m4_define(x_major, 0) # project's major version
|
m4_define(x_major, 0) # project's major version
|
||||||
m4_define(x_minor, 0) # project's minor version
|
m4_define(x_minor, 0) # project's minor version
|
||||||
m4_include(ax_init_standard_project.m4)
|
m4_include(ax_init_standard_project.m4)
|
||||||
AC_INIT(x_package_name, x_version, x_package_name)
|
AC_INIT(x_package_name, x_version, x_bugreport, x_package_name)
|
||||||
AM_INIT_AUTOMAKE([1.9 tar-pax])
|
AM_INIT_AUTOMAKE([1.9 tar-pax])
|
||||||
AX_INIT_STANDARD_PROJECT
|
AX_INIT_STANDARD_PROJECT
|
||||||
|
|
||||||
@@ -724,7 +724,7 @@ to --condition AX_USE_RPM_PACKAGING ${PACKAGE_NAME}.spec.in <<EOF
|
|||||||
Summary: @DESCRIPTION@
|
Summary: @DESCRIPTION@
|
||||||
Name: @PACKAGE_NAME@
|
Name: @PACKAGE_NAME@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 1
|
Release: @BUILD_NUMBER@%{?dist}
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: $(if testtag AX_USE_LIBTOOL; then
|
Group: $(if testtag AX_USE_LIBTOOL; then
|
||||||
echo Development/Libraries/C++;
|
echo Development/Libraries/C++;
|
||||||
@@ -732,17 +732,36 @@ else
|
|||||||
echo Applications/...;
|
echo Applications/...;
|
||||||
fi)
|
fi)
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRequires: pkg-config, subversion, autotools-devel, lsb-release $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen"; 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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
$(if testtag AX_USE_CPPUNIT; then
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
|
||||||
cat <<EOF2
|
BuildRequires: pkgconfig, redhat-lsb$(
|
||||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
if testtag AX_USE_CPPUNIT; then
|
||||||
BuildRequires: cppunit-devel
|
echo -n ", cppunit-devel";
|
||||||
|
fi;
|
||||||
|
if testtag AX_REQUIRE_QT || testtag AX_CHECK_QT; then
|
||||||
|
echo -n ", qt5-qtwebkit-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}
|
%else%if 0%{?suse_version} || 0%{?sles_version}
|
||||||
BuildRequires: libcppunit-devel
|
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
|
%endif%endif
|
||||||
EOF2
|
|
||||||
fi)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@README@
|
@README@
|
||||||
@@ -754,8 +773,8 @@ fi)
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \\
|
||||||
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \
|
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \\
|
||||||
--libdir=/usr/%_lib
|
--libdir=/usr/%_lib
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -769,9 +788,10 @@ rm -rf \$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/bin/*
|
|
||||||
$(if testtag AX_USE_LIBTOOL; then
|
$(if testtag AX_USE_LIBTOOL; then
|
||||||
echo '/usr/%_lib/@PACKAGE_NAME@.so.*'
|
echo '/usr/%_lib/@PACKAGE_NAME@.so.*'
|
||||||
|
else
|
||||||
|
/usr/bin/
|
||||||
fi)
|
fi)
|
||||||
%doc
|
%doc
|
||||||
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS
|
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS
|
||||||
@@ -784,7 +804,7 @@ fi)
|
|||||||
$(if testtag AX_USE_LIBTOOL; then
|
$(if testtag AX_USE_LIBTOOL; then
|
||||||
cat <<EOF2
|
cat <<EOF2
|
||||||
%package devel
|
%package devel
|
||||||
Summary: C++ Wrapper around OpenSSL, PCSC and Cryptoki (development files)
|
Summary: @DESCRIPTION@
|
||||||
Group: Development/Libraries/C++
|
Group: Development/Libraries/C++
|
||||||
Requires: @PACKAGE_NAME@ = @VERSION@
|
Requires: @PACKAGE_NAME@ = @VERSION@
|
||||||
|
|
||||||
@@ -797,13 +817,11 @@ This Package contains all files required for developement.
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/%_lib/@PACKAGE_NAME@.so
|
/usr/%_lib/@PACKAGE_NAME@.so
|
||||||
/usr/%_lib/@PACKAGE_NAME@.a
|
/usr/%_lib/@PACKAGE_NAME@.a
|
||||||
/usr/%_lib/pkgconfig
|
|
||||||
/usr/%_lib/@PACKAGE_NAME@.la
|
/usr/%_lib/@PACKAGE_NAME@.la
|
||||||
|
/usr/%_lib/pkgconfig
|
||||||
/usr/include/
|
/usr/include/
|
||||||
/usr/share/pkgconfig
|
|
||||||
%doc
|
%doc
|
||||||
/usr/share/doc/packages/@PACKAGE_NAME@/html
|
/usr/share/doc/packages/@PACKAGE_NAME@/html
|
||||||
/usr/share/doc/packages/@PACKAGE_NAME@/@PACKAGE_NAME@.spec
|
|
||||||
EOF2
|
EOF2
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
@@ -817,6 +835,8 @@ done
|
|||||||
to makefile.am<<EOF
|
to makefile.am<<EOF
|
||||||
${HEADER}SUBDIRS =${SUBDIRS}
|
${HEADER}SUBDIRS =${SUBDIRS}
|
||||||
|
|
||||||
|
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = makefile.in
|
MAINTAINERCLEANFILES = makefile.in
|
||||||
EOF
|
EOF
|
||||||
to --condition AX_USE_LIBTOOL src/${PACKAGE_NAME}.pc.in <<EOF
|
to --condition AX_USE_LIBTOOL src/${PACKAGE_NAME}.pc.in <<EOF
|
||||||
@@ -839,6 +859,7 @@ if test -f makefile; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#### Bootstrap Before Configure ####
|
#### Bootstrap Before Configure ####
|
||||||
|
run --no-check svn2cl
|
||||||
run aclocal
|
run aclocal
|
||||||
run libtoolize --force
|
run libtoolize --force
|
||||||
run automake -a
|
run automake -a
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
|
|||||||
# title of most generated pages and in a few other places.
|
# title of most generated pages and in a few other places.
|
||||||
# The default value is: My Project.
|
# The default value is: My Project.
|
||||||
|
|
||||||
PROJECT_NAME = @PACKAGE_NAME@"My Project"
|
PROJECT_NAME = @PACKAGE_NAME@
|
||||||
|
|
||||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
@@ -125,7 +125,7 @@ ALWAYS_DETAILED_SEC = NO
|
|||||||
# operators of the base classes will not be shown.
|
# operators of the base classes will not be shown.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
INLINE_INHERITED_MEMB = YESNO
|
INLINE_INHERITED_MEMB = YES
|
||||||
|
|
||||||
# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
|
# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
|
||||||
# before files name in the file list and in the header files. If set to NO the
|
# before files name in the file list and in the header files. If set to NO the
|
||||||
@@ -189,7 +189,7 @@ QT_AUTOBRIEF = NO
|
|||||||
# not recognized any more.
|
# not recognized any more.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
MULTILINE_CPP_IS_BRIEF = YESNO
|
MULTILINE_CPP_IS_BRIEF = YES
|
||||||
|
|
||||||
# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
|
# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
|
||||||
# documentation from any documented member that it re-implements.
|
# documentation from any documented member that it re-implements.
|
||||||
@@ -208,7 +208,7 @@ SEPARATE_MEMBER_PAGES = NO
|
|||||||
# uses this value to replace tabs by spaces in code fragments.
|
# uses this value to replace tabs by spaces in code fragments.
|
||||||
# Minimum value: 1, maximum value: 16, default value: 4.
|
# Minimum value: 1, maximum value: 16, default value: 4.
|
||||||
|
|
||||||
TAB_SIZE = 24
|
TAB_SIZE = 2
|
||||||
|
|
||||||
# This tag can be used to specify a number of aliases that act as commands in
|
# This tag can be used to specify a number of aliases that act as commands in
|
||||||
# the documentation. An alias has the form:
|
# the documentation. An alias has the form:
|
||||||
@@ -220,13 +220,12 @@ TAB_SIZE = 24
|
|||||||
# "Side Effects:". You can put \n's in the value part of an alias to insert
|
# "Side Effects:". You can put \n's in the value part of an alias to insert
|
||||||
# newlines.
|
# newlines.
|
||||||
|
|
||||||
ALIASES = "id=par File-ID
|
ALIASES = "id=\par File-ID\n"
|
||||||
" "copy=par Copyright
|
ALIASES += "mutex=\par Reentrant:\nAccess is locked with mutex @c "
|
||||||
" "license=par License
|
ALIASES += "instancemutex=\par Reentrant:\nAccess is locked with per instance mutex @c "
|
||||||
" "classmutex=par Reentrant:
|
ALIASES += "classmutex=\par Reentrant:\nAccess is locked with class static mutex @c "
|
||||||
Access is locked with class static mutex @c " "instancemutex=par Reentrant:
|
ALIASES += "license=\par License\n"
|
||||||
Access is locked with per instance mutex @c " "mutex=par Reentrant:
|
ALIASES += "copy=\par Copyright\n"
|
||||||
Access is locked with mutex @c "
|
|
||||||
|
|
||||||
# This tag can be used to specify a number of word-keyword mappings (TCL only).
|
# This tag can be used to specify a number of word-keyword mappings (TCL only).
|
||||||
# A mapping has the form "name=value". For example adding "class=itcl::class"
|
# A mapping has the form "name=value". For example adding "class=itcl::class"
|
||||||
@@ -304,7 +303,7 @@ AUTOLINK_SUPPORT = YES
|
|||||||
# diagrams that involve STL classes more complete and accurate.
|
# diagrams that involve STL classes more complete and accurate.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
BUILTIN_STL_SUPPORT = YESNO
|
BUILTIN_STL_SUPPORT = YES
|
||||||
|
|
||||||
# If you use Microsoft's C++/CLI language, you should set this option to YES to
|
# If you use Microsoft's C++/CLI language, you should set this option to YES to
|
||||||
# enable parsing support.
|
# enable parsing support.
|
||||||
@@ -336,7 +335,7 @@ IDL_PROPERTY_SUPPORT = YES
|
|||||||
# all members of a group must be documented explicitly.
|
# all members of a group must be documented explicitly.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
DISTRIBUTE_GROUP_DOC = YESNO
|
DISTRIBUTE_GROUP_DOC = YES
|
||||||
|
|
||||||
# Set the SUBGROUPING tag to YES to allow class member groups of the same type
|
# Set the SUBGROUPING tag to YES to allow class member groups of the same type
|
||||||
# (for instance a group of public functions) to be put as a subgroup of that
|
# (for instance a group of public functions) to be put as a subgroup of that
|
||||||
@@ -404,25 +403,25 @@ LOOKUP_CACHE_SIZE = 0
|
|||||||
# normally produced when WARNINGS is set to YES.
|
# normally produced when WARNINGS is set to YES.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_ALL = YESNO
|
EXTRACT_ALL = YES
|
||||||
|
|
||||||
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
|
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
|
||||||
# be included in the documentation.
|
# be included in the documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_PRIVATE = YESNO
|
EXTRACT_PRIVATE = YES
|
||||||
|
|
||||||
# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
|
# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
|
||||||
# scope will be included in the documentation.
|
# scope will be included in the documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_PACKAGE = NO
|
EXTRACT_PACKAGE = YES
|
||||||
|
|
||||||
# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
|
# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
|
||||||
# included in the documentation.
|
# included in the documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_STATIC = YESNO
|
EXTRACT_STATIC = YES
|
||||||
|
|
||||||
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
|
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
|
||||||
# locally in source files will be included in the documentation. If set to NO
|
# locally in source files will be included in the documentation. If set to NO
|
||||||
@@ -430,7 +429,7 @@ EXTRACT_STATIC = YESNO
|
|||||||
# for Java sources.
|
# for Java sources.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
EXTRACT_LOCAL_CLASSES = YESYES
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
|
||||||
# This flag is only useful for Objective-C code. When set to YES local methods,
|
# This flag is only useful for Objective-C code. When set to YES local methods,
|
||||||
# which are defined in the implementation section but not in the interface are
|
# which are defined in the implementation section but not in the interface are
|
||||||
@@ -438,7 +437,7 @@ EXTRACT_LOCAL_CLASSES = YESYES
|
|||||||
# included.
|
# included.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_LOCAL_METHODS = YESNO
|
EXTRACT_LOCAL_METHODS = YES
|
||||||
|
|
||||||
# If this flag is set to YES, the members of anonymous namespaces will be
|
# If this flag is set to YES, the members of anonymous namespaces will be
|
||||||
# extracted and appear in the documentation as a namespace called
|
# extracted and appear in the documentation as a namespace called
|
||||||
@@ -447,7 +446,7 @@ EXTRACT_LOCAL_METHODS = YESNO
|
|||||||
# are hidden.
|
# are hidden.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXTRACT_ANON_NSPACES = YESNO
|
EXTRACT_ANON_NSPACES = YES
|
||||||
|
|
||||||
# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
|
# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
|
||||||
# undocumented members inside documented classes or files. If set to NO these
|
# undocumented members inside documented classes or files. If set to NO these
|
||||||
@@ -513,7 +512,7 @@ SHOW_INCLUDE_FILES = YES
|
|||||||
# which file to include in order to use the member.
|
# which file to include in order to use the member.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
SHOW_GROUPED_MEMB_INC = NO
|
SHOW_GROUPED_MEMB_INC = YES
|
||||||
|
|
||||||
# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
|
# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
|
||||||
# files with double quotes in the documentation rather than with sharp brackets.
|
# files with double quotes in the documentation rather than with sharp brackets.
|
||||||
@@ -552,7 +551,7 @@ SORT_BRIEF_DOCS = NO
|
|||||||
# detailed member documentation.
|
# detailed member documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
SORT_MEMBERS_CTORS_1ST = YESNO
|
SORT_MEMBERS_CTORS_1ST = YES
|
||||||
|
|
||||||
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
|
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
|
||||||
# of group names into alphabetical order. If set to NO the group names will
|
# of group names into alphabetical order. If set to NO the group names will
|
||||||
@@ -705,7 +704,7 @@ WARNINGS = YES
|
|||||||
# will automatically be disabled.
|
# will automatically be disabled.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
WARN_IF_UNDOCUMENTED = NOYES
|
WARN_IF_UNDOCUMENTED = NO
|
||||||
|
|
||||||
# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
|
# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
|
||||||
# potential errors in the documentation, such as not documenting some parameters
|
# potential errors in the documentation, such as not documenting some parameters
|
||||||
@@ -769,13 +768,13 @@ INPUT_ENCODING = UTF-8
|
|||||||
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
|
||||||
# *.qsf, *.as and *.js.
|
# *.qsf, *.as and *.js.
|
||||||
|
|
||||||
FILE_PATTERNS =
|
FILE_PATTERNS = *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.idl *.ddl *.odl *.h *.hh *.hxx *.hpp *.h++ *.cs *.d *.php *.php4 *.php5 *.phtml *.inc *.m *.markdown *.md *.mm *.dox *.py *.f90 *.f *.for *.tcl *.vhd *.vhdl *.ucf *.qsf *.as *.js *.wt
|
||||||
|
|
||||||
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
# The RECURSIVE tag can be used to specify whether or not subdirectories should
|
||||||
# be searched for input files as well.
|
# be searched for input files as well.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
RECURSIVE = YESNO
|
RECURSIVE = YES
|
||||||
|
|
||||||
# The EXCLUDE tag can be used to specify files and/or directories that should be
|
# The EXCLUDE tag can be used to specify files and/or directories that should be
|
||||||
# excluded from the INPUT source files. This way you can easily exclude a
|
# excluded from the INPUT source files. This way you can easily exclude a
|
||||||
@@ -831,7 +830,7 @@ EXAMPLE_PATTERNS =
|
|||||||
# irrespective of the value of the RECURSIVE tag.
|
# irrespective of the value of the RECURSIVE tag.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
EXAMPLE_RECURSIVE = YESNO
|
EXAMPLE_RECURSIVE = YES
|
||||||
|
|
||||||
# The IMAGE_PATH tag can be used to specify one or more files or directories
|
# The IMAGE_PATH tag can be used to specify one or more files or directories
|
||||||
# that contain images that are to be included in the documentation (see the
|
# that contain images that are to be included in the documentation (see the
|
||||||
@@ -863,7 +862,7 @@ INPUT_FILTER =
|
|||||||
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
|
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
|
||||||
# patterns match the file name, INPUT_FILTER is applied.
|
# patterns match the file name, INPUT_FILTER is applied.
|
||||||
|
|
||||||
FILTER_PATTERNS =
|
FILTER_PATTERNS = *.wt=doxygen-webtester.sed
|
||||||
|
|
||||||
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
|
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
|
||||||
# INPUT_FILTER ) will also be used to filter the input files that are used for
|
# INPUT_FILTER ) will also be used to filter the input files that are used for
|
||||||
@@ -898,13 +897,13 @@ USE_MDFILE_AS_MAINPAGE =
|
|||||||
# also VERBATIM_HEADERS is set to NO.
|
# also VERBATIM_HEADERS is set to NO.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
SOURCE_BROWSER = YESNO
|
SOURCE_BROWSER = YES
|
||||||
|
|
||||||
# Setting the INLINE_SOURCES tag to YES will include the body of functions,
|
# Setting the INLINE_SOURCES tag to YES will include the body of functions,
|
||||||
# classes and enums directly into the documentation.
|
# classes and enums directly into the documentation.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
INLINE_SOURCES = YESNO
|
INLINE_SOURCES = YES
|
||||||
|
|
||||||
# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
|
# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
|
||||||
# special comment blocks from generated source code fragments. Normal C, C++ and
|
# special comment blocks from generated source code fragments. Normal C, C++ and
|
||||||
@@ -1006,7 +1005,7 @@ IGNORE_PREFIX =
|
|||||||
# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
|
# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
GENERATE_HTML = YESYES
|
GENERATE_HTML = YES
|
||||||
|
|
||||||
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
|
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
|
||||||
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
||||||
@@ -1358,7 +1357,7 @@ DISABLE_INDEX = NO
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
GENERATE_TREEVIEW = NONO
|
GENERATE_TREEVIEW = NO
|
||||||
|
|
||||||
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
|
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
|
||||||
# doxygen will group on one line in the generated HTML documentation.
|
# doxygen will group on one line in the generated HTML documentation.
|
||||||
@@ -1472,7 +1471,7 @@ MATHJAX_CODEFILE =
|
|||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
SEARCHENGINE = YESYES
|
SEARCHENGINE = YES
|
||||||
|
|
||||||
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
|
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
|
||||||
# implemented using a web server instead of a web client using Javascript. There
|
# implemented using a web server instead of a web client using Javascript. There
|
||||||
@@ -1546,7 +1545,7 @@ EXTRA_SEARCH_MAPPINGS =
|
|||||||
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
GENERATE_LATEX = NOYES
|
GENERATE_LATEX = NO
|
||||||
|
|
||||||
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
|
||||||
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
|
||||||
@@ -1657,14 +1656,14 @@ USE_PDFLATEX = YES
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
||||||
|
|
||||||
LATEX_BATCHMODE = YESNO
|
LATEX_BATCHMODE = YES
|
||||||
|
|
||||||
# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
|
# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
|
||||||
# index chapters (such as File Index, Compound Index, etc.) in the output.
|
# index chapters (such as File Index, Compound Index, etc.) in the output.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
||||||
|
|
||||||
LATEX_HIDE_INDICES = YESNO
|
LATEX_HIDE_INDICES = YES
|
||||||
|
|
||||||
# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
|
# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
|
||||||
# code with syntax highlighting in the LaTeX output.
|
# code with syntax highlighting in the LaTeX output.
|
||||||
@@ -1709,7 +1708,7 @@ RTF_OUTPUT = rtf
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_RTF is set to YES.
|
# This tag requires that the tag GENERATE_RTF is set to YES.
|
||||||
|
|
||||||
COMPACT_RTF = YESNO
|
COMPACT_RTF = YES
|
||||||
|
|
||||||
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
|
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
|
||||||
# contain hyperlink fields. The RTF file will contain links (just like the HTML
|
# contain hyperlink fields. The RTF file will contain links (just like the HTML
|
||||||
@@ -1721,7 +1720,7 @@ COMPACT_RTF = YESNO
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag GENERATE_RTF is set to YES.
|
# This tag requires that the tag GENERATE_RTF is set to YES.
|
||||||
|
|
||||||
RTF_HYPERLINKS = YESNO
|
RTF_HYPERLINKS = YES
|
||||||
|
|
||||||
# Load stylesheet definitions from file. Syntax is similar to doxygen's config
|
# Load stylesheet definitions from file. Syntax is similar to doxygen's config
|
||||||
# file, i.e. a series of assignments. You only have to provide replacements,
|
# file, i.e. a series of assignments. You only have to provide replacements,
|
||||||
@@ -1901,7 +1900,7 @@ ENABLE_PREPROCESSING = YES
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||||
|
|
||||||
MACRO_EXPANSION = NO
|
MACRO_EXPANSION = YES
|
||||||
|
|
||||||
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
|
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
|
||||||
# the macro expansion is limited to the macros specified with the PREDEFINED and
|
# the macro expansion is limited to the macros specified with the PREDEFINED and
|
||||||
@@ -1942,6 +1941,7 @@ INCLUDE_FILE_PATTERNS =
|
|||||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||||
|
|
||||||
PREDEFINED =
|
PREDEFINED =
|
||||||
|
PREDEFINED += "NAMESPACE=@PACKAGE_NAME@"
|
||||||
|
|
||||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||||
# tag can be used to specify a list of macro names that should be expanded. The
|
# tag can be used to specify a list of macro names that should be expanded. The
|
||||||
@@ -2046,7 +2046,7 @@ DIA_PATH =
|
|||||||
# and usage relations if the target is undocumented or is not a class.
|
# and usage relations if the target is undocumented or is not a class.
|
||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
|
|
||||||
HIDE_UNDOC_RELATIONS = NOYES
|
HIDE_UNDOC_RELATIONS = NO
|
||||||
|
|
||||||
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
||||||
# available from the path. This tool is part of Graphviz (see:
|
# available from the path. This tool is part of Graphviz (see:
|
||||||
@@ -2055,7 +2055,7 @@ HIDE_UNDOC_RELATIONS = NOYES
|
|||||||
# set to NO
|
# set to NO
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
HAVE_DOT = YESNO
|
HAVE_DOT = YES
|
||||||
|
|
||||||
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
|
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
|
||||||
# to run in parallel. When set to 0 doxygen will base this on the number of
|
# to run in parallel. When set to 0 doxygen will base this on the number of
|
||||||
@@ -2097,7 +2097,7 @@ DOT_FONTPATH =
|
|||||||
# The default value is: YES.
|
# The default value is: YES.
|
||||||
# This tag requires that the tag HAVE_DOT is set to YES.
|
# This tag requires that the tag HAVE_DOT is set to YES.
|
||||||
|
|
||||||
CLASS_GRAPH = YESYES
|
CLASS_GRAPH = YES
|
||||||
|
|
||||||
# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
|
# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
|
||||||
# graph for each documented class showing the direct and indirect implementation
|
# graph for each documented class showing the direct and indirect implementation
|
||||||
@@ -2142,7 +2142,7 @@ UML_LIMIT_NUM_FIELDS = 10
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag HAVE_DOT is set to YES.
|
# This tag requires that the tag HAVE_DOT is set to YES.
|
||||||
|
|
||||||
TEMPLATE_RELATIONS = YESNO
|
TEMPLATE_RELATIONS = YES
|
||||||
|
|
||||||
# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
|
# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
|
||||||
# YES then doxygen will generate a graph for each documented file showing the
|
# YES then doxygen will generate a graph for each documented file showing the
|
||||||
@@ -2209,7 +2209,7 @@ DIRECTORY_GRAPH = YES
|
|||||||
# The default value is: png.
|
# The default value is: png.
|
||||||
# This tag requires that the tag HAVE_DOT is set to YES.
|
# This tag requires that the tag HAVE_DOT is set to YES.
|
||||||
|
|
||||||
DOT_IMAGE_FORMAT = svgpng
|
DOT_IMAGE_FORMAT = svg
|
||||||
|
|
||||||
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
|
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
|
||||||
# enable generation of interactive SVG images that allow zooming and panning.
|
# enable generation of interactive SVG images that allow zooming and panning.
|
||||||
@@ -2221,7 +2221,7 @@ DOT_IMAGE_FORMAT = svgpng
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag HAVE_DOT is set to YES.
|
# This tag requires that the tag HAVE_DOT is set to YES.
|
||||||
|
|
||||||
INTERACTIVE_SVG = YESNO
|
INTERACTIVE_SVG = YES
|
||||||
|
|
||||||
# The DOT_PATH tag can be used to specify the path where the dot tool can be
|
# The DOT_PATH tag can be used to specify the path where the dot tool can be
|
||||||
# found. If left blank, it is assumed the dot tool can be found in the path.
|
# found. If left blank, it is assumed the dot tool can be found in the path.
|
||||||
@@ -2282,7 +2282,7 @@ MAX_DOT_GRAPH_DEPTH = 0
|
|||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
# This tag requires that the tag HAVE_DOT is set to YES.
|
# This tag requires that the tag HAVE_DOT is set to YES.
|
||||||
|
|
||||||
DOT_TRANSPARENT = YESNO
|
DOT_TRANSPARENT = YES
|
||||||
|
|
||||||
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
|
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
|
||||||
# files in one run (i.e. multiple -o and -T options on the command line). This
|
# files in one run (i.e. multiple -o and -T options on the command line). This
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
## @id $Id$
|
## @id $Id$
|
||||||
#
|
#
|
||||||
# This file has been added by bootstrap.sh on Sun, 15 Mar 2015 09:18:56 +0100
|
# This file has been added by bootstrap.sh on Fri, 31 July 2015 09:09:27 +0200
|
||||||
# Feel free to change it or even remove and rebuild it, up to your needs
|
# Feel free to change it or even remove and rebuild it, up to your needs
|
||||||
#
|
#
|
||||||
## 1 2 3 4 5 6 7 8
|
## 1 2 3 4 5 6 7 8
|
||||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = makefile.in
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
## @id $Id$
|
## @id $Id$
|
||||||
#
|
#
|
||||||
# This file has been added by bootstrap.sh on Sun, 15 Mar 2015 09:18:56 +0100
|
# This file has been added by bootstrap.sh on Fri, 31 July 2015 09:06:26 +0200
|
||||||
# Feel free to change it or even remove and rebuild it, up to your needs
|
# Feel free to change it or even remove and rebuild it, up to your needs
|
||||||
#
|
#
|
||||||
## 1 2 3 4 5 6 7 8
|
## 1 2 3 4 5 6 7 8
|
||||||
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
|
||||||
SUBDIRS = src doc examples
|
SUBDIRS = src doc examples
|
||||||
|
|
||||||
|
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = makefile.in
|
||||||
|
|||||||
@@ -1,35 +1,39 @@
|
|||||||
Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows
|
Summary: @DESCRIPTION@
|
||||||
Name: @PACKAGENAME@
|
Name: @PACKAGE_NAME@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 1
|
Release: @BUILD_NUMBER@%{?dist}
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Development/Libraries/C++
|
Group: Development/Libraries/C++
|
||||||
URL: https://dev.swisssign.com/projects/@PACKAGENAME@
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRequires: subversion gcc-c++ doxygen texlive automake autoconf libtool make libproxy-devel
|
BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
|
||||||
BuildRequires: cppunit-devel qt-devel
|
BuildRequires: pkgconfig, redhat-lsb, qt5-qtwebkit-devel
|
||||||
|
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} )
|
||||||
|
BuildRequires: mscgen
|
||||||
|
BuildRequires: qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: qt-devel
|
||||||
|
%endif
|
||||||
%else%if 0%{?suse_version} || 0%{?sles_version}
|
%else%if 0%{?suse_version} || 0%{?sles_version}
|
||||||
BuildRequires: libcppunit-devel libqt4-devel
|
BuildRequires: pkg-config, lsb-release
|
||||||
|
%if 0%{?suse_version} < 1200 || 0%{?sles_version} < 1200
|
||||||
|
BuildRequires: libqt4-devel, qt4-x11-tools, libQtWebKit-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel
|
||||||
|
%endif
|
||||||
%endif%endif
|
%endif%endif
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@README@
|
@README@
|
||||||
|
|
||||||
This package contains only the shared libraries required at runtime.
|
This package contains only the shared libraries required at runtime.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
function checkqt() {
|
./configure --prefix=/usr \
|
||||||
( which /usr/bin/$1 || which /usr/bin/$1-qt5 || which /usr/bin/$1-qt4 ) 2>/dev/null
|
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \
|
||||||
}
|
|
||||||
MOC="$(checkqt moc)" UIC="$(checkqt uic)" RCC="$(checkqt rcc)" \
|
|
||||||
LUPDATE="$(checkqt lupdate)" LRELEASE="$(checkqt lrelease)" \
|
|
||||||
CPPFLAGS="-I/usr/include/PCSC -I/usr/include/pkcs11-helper-1.0" \
|
|
||||||
./configure --prefix=/usr \
|
|
||||||
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \
|
|
||||||
--libdir=/usr/%_lib
|
--libdir=/usr/%_lib
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -43,20 +47,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/%_lib/lib@PACKAGENAME@.so.*
|
/usr/%_lib/@PACKAGE_NAME@.so.*
|
||||||
/usr/share/@PACKAGENAME@
|
|
||||||
%doc
|
%doc
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS
|
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/COPYING
|
/usr/share/doc/packages/@PACKAGE_NAME@/COPYING
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/ChangeLog
|
/usr/share/doc/packages/@PACKAGE_NAME@/ChangeLog
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/INSTALL
|
/usr/share/doc/packages/@PACKAGE_NAME@/INSTALL
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/NEWS
|
/usr/share/doc/packages/@PACKAGE_NAME@/NEWS
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/README
|
/usr/share/doc/packages/@PACKAGE_NAME@/README
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows (development files)
|
Summary: @DESCRIPTION@
|
||||||
Group: Development/Libraries/C++
|
Group: Development/Libraries/C++
|
||||||
Requires: @PACKAGENAME@ = @VERSION@
|
Requires: @PACKAGE_NAME@ = @VERSION@
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@README@
|
@README@
|
||||||
@@ -65,14 +68,13 @@ This Package contains all files required for developement.
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/%_lib/lib@PACKAGENAME@.so
|
/usr/%_lib/@PACKAGE_NAME@.so
|
||||||
/usr/%_lib/lib@PACKAGENAME@.a
|
/usr/%_lib/@PACKAGE_NAME@.a
|
||||||
|
/usr/%_lib/@PACKAGE_NAME@.la
|
||||||
/usr/%_lib/pkgconfig
|
/usr/%_lib/pkgconfig
|
||||||
/usr/%_lib/lib@PACKAGENAME@.la
|
|
||||||
/usr/include/
|
/usr/include/
|
||||||
/usr/share/pkgconfig
|
|
||||||
%doc
|
%doc
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/html
|
/usr/share/doc/packages/@PACKAGE_NAME@/html
|
||||||
/usr/share/doc/packages/@PACKAGENAME@/@PACKAGENAME@.spec
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user