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

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Wed Apr 23 08:43:02 UTC 2008


Author: pfj

Update of /cvs/pkgs/rpms/mono-basic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22927/devel

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

Add pc file 



Index: mono-basic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mono-basic/devel/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	23 Apr 2008 08:42:26 -0000	1.6
@@ -1,6 +1,8 @@
+%define debug_package %{nil}
+
 Name:		mono-basic
 Version:	1.9
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:        VisualBasic.NET support for mono
 Group:          Development/Languages
 License:        LGPLv2+
@@ -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,15 @@
 %{_libdir}/mono/2.0/Microsoft.VisualBasic.dll
 %{_libdir}/mono/gac/Microsoft.VisualBasic
 
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/mono-basic.pc
+
 %changelog
+* Mon Apr 21 2008 Paul F. Johnson <paul at alk-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/devel/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	23 Apr 2008 08:42:26 -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