[packages/svrcore] Up to 4.1.3
arekm
arekm at pld-linux.org
Fri Nov 27 21:46:38 CET 2026
commit 2c39475d73b904fdd7c66c8925bfd4770935c57b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 16:03:26 2026 +0100
Up to 4.1.3
svrcore.spec | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/svrcore.spec b/svrcore.spec
index 1ff5022..b31bf99 100644
--- a/svrcore.spec
+++ b/svrcore.spec
@@ -5,17 +5,20 @@
Summary: svrcore library for secure PIN handling using NSS crypto
Summary(pl.UTF-8): Biblioteka svrcore do bezpiecznej obsługi PIN-ów przy użyciu NSS
Name: svrcore
-Version: 4.0.4
-Release: 4
+Version: 4.1.3
+Release: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Development/Libraries
-Source0: ftp://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 46bcdc82624d11c1bb168cf9f15e066c
-URL: http://www.mozilla.org/directory/
-BuildRequires: automake
+Source0: https://github.com/389ds/svrcore/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 0700e2587b714582d3796becfa64a4ab
+URL: https://github.com/389ds/svrcore
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.13.4
+BuildRequires: libtool >= 2:2.4.2
BuildRequires: nspr-devel >= %{nspr_evr}
BuildRequires: nss-devel >= %{nss_evr}
-BuildRequires: perl-base
+BuildRequires: pkgconfig
+BuildRequires: systemd-devel
Requires: nspr >= %{nspr_evr}
Requires: nss >= %{nss_evr}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,11 +63,16 @@ Static svrcore library.
Statyczna biblioteka svrcore.
%prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
%build
-cp -f /usr/share/automake/config.sub .
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+ --with-systemd
%{__make}
%install
@@ -81,12 +89,12 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc LICENSE NEWS README
-%attr(755,root,root) %{_libdir}/libsvrcore.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsvrcore.so.0
+%{_libdir}/libsvrcore.so.*.*.*
+%ghost %{_libdir}/libsvrcore.so.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libsvrcore.so
+%{_libdir}/libsvrcore.so
%{_libdir}/libsvrcore.la
%{_includedir}/svrcore.h
%{_pkgconfigdir}/svrcore.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/svrcore.git/commitdiff/2c39475d73b904fdd7c66c8925bfd4770935c57b
More information about the pld-cvs-commit
mailing list