summaryrefslogtreecommitdiff
path: root/packaging/referenceassemblies-pcl.spec
blob: 46943395a5eddc83a815dec5c569daf5f9bcc7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# spec file for PCL reference assemblies
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Xamarin, Inc.
#
# 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:           referenceassemblies-pcl
Version:        2014.04.14
Release:        0
Url:            http://go-mono.org/
Source0:	http://download.mono-project.com/repo/debian/pool/main/r/%{name}/%{name}_%{version}.orig.tar.bz2
Source1:	EULA.rtf
Source2:  %{name}.manifest
Summary:        PCL reference assemblies for .NET
License:        EULA
Group:          Development/Libraries/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
PCL Reference Assemblies are used for compiling code which
works on multiple .NET framework targets

%prep
%setup -c

%build
cp %{SOURCE1} .
cp %{SOURCE2} .

%install
%{__mkdir_p} %{buildroot}%{_prefix}/lib/mono/xbuild-frameworks/.NETPortable/
cp -a */v4.0 %{buildroot}%{_prefix}/lib/mono/xbuild-frameworks/.NETPortable/
cp -a */v4.5 %{buildroot}%{_prefix}/lib/mono/xbuild-frameworks/.NETPortable/
cp -a */v4.6 %{buildroot}%{_prefix}/lib/mono/xbuild-frameworks/.NETPortable/

%files
%defattr(-, root, root)
%manifest %{name}.manifest
%{_prefix}/lib/mono/xbuild-frameworks/.NETPortable
%doc EULA.rtf

%changelog