rpms/ikvm/devel ikvm.spec,1.1,1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Tue Apr 18 22:24:43 UTC 2006


Author: pfj

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

Modified Files:
	ikvm.spec 
Log Message:
auto-import ikvm-0.22-5 on branch devel from ikvm-0.22-5.src.rpm


Index: ikvm.spec
===================================================================
RCS file: /cvs/extras/rpms/ikvm/devel/ikvm.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ikvm.spec	8 Mar 2006 16:23:17 -0000	1.1
+++ ikvm.spec	18 Apr 2006 22:24:43 -0000	1.2
@@ -1,16 +1,17 @@
-%define ikvmdir %{buildroot}%{_libdir}/ikvm
+%define _libdir /usr/lib
 
 Summary: An implementation of Java for Mono
 Name: ikvm
 Version: 0.22
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD
 Group: Development/Languages
-Source0: http://go-mono.com/sources/ikvm/ikvm-%{version}.tar.gz
+Source0: http://go-mono.com/sources/%{name}/%{name}-%{version}.tar.gz
 Patch0: ikvm-scripts.patch
 URL: http://www.ikvm.net/
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: mono-core, mono-devel, dos2unix
+BuildRequires:  mono-devel, dos2unix
+Requires: mono-core
 
 %description
 This package provides IKVM.NET, an open source Java compatibility
@@ -18,15 +19,6 @@
 and various class libraries for Java, as well as tools for Java and
 Mono interoperability.
 
-%package devel
-Summary:  IKVM pkgconfig file
-Group:    Development/Languages
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-This package contains the pkgconfig configuration file for IKVM.
-
-
 %prep
 rm -rf %{RPM_BUILD_ROOT}
 %setup -q
@@ -39,32 +31,23 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%{__mkdir} -p %{buildroot}%{_libdir}/pkgconfig
-%{__mkdir} -p %{buildroot}%{_bindir}
-%{__mkdir} -p %{ikvmdir}
-%{__install} -c bin/ikvm.exe %{ikvmdir}/ikvm.exe
-%{__install} -c bin/ikvmc.exe %{ikvmdir}/ikvmc.exe
-%{__install} -c bin/ikvmstub.exe %{ikvmdir}/ikvmstub.ex
-%{__install} -c lib/IKVM.AWT.WinForms.dll %{ikvmdir}/IKVM.AWT.WinForms.dll
-%{__install} -c lib/IKVM.GNU.Classpath.dll %{ikvmdir}/IKVM.GNU.Classpath.dll
-%{__install} -c lib/IKVM.Runtime.dll %{ikvmdir}/IKVM.Runtime.dll
-%{__install} -c scripts/ikvmc %{buildroot}%{_bindir}/ikvmc
-%{__install} -c scripts/ikvm %{buildroot}%{_bindir}/ikvm
-%{__install} -c scripts/ikvmstub %{buildroot}%{_bindir}/ikvmstub
-%{__install} -c -m 644 ikvm.pc %{buildroot}%{_libdir}/pkgconfig/ikvm.pc
+make DESTDIR=%{buildroot} install
 
 %files 
 %doc LICENSE COPYING
 %{_bindir}/*
 %{_libdir}/ikvm/
-
-%files devel
 %{_libdir}/pkgconfig/ikvm.pc
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %changelog
+* Tue Apr 18 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.22-5
+- libdir is now usr-lib irrespective of architecture built on
+- removed devel as there is no point of a devel for one file
+- multiple spec file changed
+
 * Mon Mar  6 2006 Michel Salim <michel.salim at gmail.com> 0.22-4
 - Fixed summary
 - Changed URL field




More information about the fedora-extras-commits mailing list