|
|
|
@ -53,6 +53,8 @@ Prefix: %{tde_prefix}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
|
|
|
|
Source1: trinity-%{tde_pkg}-rpmlintrc
|
|
|
|
|
Patch0: %{tde_pkg}-%{tde_version}.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
|
|
|
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
|
|
@ -135,6 +137,7 @@ in addition to the PKCS certificate functionality
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
|
%patch0 -p1 -b .ftbfs
|
|
|
|
|
|
|
|
|
|
%__sed -i "Makefile" \
|
|
|
|
|
-e "s|/usr/lib/perl5/Chipcard|%{_libdir}/perl5/vendor_perl/Chipcard|g"
|
|
|
|
@ -143,10 +146,8 @@ in addition to the PKCS certificate functionality
|
|
|
|
|
%build
|
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
|
|
|
|
|
export CFLAGS="${CXXFLAGS} ${RPM_OPT_FLAGS}"
|
|
|
|
|
export CXXFLAGS="${CXXFLAGS} ${RPM_OPT_FLAGS}"
|
|
|
|
|
|
|
|
|
|
./build_ckpasswd
|
|
|
|
|
cd src
|
|
|
|
|
make CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|