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