[mingw-proj: 2/11] Add mingw32-proj-4.6.1-4 to rawhide

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 16:54:08 UTC 2012


commit 03066f4b33dc83755b280420b00ed6232a7d3249
Author: Dave Ludlow <adsllc at fedoraproject.org>
Date:   Thu Oct 15 17:54:10 2009 +0000

    Add mingw32-proj-4.6.1-4 to rawhide

 .cvsignore             |    1 +
 import.log             |    1 +
 mingw32-proj.spec      |   76 ++++++++++++++++++++++++++++++++++++++++++++++++
 proj-noundefined.patch |   23 ++++++++++++++
 sources                |    1 +
 5 files changed, 102 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..415d2cb 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+proj-4.6.1.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..c3fdaee
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+mingw32-proj-4_6_1-4_fc11:HEAD:mingw32-proj-4.6.1-4.fc11.src.rpm:1255628959
diff --git a/mingw32-proj.spec b/mingw32-proj.spec
new file mode 100644
index 0000000..7d4970e
--- /dev/null
+++ b/mingw32-proj.spec
@@ -0,0 +1,76 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%global _use_internal_dependency_generator 0
+%global __find_requires %{_mingw32_findrequires}
+%global __find_provides %{_mingw32_findprovides}
+
+%global nativename proj
+
+Name:      mingw32-%{nativename}
+Version:   4.6.1
+Release:   4%{?dist}
+Summary:   Cartographic projection software (PROJ.4)
+
+Group:     Applications/Engineering
+License:   MIT
+URL:       http://proj.osgeo.org
+Source0:   http://download.osgeo.org/proj/proj-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: libtool
+BuildRequires:  mingw32-filesystem >= 35
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+
+Patch:    proj-noundefined.patch
+
+%description
+Proj and invproj perform respective forward and inverse transformation of
+cartographic data to or from cartesian data with a wide range of selectable
+projection functions. Proj docs: http://www.remotesensing.org/dl/new_docs/
+
+%prep
+%setup -q -n %{nativename}-%{version}
+
+%patch -p 1
+
+%build
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# Remove libtool archives
+rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libproj.la
+
+# Remove inverse program symbolic links
+rm $RPM_BUILD_ROOT%{_mingw32_bindir}/inv*.exe
+
+# Remove unneeded files
+rm -R $RPM_BUILD_ROOT%{_mingw32_datadir}/*
+
+%check
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc NEWS AUTHORS COPYING README ChangeLog
+%{_mingw32_bindir}/libproj-0.dll
+%{_mingw32_bindir}/*.exe
+%{_mingw32_libdir}/libproj.dll.a 
+%{_mingw32_includedir}/*.h
+
+%changelog
+* Thu Oct 15 2009 David Ludlow <dave at adsllc.com> - 4.6.1-4
+- Don't remove build executables
+
+* Thu Oct 15 2009 David Ludlow <dave at adsllc.com> - 4.6.1-3
+- Updates for Fedora packaging
+
+* Wed Sep 9 2009 David Ludlow <dave at adsllc.com> - 4.6.1-2
+- Initial creation of mingw32 package
diff --git a/proj-noundefined.patch b/proj-noundefined.patch
new file mode 100644
index 0000000..45b6302
--- /dev/null
+++ b/proj-noundefined.patch
@@ -0,0 +1,23 @@
+--- orig/src/Makefile.am	2008-08-05 12:33:48.000000000 -0400
++++ new/src/Makefile.am		2009-09-09 13:28:00.000000000 -0400
+@@ -20,7 +20,7 @@
+ 
+ lib_LTLIBRARIES = libproj.la
+ 
+-libproj_la_LDFLAGS = -version-info 5:5:5
++libproj_la_LDFLAGS = -version-info 5:5:5 -no-undefined
+ 
+ libproj_la_SOURCES = \
+ 	projects.h pj_list.h \
+--- orig/src/Makefile.in	2008-08-21 22:58:46.000000000 -0400
++++ new/src/Makefine.in		2009-09-09 13:49:41.000000000 -0400
+@@ -253,7 +253,7 @@
+ nad2bin_LDADD = libproj.la
+ geod_LDADD = libproj.la
+ lib_LTLIBRARIES = libproj.la
+-libproj_la_LDFLAGS = -version-info 5:5:5
++libproj_la_LDFLAGS = -version-info 5:5:5 -no-undefined
+ libproj_la_SOURCES = \
+ 	projects.h pj_list.h \
+ 	PJ_aeqd.c PJ_gnom.c PJ_laea.c PJ_mod_ster.c \
+
diff --git a/sources b/sources
index e69de29..82db244 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7dbaab8431ad50c25669fd3fb28dc493  proj-4.6.1.tar.gz


More information about the scm-commits mailing list