[crypto-policies] added sources

Nikos Mavrogiannopoulos nmav at fedoraproject.org
Wed May 21 09:39:48 UTC 2014


commit 41e49486980cfb57a131081008bd7e1f19338c33
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date:   Wed May 21 11:39:19 2014 +0200

    added sources

 .gitignore           |    1 +
 crypto-policies.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bddbb9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/crypto-profiles-git81364e4.tar.gz
diff --git a/crypto-policies.spec b/crypto-policies.spec
new file mode 100644
index 0000000..fe75404
--- /dev/null
+++ b/crypto-policies.spec
@@ -0,0 +1,61 @@
+# we use the upstream version from http_parser.h as the SONAME
+%global git_date 20140520
+%global git_commit_hash 81364e4
+%global aname crypto-profiles
+
+Name:           crypto-policies
+Version:        0.9
+Release:        2.%{git_date}git%{git_commit_hash}%{?dist}
+Summary:        Crypto policies package for Fedora
+
+License:        LGPLv2+
+URL:            https://git.fedorahosted.org/git/crypto-profiles.git
+
+# This is a tarball of the git repository without the .git/
+# directory.
+Source0:        crypto-profiles-git%{git_commit_hash}.tar.gz
+
+BuildArch: noarch
+BuildRequires: asciidoc
+BuildRequires: libxslt
+
+%description
+This package provides update-crypto-policies, which is a tool that sets
+the policy applicable for the various cryptographic back-ends, such as
+SSL/TLS libraries. The policy set by the tool will be the default policy
+used by these back-ends unless the application user configures them otherwise.
+https://fedoraproject.org/wiki/Changes/CryptoPolicy
+
+
+%prep
+%setup -q -n %{aname}
+
+%build
+make %{?_smp_mflags} update-crypto-policies.8
+
+%install
+mkdir -p -m 755 %{buildroot}%{_datadir}/crypto-policies/profiles
+mkdir -p -m 755 %{buildroot}%{_sysconfdir}/crypto-policies/
+mkdir -p -m 755 %{buildroot}%{_mandir}/man8
+mkdir -p -m 755 %{buildroot}%{_bindir}
+install -p -m 644 update-crypto-policies.8 %{buildroot}%{_mandir}/man8
+install -p -m 755 update-crypto-policies %{buildroot}%{_bindir}/update-crypto-policies
+install -p -m 644 profiles/* %{buildroot}%{_datadir}/crypto-policies/profiles
+
+%files
+%defattr(-,root,root,-)
+%dir %{_sysconfdir}/crypto-policies/
+%dir %{_datadir}/crypto-policies/
+%{_bindir}/update-crypto-policies
+%{_mandir}/man8/update-crypto-policies.8.gz
+%{_datadir}/crypto-policies/profiles/
+
+%doc COPYING.LESSER
+
+%changelog
+* Tue May 20 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 0.9-2-20140520git81364e4
+- Updated spec based on comments by Petr Lautrbach.
+
+* Mon May 19 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 0.9-1-20140519gitf15621a
+- Initial package build
+
diff --git a/sources b/sources
index e69de29..d699381 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4feaa365e3849646e3326034b830d0a3  crypto-profiles-git81364e4.tar.gz


More information about the scm-commits mailing list