[packages/librasterlite2] - new

qboosh qboosh at pld-linux.org
Fri Nov 14 17:07:27 CET 2014


commit 38ab22e0149e0894bc0aa37ec7016a515e3a2981
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 14 17:07:38 2014 +0100

    - new

 librasterlite2.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
---
diff --git a/librasterlite2.spec b/librasterlite2.spec
new file mode 100644
index 0000000..ab9f4a5
--- /dev/null
+++ b/librasterlite2.spec
@@ -0,0 +1,106 @@
+Summary:	Library supporting rasters on DBMS
+Summary(pl.UTF-8):	Biblioteka wspierająca przechowywanie rastrów w bazach danych
+Name:		librasterlite2
+Version:	1.0.0
+%define	subver	rc0
+Release:	0.%{subver}.1
+License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
+Group:		Libraries
+Source0:	http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/%{name}-%{version}-%{subver}.tar.gz
+# Source0-md5:	2c0c9d41eb29f6e7bee62519eb8ac014
+URL:		https://www.gaia-gis.it/fossil/librasterlite2
+BuildRequires:	cairo-devel
+BuildRequires:	curl-devel
+BuildRequires:	giflib-devel
+BuildRequires:	libgeotiff-devel >= 1.2.5
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libspatialite-devel
+BuildRequires:	libtiff-devel
+BuildRequires:	libwebp-devel
+BuildRequires:	libxml2-devel >= 2.0
+BuildRequires:	pkgconfig
+BuildRequires:	sqlite3-devel >= 3
+BuildRequires:	xz-devel
+BuildRequires:	zlib-devel
+Requires:	libgeotiff >= 1.2.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+librasterlite2 is an open source library that stores and retrieves
+huge raster coverages using a SpatiaLite DBMS.
+
+%description -l pl.UTF-8
+librasterlite2 to mająca otwarte źródła biblioteka przechowująca i
+odtwarzająca duże pokrycia rastrowe przy użyciu silnika baz danych
+SpatiaLite.
+
+%package devel
+Summary:	Header files for rasterlite2 library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki rasterlite2
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libspatialite-devel
+Requires:	sqlite3-devel >= 3
+
+%description devel
+Header files for rasterlite2 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki rasterlite2.
+
+%package static
+Summary:	Static rasterlite2 library
+Summary(pl.UTF-8):	Statyczna biblioteka rasterlite2
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static rasterlite2 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka rasterlite2.
+
+%prep
+%setup -q -n %{name}-%{version}-%{subver}
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/librasterlite2.la
+# sqlite3 module
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mod_rasterlite2.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/rl2tool
+%attr(755,root,root) %{_bindir}/wmslite
+%attr(755,root,root) %{_libdir}/librasterlite2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/librasterlite2.so.1
+%attr(755,root,root) %{_libdir}/mod_rasterlite2.so*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/librasterlite2.so
+%{_includedir}/rasterlite2
+%{_pkgconfigdir}/rasterlite2.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/librasterlite2.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librasterlite2.git/commitdiff/38ab22e0149e0894bc0aa37ec7016a515e3a2981



More information about the pld-cvs-commit mailing list