added static devel package to support GRASS and QGIS build again

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=5
This commit is contained in:
Otto Dassau 2011-08-18 11:18:29 +00:00 committed by Git OBS Bridge
parent e0fc12378d
commit 88dd393370
2 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,11 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 19 00:00:00 UTC 2011 - dassau@gbd-consult.de Thu Aug 18 11:15:07 UTC 2011 - otto.dassau@gmx.de
- added a static devel package, because GRASS and QGIS don't find
the external PROJ.4 data directory anymore
-------------------------------------------------------------------
Sat Mar 19 00:00:00 UTC 2011 - Otto Dassau 4.7.0
- removed debug_package - removed debug_package

View File

@ -41,6 +41,12 @@ Summary: Development files for PROJ
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libproj0 = %{version} Requires: libproj0 = %{version}
%package -n libproj-devel-static
Summary: Static Development files for PROJ
Group: Development/Libraries/C and C++
Requires: libproj0 = %{version}
%description -n libproj0 %description -n libproj0
This package the library for performing respective This package the library for performing respective
forward and inverse transformation of cartographic data to or from cartesian forward and inverse transformation of cartographic data to or from cartesian
@ -54,6 +60,9 @@ data with a wide range of selectable projection functions.
%description -n libproj-devel %description -n libproj-devel
This package contains libproj and the appropriate header files and man pages. This package contains libproj and the appropriate header files and man pages.
%description -n libproj-devel-static
This package contains static libraries files.
%prep %prep
%setup -q -b 0 -n proj-%{version} %setup -q -b 0 -n proj-%{version}
cd nad cd nad
@ -65,7 +74,6 @@ make
%install %install
%makeinstall %makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%post -n libproj0 -p /sbin/ldconfig %post -n libproj0 -p /sbin/ldconfig
@ -93,4 +101,8 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/*.so %{_libdir}/*.so
%files -n libproj-devel-static
%defattr(0644,root,root)
%{_libdir}/*.la
%changelog %changelog