rpms/mono-basic/F-9 mono-basic.spec,1.5,1.6 sources,1.3,1.4

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Fri May 16 10:19:18 UTC 2008


Author: pfj

Update of /cvs/pkgs/rpms/mono-basic/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21938/F-9

Modified Files:
	mono-basic.spec sources 
Log Message:

Update to include devel package 



Index: mono-basic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mono-basic/F-9/mono-basic.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mono-basic.spec	11 Apr 2008 21:45:27 -0000	1.5
+++ mono-basic.spec	16 May 2008 10:18:24 -0000	1.6
@@ -1,6 +1,8 @@
+%define debug_package %{nil}
+
 Name:		mono-basic
 Version:	1.9
-Release:	2%{?dist}
+Release:	4%{?dist}
 Summary:        VisualBasic.NET support for mono
 Group:          Development/Languages
 License:        LGPLv2+
@@ -11,7 +13,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Yeah, so this guy isn't self-hosting.
-BuildRequires:	mono-basic
+BuildRequires:	mono-basic pkgconfig
 BuildRequires:  mono-devel >= 1.9
 Requires: 	mono-winforms
 
@@ -22,6 +24,14 @@
 runtime. This allows you to compile and run VB.NET application and
 assemblies.
 
+%package devel
+Summary: Development files for mono-basic
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release} pkgconfig
+ 
+%description devel
+Development files for mono-basic
+
 %prep
 %setup -q
 sed -i -e 's!@@LIBDIR@@!%{_libdir}!' %{PATCH0}
@@ -39,6 +49,18 @@
 %install
 %{__rm} -rf %{buildroot}
 make libdir=%{_libdir} DESTDIR=%{buildroot} install
+mkdir -p %{buildroot}/%{_libdir}/pkgconfig
+
+cat <<EOF >%{buildroot}/%{_libdir}/pkgconfig/mono-basic.pc
+prefix=%{_prefix}
+exec_prefix=%{_prefix}
+libdir=%{_libdir}
+
+Name: mono-basic
+Description: mono-basic - VB for mono
+Version: 1.9
+Libs: -r:%{_libdir}/mono/2.0/Microsoft.VisualBasic.dll
+EOF
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -50,7 +72,19 @@
 %{_libdir}/mono/2.0/Microsoft.VisualBasic.dll
 %{_libdir}/mono/gac/Microsoft.VisualBasic
 
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/mono-basic.pc
+
 %changelog
+* Tue Apr 29 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.9-4
+- spec file changelog fix
+- added BR pkgconfig
+
+* Mon Apr 21 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.9-3
+- added devel subpackage
+- removed debug package
+
 * Fri Apr 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> 1.9-2
 - get rid of bootstrap binary bits
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mono-basic/F-9/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	21 Feb 2008 14:44:52 -0000	1.3
+++ sources	16 May 2008 10:18:24 -0000	1.4
@@ -1 +1 @@
-057f36ecd2df99f7a7eeccb41ecc2880  mono-basic-1.9.tar.bz2
+45b298da5c1e3ff696c0319add5f7962  mono-basic-1.9.tar.bz2




More information about the fedora-extras-commits mailing list