]> git.pld-linux.org Git - packages/fyba.git/blame - fyba.spec
- updated to 4.1.1
[packages/fyba.git] / fyba.spec
CommitLineData
8f6a42a4
JB
1Summary: FYBA - library to read and write files in Norwegian geodata standard format SOSI
2Summary(pl.UTF-8): FYBA - biblioteka do odczytu i zapisu plików w norweskim formacie danych geograficznych SOSI
3Name: fyba
3fe7cf7b
JB
4Version: 4.1.1
5Release: 1
8f6a42a4
JB
6License: MIT
7Group: Libraries
3fe7cf7b
JB
8Source0: https://github.com/kartverket/fyba/archive/%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: ab687582efdef26593796271529a10cb
8f6a42a4
JB
10Patch0: %{name}-link.patch
11URL: https://github.com/kartverket/fyba
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake
14BuildRequires: libstdc++-devel
15BuildRequires: libtool >= 2:2
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21OpenFYBA is the source code release of the FYBA library, distributed
22by the National Mapping Authority of Norway (Statens kartverk) to read
23and write files in the National geodata standard format SOSI.
24
25%description -l pl.UTF-8
26OpenFYBA to mające otwarty kod źródłowy wydanie biblioteki FYBA
27rozpowszechnianej przez Statens kartverk (norweską państwową
28instytucję geodezyjną) w celu odczytu i zapisu plików w państwowym
29formacie danych geograficznych SOSI.
30
31%package devel
32Summary: Header files for FYBA libraries
33Summary(pl.UTF-8): Pliki nagłówkowe bibliotek FYBA
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38Header files for FYBA libraries.
39
40%description devel -l pl.UTF-8
41Pliki nagłówkowe bibliotek FYBA.
42
43%package static
44Summary: Static FYBA libraries
45Summary(pl.UTF-8): Statyczne biblioteki FYBA
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static FYBA libraries.
51
52%description static -l pl.UTF-8
53Statyczne biblioteki FYBA.
54
55%prep
3fe7cf7b 56%setup -q
8f6a42a4
JB
57%patch0 -p1
58
59%build
60%{__libtoolize}
61%{__aclocal} -I m4
62%{__autoconf}
63%{__autoheader}
64%{__automake}
65%configure
66
67%{__make}
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
3fe7cf7b
JB
75# keeping *.la: .pc file exists only for libfyba
76
8f6a42a4
JB
77# packaged as %doc
78%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/fyba
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
3fe7cf7b 88%doc ChangeLog README doc/en_EN
8f6a42a4
JB
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
96
97%files devel
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
105%{_includedir}/fyba
3fe7cf7b 106%{_pkgconfigdir}/fyba.pc
8f6a42a4
JB
107
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libfyba.a
111%{_libdir}/libfygm.a
112%{_libdir}/libfyut.a
This page took 0.071477 seconds and 4 git commands to generate.