rpms/log4net/F-7 log4net.pc, NONE, 1.1 log4net.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Brown (snecker) fedora-extras-commits at redhat.com
Sun Feb 24 21:44:11 UTC 2008


Author: snecker

Update of /cvs/pkgs/rpms/log4net/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15044

Modified Files:
	.cvsignore sources 
Added Files:
	log4net.pc log4net.spec 
Log Message:
Add sources to CVS


--- NEW FILE log4net.pc ---
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib

Name: log4net
Description: log4net - .Net logging framework
Version: 1.2.10
Libs: -r:${libdir}/mono/log4net/log4net.dll


--- NEW FILE log4net.spec ---
#
# spec file for package log4net (Version 1.2.9)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugzilla.redhat.com

Name:	 	log4net
BuildRequires:	mono-data-sqlite
BuildRequires:	mono-devel
BuildRequires:	unzip
BuildRequires:	nant
URL:		http://logging.apache.org/log4net/
License:	ASL 2.0
Group:		System Environment/Libraries
Version:	1.2.10
Release:	2%{?dist}
Summary:	A .NET framework for logging
Source:		http://cvs.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip
Source1:	log4net.pc
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
ExcludeArch:	ppc64

# %define debug_package %{nil}
# This is a mono package

%description
log4net is a tool to help the programmer output log statements to a
variety of output targets. log4net is a port of the excellent log4j
framework to the .NET runtime

%package devel
Summary:	A .NET framework for logging
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig

%description devel
log4net is a tool to help the programmer output log statements to a
variety of output targets. log4net is a port of the excellent log4j
framework to the .NET runtime

%prep
%setup -q
%{__sed} -i 's/\r//' NOTICE.txt
%{__sed} -i 's/\r//' README.txt
%{__sed} -i 's/\r//' LICENSE.txt

%build
# create a Strong Name key to allow build to run
sn -k log4net.snk
# ASF recommend using nant to build log4net
nant -buildfile:log4net.build compile-all

%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
cp %{S:1} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/mono/gac/
echo $PWD
gacutil -i bin/mono/2.0/release/log4net.dll -f -package log4net -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/release/log4net.dll -package log4net -root ${RPM_BUILD_ROOT}/%{_libdir}

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_libdir}/mono/gac/log4net
%{_libdir}/mono/log4net
%doc LICENSE.txt NOTICE.txt README.txt

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/log4net.pc


%changelog
* Wed Feb 20 2008 Christopher Brown <snecklifter at gmail.com> - 1.2.10-1
- Add excludearch for ppc64
- File ownership cleanup

* Fri Sep  7 2007 Christopher Brown <snecklifter at gmail.com> - 1.2.10-1
- switch to nant for build

* Mon Sep  3 2007 Christopher Brown <snecklifter at gmail.com> - 1.2.9-70.1
- initial cleanup for Fedora

* Thu Mar 29 2007 rguenther at suse.de
- add unzip BuildRequires
* Mon May 22 2006 jhargadon at novell.com
- fix for bug 148685 This was a remotely triggerable vulnerability
  issue where the syslog() function from glibc was used incorrectly.
* Wed Apr 26 2006 wberrier at suse.de
- Change to noarch package, remove unnecessary deps
* Sat Feb 25 2006 aj at suse.de
- Do not build as root
- Reduce BuildRequires.
* Tue Feb  7 2006 ro at suse.de
- drop self obsoletes
* Wed Jan 25 2006 mls at suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 ro at suse.de
- modified neededforbuild (use mono-devel-packages)
* Mon Nov 28 2005 cgaisford at novell.com
- Initial package creation


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/log4net/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Feb 2008 18:00:46 -0000	1.1
+++ .cvsignore	24 Feb 2008 21:43:33 -0000	1.2
@@ -0,0 +1 @@
+incubating-log4net-1.2.10.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/log4net/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Feb 2008 18:00:46 -0000	1.1
+++ sources	24 Feb 2008 21:43:33 -0000	1.2
@@ -0,0 +1 @@
+0085970684888a5dfb1d59b2831f8d7e  incubating-log4net-1.2.10.zip




More information about the fedora-extras-commits mailing list