1 Summary: Message Digest functions from BSD systems
2 Summary(pl.UTF-8): Funkcje skrótów wiadomości (MD) z systemów BSD
6 License: BSD, ISC, Public Domain
8 Source0: https://libbsd.freedesktop.org/releases/libmd-%{version}.tar.xz
9 # Source0-md5: 58f9a39d0a4296c7d2d59287d4f81cdf
10 URL: https://www.hadrons.org/software/libmd/
11 BuildRequires: tar >= 1:1.22
13 Obsoletes: libmd < 0.4
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This library provides message digest functions found on BSD systems
18 either on their libc or libmd libraries and lacking on others like GNU
19 systems, thus making it easier to port projects with strong BSD
20 origins, without needing to embed the same code over and over again on
23 %description -l pl.UTF-8
24 Ta biblioteka udostępnia funkcje skrótów wiadomości spotykane w
25 systemach BSD w bibliotece libc lub libmd, a nie występujące na
26 innych systemach, takich jak GNU. Dzięki temu ułatwia portowanie
27 projektów mających silne korzenie BSD bez potrzeby osadzania ciągle
28 tego samego kodu w każdym projekcie.
31 Summary: Header files for BSD MD library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki BSD MD
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Obsoletes: libmd-devel < 0.4
38 Header files for BSD MD library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki BSD MD.
44 Summary: Static BSD MD library
45 Summary(pl.UTF-8): Statyczna biblioteka BSD MD
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
48 Obsoletes: libmd-static < 0.4
51 Static BSD MD library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka BSD MD.
57 %setup -q -n libmd-%{version}
61 --disable-silent-rules \
62 --includedir=%{_includedir}/libmd
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
71 # obsoleted by pkg-config
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmd.la
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc COPYING ChangeLog README
83 %attr(755,root,root) %{_libdir}/libmd.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libmd.so.0
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libmd.so
90 %{_pkgconfigdir}/libmd.pc
91 %{_mandir}/man3/MD2*.3*
92 %{_mandir}/man3/MD4*.3*
93 %{_mandir}/man3/MD5*.3*
94 %{_mandir}/man3/RMD160*.3*
95 %{_mandir}/man3/SHA1*.3*
96 %{_mandir}/man3/SHA256*.3*
97 %{_mandir}/man3/SHA384*.3*
98 %{_mandir}/man3/SHA512*.3*
99 %{_mandir}/man3/md2.3*
100 %{_mandir}/man3/md4.3*
101 %{_mandir}/man3/md5.3*
102 %{_mandir}/man3/rmd160.3*
103 %{_mandir}/man3/sha1.3*
104 %{_mandir}/man3/sha2.3*
107 %defattr(644,root,root,755)