[packages/sha] new, version 1.0.4b

glen glen at pld-linux.org
Wed Apr 13 21:41:14 CEST 2016


commit bbd678316ebcceed675f32e5272b710f346d6eb8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 13 22:40:44 2016 +0300

    new, version 1.0.4b
    
    based on fedora package, d25c73e

 sha.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
---
diff --git a/sha.spec b/sha.spec
new file mode 100644
index 0000000..c1929a5
--- /dev/null
+++ b/sha.spec
@@ -0,0 +1,68 @@
+Summary:	File hashing utility
+Name:		sha
+# Upstream will continue in the next version
+# with the behavior of shared libraries (specifically version 1.2)
+Version:	1.0.4b
+Release:	1
+License:	BSD
+Group:		Applications/File
+Source0:	http://www.saddi.com/software/sha/dist/%{name}-%{version}.tar.gz
+# Source0-md5:	acd674e4d518c7f67549f177264c8675
+URL:		http://hg.saddi.com/sha-asaddi
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+file hashing utility that uses the SHA-1, SHA-256, SHA-384, & SHA-512
+hash algorithms. It can be used for file integrity checking, remote
+file comparisons, etc. The portable algorithm implementations can be
+useful in other projects too
+
+%package devel
+Summary:	Development files for sha
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This package contains the libraries needed to develop applications
+that use sha
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="install -p" \
+	CP="cp -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
+
+install -d $RPM_BUILD_ROOT%{_includedir}/sha
+cp -a *.h $RPM_BUILD_ROOT%{_includedir}/sha
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README README.SHA ChangeLog
+%attr(755,root,root) %{_bindir}/sha
+%{_mandir}/man1/sha.1*
+%attr(755,root,root) %{_libdir}/libsha.so.*.*.*
+%ghost %{_libdir}/libsha.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/sha
+%{_libdir}/libsha.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sha.git/commitdiff/bbd678316ebcceed675f32e5272b710f346d6eb8



More information about the pld-cvs-commit mailing list