]> git.pld-linux.org Git - SPECS.git/blob - librasterlite.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / librasterlite.spec
1 Summary:        Spatial SQL database engine based on SQLite
2 Summary(pl.UTF-8):      Silnik przestrzennej bazy danych SQL oparty na SQLite
3 Name:           librasterlite
4 Version:        1.1g
5 Release:        8
6 License:        MPL v1.1 or GPL v2+ or LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.gaia-gis.it/gaia-sins/librasterlite-sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  6c6e8f83ac8a06c78f3fdcee63dc5e3e
10 Patch0:         link.patch
11 URL:            https://www.gaia-gis.it/fossil/librasterlite
12 BuildRequires:  libgeotiff-devel >= 1.2.5
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libpng-devel
15 BuildRequires:  libspatialite-devel
16 BuildRequires:  libtiff-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  proj-devel
19 BuildRequires:  sqlite3-devel
20 BuildRequires:  zlib-devel
21 Requires:       libgeotiff >= 1.2.5
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Spatial SQL database engine based on SQLite.
26
27 %description -l pl.UTF-8
28 Silnik przestrzennej bazy danych SQL oparty na SQLite.
29
30 %package devel
31 Summary:        Header files for rasterlite library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki rasterlite
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       libgeotiff-devel >= 1.2.5
36 Requires:       libjpeg-devel
37 Requires:       libpng-devel
38 Requires:       libspatialite-devel
39 Requires:       libtiff-devel
40 Requires:       proj-devel
41 Requires:       sqlite3-devel
42 Requires:       zlib-devel
43
44 %description devel
45 Header files for rasterlite library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki rasterlite.
49
50 %package static
51 Summary:        Static rasterlite library
52 Summary(pl.UTF-8):      Statyczna biblioteka rasterlite
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static rasterlite library.
58
59 %description static -l pl.UTF-8
60 Statyczna biblioteka rasterlite.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65
66 %build
67 %{__aclocal}
68 %{__automake}
69 %{__autoconf}
70 %configure
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 # obsoleted by pkg-config
81 %{__rm} $RPM_BUILD_ROOT%{_libdir}/librasterlite.la
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog 
92 %attr(755,root,root) %{_bindir}/rasterlite_*
93 %attr(755,root,root) %{_libdir}/librasterlite.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/librasterlite.so.2
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/librasterlite.so
99 %{_includedir}/rasterlite.h
100 %{_pkgconfigdir}/rasterlite.pc
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/librasterlite.a
This page took 0.173906 seconds and 3 git commands to generate.