]> git.pld-linux.org Git - packages/proj.git/blame - proj.spec
- updated to 7.2.1
[packages/proj.git] / proj.spec
CommitLineData
761a486e 1Summary: Cartographic projection software
d26f67ea 2Summary(pl.UTF-8): Oprogramowanie do rzutów kartograficznych
761a486e 3Name: proj
0d087ee5 4Version: 7.2.1
8b0cc1c3 5Release: 1
0599e440
JB
6Group: Libraries
7License: MIT
33c1ec4c 8Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
0d087ee5 9# Source0-md5: befbafd25e65ddf0c26a8321d8bcdcd2
33c1ec4c 10Source1: http://download.osgeo.org/proj/%{name}-pdf-docs.tar.gz
034139fa 11# Source1-md5: 7c8f48f0fddf0d5730f4b27b3f09e6c1
b4545e9f
AG
12Source2: https://raw.githubusercontent.com/OSGeo/proj-datumgrid/master/scripts/nad2bin.c
13# Source2-md5: d061e9107864c06c997cda0910de81bc
992971c8 14Patch0: %{name}-am.patch
7f5ce28e 15URL: https://proj.org/
e41b9efc 16BuildRequires: autoconf >= 2.59
8be63893 17BuildRequires: automake
7f5ce28e
JB
18BuildRequires: curl-devel
19BuildRequires: gtest-devel >= 1.8.0
20BuildRequires: libstdc++-devel >= 6:4.7
21BuildRequires: libtiff-devel
8be63893 22BuildRequires: libtool
7f5ce28e 23BuildRequires: pkgconfig
65fc72a1 24BuildRequires: rpm-build >= 4.6
7f5ce28e
JB
25BuildRequires: sqlite3-devel >= 3.11
26Requires: sqlite3 >= 3.11
761a486e 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
0599e440
JB
30Cartographic projection software.
31
3af59de0
JR
32%description -l pl.UTF-8
33Oprogramowanie do rzutów kartograficznych.
761a486e 34
35%package devel
0599e440 36Summary: proj header files
0d136fd0 37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki proj
761a486e 38Group: Development/Libraries
5568aaa4 39Requires: %{name} = %{version}-%{release}
7f5ce28e
JB
40Requires: curl-devel
41Requires: libstdc++-devel >= 6:4.7
42Requires: libtiff-devel
43Requires: sqlite3-devel >= 3.11
761a486e 44
45%description devel
0599e440 46This package contains proj header files.
761a486e 47
3af59de0
JR
48%description devel -l pl.UTF-8
49Ten pakiet zawiera pliki nagłówkowe niezbędne do tworzenia aplikacji
50korzystających z biblioteki proj.
761a486e 51
52%package static
53Summary: proj static libraries
d26f67ea 54Summary(pl.UTF-8): Biblioteki statyczne libPropList
761a486e 55Group: Development/Libraries
5568aaa4 56Requires: %{name}-devel = %{version}-%{release}
761a486e 57
58%description static
0599e440 59This package contains static proj libraries.
761a486e 60
3af59de0 61%description static -l pl.UTF-8
0599e440 62Ten pakiet zawiera statyczne biblioteki proj.
761a486e 63
64%package progs
65Summary: Cartographic projection software
d26f67ea 66Summary(pl.UTF-8): Oprogramowanie do rzutów kartograficznych
761a486e 67Group: Applications
5568aaa4 68Requires: %{name} = %{version}-%{release}
761a486e 69
70%description progs
0599e440
JB
71Package contains cartographic projection and coordinate system
72filters.
73
3af59de0
JR
74%description progs -l pl.UTF-8
75Ten pakiet zawiera filtry do rzutów kartograficznych i układów
76współrzędnych.
761a486e 77
78%package doc
7544f70c 79Summary: Manuals for cartographic projection software
0d136fd0 80Summary(pl.UTF-8): Dokumentacja do oprogramowania proj
7544f70c 81Group: Documentation
5568aaa4 82Requires: %{name} = %{version}-%{release}
0c711014 83BuildArch: noarch
761a486e 84
85%description doc
0599e440
JB
86Manuals for cartographic projection software.
87
3af59de0
JR
88%description doc -l pl.UTF-8
89Dokumentacja do oprogramowania do rzutów kartograficznych proj.
0599e440 90
761a486e 91%prep
034139fa 92%setup -q -a1
e798650f 93%patch0 -p1
b4545e9f 94cp %{SOURCE2} .
761a486e 95
96%build
bcd3f8fc 97%{__libtoolize}
8c81833e 98%{__aclocal}
8be63893 99%{__autoconf}
034139fa 100%{__autoheader}
8be63893 101%{__automake}
e798650f 102%configure \
7f5ce28e 103 --with-external-gtest
761a486e 104
105%{__make}
106
b4545e9f
AG
107# build nad2bin, removed from proj but required by e.g. grass.spec
108%{__cc} %{rpmcflags} %{rpmldflags} -o nad2bin nad2bin.c
109
761a486e 110%install
111rm -rf $RPM_BUILD_ROOT
761a486e 112
3ca7ee94
JB
113%{__make} install \
114 DESTDIR=$RPM_BUILD_ROOT
761a486e 115
7f5ce28e
JB
116# obsoleted by pkg-config
117%{__rm} $RPM_BUILD_ROOT%{_libdir}/libproj.la
118
b4545e9f
AG
119install nad2bin $RPM_BUILD_ROOT%{_bindir}
120
0599e440
JB
121%clean
122rm -rf $RPM_BUILD_ROOT
761a486e 123
50ae8e17 124%post -p /sbin/ldconfig
125%postun -p /sbin/ldconfig
761a486e 126
761a486e 127%files
128%defattr(644,root,root,755)
41a2f665 129%doc AUTHORS COPYING ChangeLog CITATION NEWS README
d970ab1f 130%attr(755,root,root) %{_libdir}/libproj.so.*.*.*
7f5ce28e 131%attr(755,root,root) %ghost %{_libdir}/libproj.so.19
0599e440 132%dir %{_datadir}/proj
992971c8 133%{_datadir}/proj/CH
761a486e 134%{_datadir}/proj/GL27
41a2f665
AG
135%{_datadir}/proj/ITRF2000
136%{_datadir}/proj/ITRF2008
137%{_datadir}/proj/ITRF2014
761a486e 138%{_datadir}/proj/nad27
139%{_datadir}/proj/nad83
a5d54c0a 140%{_datadir}/proj/nad.lst
761a486e 141%{_datadir}/proj/world
034139fa 142%{_datadir}/proj/other.extra
41a2f665 143%{_datadir}/proj/proj.db
7f5ce28e
JB
144%{_datadir}/proj/proj.ini
145%{_datadir}/proj/deformation_model.schema.json
541f9ee2 146%{_datadir}/proj/projjson.schema.json
0d087ee5 147%{_datadir}/proj/triangulation.schema.json
761a486e 148
761a486e 149%files devel
150%defattr(644,root,root,755)
0599e440 151%attr(755,root,root) %{_libdir}/libproj.so
41a2f665 152%{_includedir}/proj
992971c8 153%{_includedir}/geodesic.h
41a2f665 154%{_includedir}/proj.h
0d136fd0 155%{_includedir}/proj_api.h
41a2f665
AG
156%{_includedir}/proj_constants.h
157%{_includedir}/proj_experimental.h
158%{_includedir}/proj_symbol_rename.h
e798650f 159%{_pkgconfigdir}/proj.pc
761a486e 160
161%files static
162%defattr(644,root,root,755)
163%{_libdir}/libproj.a
164
0599e440
JB
165%files progs
166%defattr(644,root,root,755)
41a2f665 167%attr(755,root,root) %{_bindir}/cct
0d136fd0
JB
168%attr(755,root,root) %{_bindir}/cs2cs
169%attr(755,root,root) %{_bindir}/geod
41a2f665 170%attr(755,root,root) %{_bindir}/gie
0d136fd0
JB
171%attr(755,root,root) %{_bindir}/invgeod
172%attr(755,root,root) %{_bindir}/invproj
b4545e9f 173%attr(755,root,root) %{_bindir}/nad2bin
0d136fd0 174%attr(755,root,root) %{_bindir}/proj
41a2f665 175%attr(755,root,root) %{_bindir}/projinfo
7f5ce28e 176%attr(755,root,root) %{_bindir}/projsync
41a2f665 177%{_mandir}/man1/cct.1*
0d136fd0
JB
178%{_mandir}/man1/cs2cs.1*
179%{_mandir}/man1/geod.1*
41a2f665 180%{_mandir}/man1/gie.1*
0d136fd0 181%{_mandir}/man1/proj.1*
41a2f665 182%{_mandir}/man1/projinfo.1*
7f5ce28e 183%{_mandir}/man1/projsync.1*
0599e440 184
761a486e 185%files doc
186%defattr(644,root,root,755)
e41b9efc 187%doc *.pdf
This page took 0.151483 seconds and 4 git commands to generate.