1 Summary: FYBA - library to read and write files in Norwegian geodata standard format SOSI
2 Summary(pl.UTF-8): FYBA - biblioteka do odczytu i zapisu plików w norweskim formacie danych geograficznych SOSI
8 Source0: https://github.com/kartverket/fyba/archive/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: ab687582efdef26593796271529a10cb
10 Patch0: %{name}-link.patch
11 URL: https://github.com/kartverket/fyba
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtool >= 2:2
16 BuildRequires: tar >= 1:1.22
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 OpenFYBA is the source code release of the FYBA library, distributed
22 by the National Mapping Authority of Norway (Statens kartverk) to read
23 and write files in the National geodata standard format SOSI.
25 %description -l pl.UTF-8
26 OpenFYBA to mające otwarty kod źródłowy wydanie biblioteki FYBA
27 rozpowszechnianej przez Statens kartverk (norweską państwową
28 instytucję geodezyjną) w celu odczytu i zapisu plików w państwowym
29 formacie danych geograficznych SOSI.
32 Summary: Header files for FYBA libraries
33 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek FYBA
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header files for FYBA libraries.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe bibliotek FYBA.
44 Summary: Static FYBA libraries
45 Summary(pl.UTF-8): Statyczne biblioteki FYBA
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static FYBA libraries.
52 %description static -l pl.UTF-8
53 Statyczne biblioteki FYBA.
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
75 # keeping *.la: .pc file exists only for libfyba
78 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/fyba
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc ChangeLog README doc/en_EN
89 %lang(nb) %doc doc/no_NB
90 %attr(755,root,root) %{_libdir}/libfyba.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libfyba.so.0
92 %attr(755,root,root) %{_libdir}/libfygm.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libfygm.so.0
94 %attr(755,root,root) %{_libdir}/libfyut.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libfyut.so.0
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libfyba.so
100 %attr(755,root,root) %{_libdir}/libfygm.so
101 %attr(755,root,root) %{_libdir}/libfyut.so
102 %{_libdir}/libfyba.la
103 %{_libdir}/libfygm.la
104 %{_libdir}/libfyut.la
106 %{_pkgconfigdir}/fyba.pc
109 %defattr(644,root,root,755)