[sha] Initial import sha 1.0.4b-1.

Eduardo Javier Echeverria Alvarado echevemaster at fedoraproject.org
Wed Oct 31 02:11:37 UTC 2012


commit 5b69b30c9cd1116131a7076b6c661725e5327353
Author: Eduardo Echeverria <echevemaster at gmail.com>
Date:   Tue Oct 30 21:40:16 2012 -0430

    Initial import sha 1.0.4b-1.

 .gitignore |    1 +
 sha.spec   |   82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f8f3416 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sha-1.0.4b.tar.gz
diff --git a/sha.spec b/sha.spec
new file mode 100644
index 0000000..410f73b
--- /dev/null
+++ b/sha.spec
@@ -0,0 +1,82 @@
+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%{?dist}
+Summary:	File hashing utility
+License:	BSD
+URL:		http://hg.saddi.com/sha-asaddi
+Source0:	http://www.saddi.com/software/%{name}/dist/%{name}-%{version}.tar.gz
+BuildRequires:	pkgconfig
+
+%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}%{?_isa} = %{version}-%{release}
+%description devel
+This package contains the libraries needed to develop applications
+that use sha
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+make %{?_smp_mflags}
+
+
+%install
+make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
+rm -f %{buildroot}/%{_libdir}/*.la
+mkdir -p %{buildroot}/%{_includedir}
+install -pm 644 *.h %{buildroot}/%{_includedir}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%post -n sha-devel -p /sbin/ldconfig
+%postun -n sha-devel -p /sbin/ldconfig
+
+%files
+%doc LICENSE README README.SHA ChangeLog
+%{_bindir}/sha
+%{_mandir}/man1/sha.1*
+%{_libdir}/*.so.*
+
+%files devel
+%doc LICENSE README.SHA
+%{_includedir}/*.h
+%{_libdir}/*.so
+
+%changelog
+* Sun Oct 28 2012 Eduardo Echeverria  <echevemaster at gmail.com> - 1.0.4b-1
+- Update to version 1.0.4b includes separate license, provided by upstream
+- Remove macro clean
+
+* Thu Oct 22 2012 Eduardo Echeverria  <echevemaster at gmail.com> - 1.0.4a-4
+- Fix incorrect ownership of manpages
+
+* Thu Oct 04 2012 Eduardo Echeverria  <echevemaster at gmail.com> - 1.0.4a-3
+- Add comment of the Upstream about next release with the bahaviour of shared 
+  libraries
+
+* Wed Sep 26 2012 Eduardo Echeverria  <echevemaster at gmail.com> - 1.0.4a-2
+- Changes to match the correct architecture in the section Requires of
+  devel package
+- Remove versioned libraries to the base package
+- Remove the c files to section doc of the devel package
+- Add README.SHA to section doc of the devel package
+
+* Sun Sep 23 2012 Eduardo Echeverria  <echevemaster at gmail.com> - 1.0.4a-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..4bcacd8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+acd674e4d518c7f67549f177264c8675  sha-1.0.4b.tar.gz


More information about the scm-commits mailing list