Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie:mono
ChaosNaCl
ChaosNaCl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ChaosNaCl.spec of Package ChaosNaCl
# # spec file for package ChaosNaCl # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ChaosNaCl Version: 0git Release: 0 Summary: The Bouncy Castle Crypto Package For C Sharp License: MIT Group: Productivity/Other Url: https://github.com/CodesInChaos/Chaos.NaCl Source0: Chaos.NaCl-master.zip Source1: Chaos.NaCl-priv.snk Source2: Chaos.NaCl.snk BuildRequires: unzip BuildRequires: mono-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Chaos.NaCl is a cryptography library written in C#. It is based on djb's NaCl. Currently it supports: * Ed25519 signatures * Key-exchange using either Curve25519 (montgomery form) or Ed25519 public keys * Authenticated encryption using XSalsa20Poly1305 * Hashing using SHA-512 %prep %setup -q -n Chaos.NaCl-master cp %{S:1} . cp %{S:2} . sed -i 's|10.0|"11.0"|' Chaos.NaCl/Chaos.NaCl.csproj sed -i '/InternalsVisibleTo/ d' Chaos.NaCl/Properties/AssemblyInfo.cs sed -i ' /<PropertyGroup>/a\ <AssemblyOriginatorKeyFile>..\\Chaos.NaCl.snk</AssemblyOriginatorKeyFile>\ </PropertyGroup>\ <PropertyGroup> ' Chaos.NaCl/Chaos.NaCl.csproj sed -i ' /<PropertyGroup>/a\ <AssemblyOriginatorKeyFile>..\\Chaos.NaCl.snk</AssemblyOriginatorKeyFile>\ </PropertyGroup>\ <PropertyGroup> ' Chaos.NaCl.Benchmark/Chaos.NaCl.Benchmark.csproj sed -i ' /<PropertyGroup>/a\ <AssemblyOriginatorKeyFile>..\\Chaos.NaCl.snk</AssemblyOriginatorKeyFile>\ </PropertyGroup>\ <PropertyGroup> ' Chaos.NaCl.Tests/Chaos.NaCl.Tests.csproj cat << EOF >> Chaos.NaCl/Properties/AssemblyInfo.cs [assembly: AssemblyKeyFileAttribute(@"../Chaos.NaCl-priv.snk")] [assembly: AssemblyDelaySignAttribute(false)] //[assembly: InternalsVisibleTo("Chaos.NaCl, PublicKeyToken<3f055028143c92b6>")] [assembly: InternalsVisibleTo("Chaos.NaCl.Tests, PublicKey="+ "0024000004800000940000000602000000240000525341310004000011000000ff0ab4092f7ee5"+ "8da5b0c1cd335f2ffff097faa99de64b1602f33cd01762ffcf5b6dbec3c13b8696cf8d85b17880"+ "9b0a40eccfdfae0840cb5d37f670aeb1617bcc979f37a959976baf6c3ad0de4822663177f29b0f"+ "2abde221a40f60cb61315997f36139503477daaed3ad4c5a259f46ff1e72cb169e807d2778633c"+ "b14c32d1")] [assembly: InternalsVisibleTo("Chaos.NaCl.Benchmark, PublicKey="+ "0024000004800000940000000602000000240000525341310004000011000000ff0ab4092f7ee5"+ "8da5b0c1cd335f2ffff097faa99de64b1602f33cd01762ffcf5b6dbec3c13b8696cf8d85b17880"+ "9b0a40eccfdfae0840cb5d37f670aeb1617bcc979f37a959976baf6c3ad0de4822663177f29b0f"+ "2abde221a40f60cb61315997f36139503477daaed3ad4c5a259f46ff1e72cb169e807d2778633c"+ "b14c32d1")] EOF %build xbuild /tv:4.0 Chaos.NaCl/Chaos.NaCl.csproj %install mkdir -p %{buildroot}%{_prefix}/lib/mono/gac gacutil -i Chaos.NaCl/bin/Debug/Chaos.NaCl.dll -f -package %{name} -root %{buildroot}%{_prefix}/lib %files %defattr(-,root,root,-) %doc readme.md License.txt %dir %{_prefix}/lib/mono/gac %{_prefix}/lib/mono/gac/* %dir %{_prefix}/lib/mono/%{name} %{_prefix}/lib/mono/%{name}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor