]> git.pld-linux.org Git - packages/fyba.git/blob - fyba.spec
- x32 rebuild
[packages/fyba.git] / fyba.spec
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
3 Name:           fyba
4 Version:        4.1.1
5 Release:        2
6 License:        MIT
7 Group:          Libraries
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
17 BuildRequires:  xz
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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. 
24
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.
30
31 %package devel
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}
36
37 %description devel
38 Header files for FYBA libraries.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe bibliotek FYBA.
42
43 %package static
44 Summary:        Static FYBA libraries
45 Summary(pl.UTF-8):      Statyczne biblioteki FYBA
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static FYBA libraries.
51
52 %description static -l pl.UTF-8
53 Statyczne biblioteki FYBA.
54
55 %prep
56 %setup -q
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
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 # keeping *.la: .pc file exists only for libfyba
76
77 # packaged as %doc
78 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/fyba
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
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
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
106 %{_pkgconfigdir}/fyba.pc
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.038589 seconds and 3 git commands to generate.