[packages/libmd-bsd] - BSD version of libmd, with free license

qboosh qboosh at pld-linux.org
Sun Feb 28 20:26:45 CET 2016


commit fedb085c15120968e44518facc6e8bf89ad7f8d3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 28 20:30:02 2016 +0100

    - BSD version of libmd, with free license

 libmd-bsd.spec | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 108 insertions(+)
---
diff --git a/libmd-bsd.spec b/libmd-bsd.spec
new file mode 100644
index 0000000..9e44f6b
--- /dev/null
+++ b/libmd-bsd.spec
@@ -0,0 +1,108 @@
+Summary:	Message Digest functions from BSD systems
+Summary(pl.UTF-8):	Funkcje skrótów wiadomości (MD) z systemów BSD
+Name:		libmd-bsd
+Version:	0.0.0
+Release:	1
+License:	BSD, ISC, Public Domain
+Group:		Libraries
+Source0:	https://libbsd.freedesktop.org/releases/libmd-%{version}.tar.xz
+# Source0-md5:	05be4882f4a982e03615722a413d141e
+URL:		https://libbsd.freedesktop.org/
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Obsoletes:	libmd
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library provides message digest functions found on BSD systems
+either on their libc or libmd libraries and lacking on others like GNU
+systems, thus making it easier to port projects with strong BSD
+origins, without needing to embed the same code over and over again on
+each project.
+
+%description -l pl.UTF-8
+Ta biblioteka udostępnia funkcje skrótów wiadomości spotykane w
+systemach BSD w bibliotece libc lub libmd, a nie występujące na
+innych systemach, takich jak GNU. Dzięki temu ułatwia portowanie
+projektów mających silne korzenie BSD bez potrzeby osadzania ciągle
+tego samego kodu w każdym projekcie.
+
+%package devel
+Summary:	Header files for BSD MD library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki BSD MD
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	libmd-devel
+
+%description devel
+Header files for BSD MD library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki BSD.
+
+%package static
+Summary:	Static BSD MD library
+Summary(pl.UTF-8):	Statyczna biblioteka BSD MD
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Obsoletes:	libmd-static
+
+%description static
+Static BSD MD library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka BSD MD.
+
+%prep
+%setup -q -n libmd-%{version}
+
+%build
+%configure \
+	--disable-silent-rules \
+	--includedir=%{_includedir}/libmd
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmd.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libmd.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmd.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmd.so
+%{_includedir}/libmd
+%{_pkgconfigdir}/libmd.pc
+%{_mandir}/man3/MD2*.3*
+%{_mandir}/man3/MD4*.3*
+%{_mandir}/man3/MD5*.3*
+%{_mandir}/man3/RMD160*.3*
+%{_mandir}/man3/SHA1*.3*
+%{_mandir}/man3/SHA256*.3*
+%{_mandir}/man3/SHA384*.3*
+%{_mandir}/man3/SHA512*.3*
+%{_mandir}/man3/md2.3*
+%{_mandir}/man3/md4.3*
+%{_mandir}/man3/md5.3*
+%{_mandir}/man3/rmd160.3*
+%{_mandir}/man3/sha1.3*
+%{_mandir}/man3/sha2.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmd.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmd-bsd.git/commitdiff/fedb085c15120968e44518facc6e8bf89ad7f8d3



More information about the pld-cvs-commit mailing list