Richard W.M. Jones wrote:
> http://cvs.fedoraproject.org/viewvc/devel/mingw32-filesystem/macros.mingw32?annotate=1.2#l57
>
> However it might be worth having a "mingw32-pkgconfig" shell script
> which just sets that variable and runs pkgconfig ...
as you like:-)
ps. on monday i'll go for a 2 weeks holiday:-)
--
Levente "Si vis pacem para bellum!"
Index: macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/macros.mingw32,v
retrieving revision 1.2
diff -u -r1.2 macros.mingw32
--- macros.mingw32 18 Feb 2009 17:06:07 -0000 1.2
+++ macros.mingw32 26 Mar 2009 21:37:08 -0000
@@ -78,6 +78,10 @@
done; \
unset x i
+%_mingw32_pkgconfig \
+ PKG_CONFIG_LIBDIR="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_LIBDIR; \
+ unset PKG_CONFIG_PATH; \
+ pkgconfig
%_mingw32_configure %{_mingw32_env} ; \
__mingw32_topdir=.; if ! test -x configure; then __mingw32_topdir=..; fi; \\\
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.20
diff -u -r1.20 mingw32-filesystem.spec
--- mingw32-filesystem.spec 26 Feb 2009 01:03:00 -0000 1.20
+++ mingw32-filesystem.spec 26 Mar 2009 21:37:08 -0000
@@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 49
-Release: 3%{?dist}
+Version: 50
+Release: 1%{?dist}
Summary: MinGW base filesystem and environment
Group: Development/Libraries
@@ -22,9 +22,9 @@
Requires: setup
Requires: rpm
-Requires: rpmlint >= 0.85-2
+Requires: rpmlint
-BuildRequires: rpmlint >= 0.85-2
+BuildRequires: rpmlint
# Note about 'Provides: mingw32(foo.dll)'
# ------------------------------------------------------------
@@ -83,7 +83,7 @@
mkdir -p $RPM_BUILD_ROOT%{_bindir}
pushd $RPM_BUILD_ROOT%{_bindir}
-for i in mingw32-configure mingw32-make; do
+for i in mingw32-configure mingw32-make mingw32-pkgconfig; do
ln -s %{_libexecdir}/mingw32-scripts $i
done
popd
@@ -156,6 +156,9 @@
%changelog
+* Thu Mar 26 2009 Levente Farkas <[email protected]> - 50-1
+- Add mingw32-pkgconfig
+
* Wed Feb 25 2009 Fedora Release Engineering <[email protected]>
- 49-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
_______________________________________________
fedora-mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw