rpms/nant/devel nant-libdir.patch, NONE, 1.1 nant.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Sun Jul 9 22:00:04 UTC 2006


Author: pfj

Update of /cvs/extras/rpms/nant/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16202/devel

Modified Files:
	.cvsignore sources 
Added Files:
	nant-libdir.patch nant.spec 
Log Message:
auto-import nant-0.85-5 on branch devel from nant-0.85-5.src.rpm

nant-libdir.patch:

--- NEW FILE nant-libdir.patch ---
--- NAnt.build.orig	2006-06-02 14:07:52.000000000 -0500
+++ NAnt.build	2006-07-08 13:35:20.000000000 -0500
@@ -813,7 +813,9 @@
         </if>
         <property name="install.bindir" value="${path::combine(install.realprefix, 'bin')}"/>
         <property name="install.share" value="${path::combine(install.realprefix, 'share')}"/>
-        <property name="install.copylocation" value="${path::combine (install.share, 'NAnt')}"/>
+        <property name="install.libdir" value="${path::combine(install.realprefix, '@LIB@')}"/>
+        <!-- <property name="install.copylocation" value="${path::combine (install.share, 'NAnt')}"/> -->
+        <property name="install.copylocation" value="${path::combine (install.libdir, 'NAnt')}"/>
         <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}"/>
         <echo message="Installing NAnt to '${install.copylocation}' ..." />
         


--- NEW FILE nant.spec ---
%define extra rc4
%define debug_package %{nil}

Summary: NAnt is a build tool for Mono and .NET
Name: nant
Version: 0.85	
Release: 5%{?dist}
Source0: http://download.sourceforge.net/nant/%{name}-%{version}-%{extra}-src.tar.gz
Patch0: nant-libdir.patch
License: GPL
Group: Development/Tools
Url: http://nant.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mono-devel
Requires(post): scrollkeeper
Requires(postun): scrollkeeper

%description
NAnt is a free .NET build tool. In theory it is kind of like make
without make's wrinkles. In practice it's a lot like Ant.

%package docs
Summary:	Documentation package for nant
Group:	Documentation
Requires:	%{name} = %{version}-%{release}

%description docs
Documentation of nant

%prep
%setup -q -n %{name}-%{version}-%{extra}
%patch0
# put nant into libdir
sed -i -e "s/@LIB@/%{_lib}/" NAnt.build
find . -type d|xargs chmod 755
find . -type f|xargs chmod 644
sed -i 's/\r//' doc/license.html
sed -i 's/\r//' COPYING.txt
sed -i 's/\r//' README.txt
sed -i 's/\r//' doc/releasenotes.html

%build
export MONO_PATH=%{buildroot}/lib
make

%install
rm -rf %{buildroot}
%makeinstall
sed -i -e "s#%buildroot##" %buildroot%_bindir/%name
find examples -name \*.dll -o -name \*.exe|xargs rm -f
rm -rf %{buildroot}%{_datadir}/NAnt/doc

%clean
rm -rf %{buildroot}

%post docs
scrollkeeper-update -q

%postun docs
scrollkeeper-update -q

%files
%defattr(-,root,root)
%doc README.txt doc/*.html COPYING.txt
%{_bindir}/nant/
# libdir is not showing lib64 for some reason
#%{_exec_prefix}/%{_lib}/NAnt/
%{_libdir}/NAnt/

%files docs
%defattr(-,root,root,-)
%doc examples/* doc/help/*

%changelog
* Sun Jul 09 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.85-5
- fixes to EOLs
- added R scrollkeeper
- changed group

* Sat Jul 08 2006 John Mahowald  <jpmahowald at gmail.com> - 0.85-4
- libdir fix

* Wed Jun 07 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.85-rc4-3
- Added docs package
- Added post and postun for docs
- Removed debuginfo package (empty)

* Sat Jun 03 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.85-rc4-1
- Initial import for FC Extras



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/nant/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jul 2006 21:57:53 -0000	1.1
+++ .cvsignore	9 Jul 2006 22:00:04 -0000	1.2
@@ -0,0 +1 @@
+nant-0.85-rc4-src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/nant/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jul 2006 21:57:53 -0000	1.1
+++ sources	9 Jul 2006 22:00:04 -0000	1.2
@@ -0,0 +1 @@
+41980ca70e8e14bc26afd6f796eac4b3  nant-0.85-rc4-src.tar.gz




More information about the fedora-extras-commits mailing list