mono.snk in -devel

This commit is contained in:
Tom Callaway 2009-12-01 16:03:58 +00:00
parent 6b6a479e1e
commit 38e07ad0a4
2 changed files with 16 additions and 1 deletions

BIN
mono.snk Normal file

Binary file not shown.

View File

@ -2,7 +2,7 @@
Name: mono
Version: 2.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A .NET runtime environment
Group: Development/Languages
@ -12,6 +12,11 @@ URL: http://www.mono-project.com/Main_Page
# http://mono.ximian.com/monobuild/preview/sources-preview/
Source0: http://mono.ximian.com/monobuild/snapshot/sources-trunk/%name-%version.tar.bz2
Source1: monodir.c
# This key was generated by Tom "spot" Callaway <tcallawa@redhat.com> on Dec 1, 2009
# by running the following command:
# sn -k mono.snk
# You should not regenerate this unless you have a really, really, really good reason.
Source2: mono.snk
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison
@ -331,6 +336,10 @@ make
make DESTDIR=%{buildroot} install
install monodir %{buildroot}%{_bindir}
# copy the mono.snk key into /etc/pki/mono
mkdir -p %{buildroot}%{_sysconfdir}/pki/mono
install -p -m0600 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
%{__rm} %{buildroot}%{_libdir}/*.la
%{__rm} %{buildroot}%{_libdir}/*.a
@ -453,6 +462,7 @@ install monodir %{buildroot}%{_bindir}
%files devel
%defattr(-,root,root,-)
%{_sysconfdir}/pki/mono/
%{_bindir}/mono-api-*
%{monodir}/?.0/mono-api-info*
%{_bindir}/monodis
@ -725,6 +735,11 @@ install monodir %{buildroot}%{_bindir}
%{_libdir}/pkgconfig/monodoc.pc
%changelog
* Tue Dec 1 2009 Tom "spot" Callaway <tcallawa@redhat.com> 2.6-2
- generate and package mono.snk for packages without bundled keys to use
- put mono.snk in /etc/pki/mono/
- package /etc/pki/mono/* in mono-devel
* Wed Sep 30 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.6-1
- Bump to 2.6
- Fix metadata makefiles patch