Initial import.

epel9
Richard W.M. Jones 16 years ago
parent 0c429c120d
commit df4048f12a

@ -0,0 +1 @@
dlfcn-win32-r11.tar.bz2

@ -0,0 +1,62 @@
diff -ruNp dlfcn-win32-r11/config.mak dlfcn-win32-r11.new/config.mak
--- dlfcn-win32-r11/config.mak 1969-12-31 21:00:00.000000000 -0300
+++ dlfcn-win32-r11.new/config.mak 2009-01-02 12:08:15.000000000 -0200
@@ -0,0 +1,9 @@
+# Automatically generated by configure
+PREFIX=/usr/i686-pc-mingw32/sys-root/mingw
+libdir=/usr/i686-pc-mingw32/sys-root/mingw/lib
+incdir=/usr/i686-pc-mingw32/sys-root/mingw/include
+CC=i686-pc-mingw32-gcc
+BUILD_SHARED=yes
+BUILD_STATIC=yes
+BUILD_MSVC=no
+DO_STRIP=yes
diff -ruNp dlfcn-win32-r11/configure dlfcn-win32-r11.new/configure
--- dlfcn-win32-r11/configure 2009-01-02 11:54:38.000000000 -0200
+++ dlfcn-win32-r11.new/configure 2009-01-02 12:35:30.000000000 -0200
@@ -97,6 +97,45 @@ for opt do
--make=*)
make="$optval"
;;
+ --enable-shared=*)
+ shared="$optval"
+ ;;
+ --enable-static=*)
+ static="$optval"
+ ;;
+ --enable-strip=*)
+ strip="$optval"
+ ;;
+ --cache-file=*)
+ ;;
+ --host=*)
+ ;;
+ --build=*)
+ ;;
+ --target=*)
+ ;;
+ --exec-prefix=*)
+ ;;
+ --bindir=*)
+ ;;
+ --sbindir=*)
+ ;;
+ --sysconfdir=*)
+ ;;
+ --datadir=*)
+ ;;
+ --includedir=*)
+ ;;
+ --libexecdir=*)
+ ;;
+ --localstatedir=*)
+ ;;
+ --sharedstatedir=*)
+ ;;
+ --mandir=*)
+ ;;
+ --infodir=*)
+ ;;
--enable-?*|--disable-?*)
eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
echo "$CMDLINE_SELECT" | grep -q "^ *$option\$" || die_unknown $opt

@ -0,0 +1 @@
mingw32-dlfcn-0-0_3_r11_fc10:HEAD:mingw32-dlfcn-0-0.3.r11.fc10.src.rpm:1232191683

@ -0,0 +1,90 @@
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
%define realname dlfcn-win32
%define alphatag r11
Name: mingw32-dlfcn
Version: 0
Release: 0.3.%{alphatag}%{?dist}
Summary: Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror)
License: LGPLv2+
Group: Development/Libraries
URL: http://code.google.com/p/dlfcn-win32/
Source0: http://dlfcn-win32.googlecode.com/files/%{realname}-%{alphatag}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 40
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
#BuildRequires: dos2unix
Patch1: dlfcn_configure.patch
%description
This library implements a wrapper for dlfcn, as specified in POSIX and SUS,
around the dynamic link library functions found in the Windows API.
%prep
%setup -q -n %{realname}-%{alphatag}
%{__sed} -i 's/\r//' configure
%{__sed} -i 's/\r//' README
%{__sed} -i 's/\r//' COPYING
%patch1 -p1
%build
%{_mingw32_configure} \
--incdir=%{_mingw32_includedir} \
--cc=i686-pc-mingw32-gcc \
--enable-shared=yes \
--enable-static=no \
--enable-strip=i686-pc-mingw32-strip
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING
%{_mingw32_bindir}/libdl.dll
%{_mingw32_libdir}/libdl.dll.a
%{_mingw32_includedir}/dlfcn.h
%changelog
* Wed Jan 14 2009 Richard W.M. Jones <rjones@redhat.com> - 0-0.3.r11
- Use Version 0
(https://www.redhat.com/archives/fedora-packaging/2009-January/msg00064.html)
- Revert use of dos2unix for now
(https://www.redhat.com/archives/fedora-packaging/2009-January/msg00066.html)
- Use _smp_mflags.
* Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 0.1-0.2.r11
- Import into fedora-mingw temporary repository because there are packages
which will depend on this.
- Fix the version/release according to packaging guidelines.
- Tidy up the spec file.
- Use dos2unix and keep the timestamps.
* Fri Jan 02 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - r11-1
- Initial RPM release.

@ -0,0 +1 @@
728d2c79edaf09ee3c309860499502eb dlfcn-win32-r11.tar.bz2
Loading…
Cancel
Save