]> git.pld-linux.org Git - packages/fsplib.git/blame - fsplib.spec
- tabs in preamble
[packages/fsplib.git] / fsplib.spec
CommitLineData
48c4295c 1#
90f9affc 2# Conditional build:
f4b24f37 3%bcond_without static_libs # don't build static library
90f9affc 4#
6935743f 5Summary: fsp library
5c0cf8eb 6Summary(pl.UTF-8): Biblioteka fsp
6935743f 7Name: fsplib
2010fe92 8Version: 0.8
6935743f 9Release: 1
e1d54c40 10License: BSD-like (see COPYING)
6935743f 11Group: Libraries
12Source0: http://dl.sourceforge.net/fsp/%{name}-%{version}.tar.gz
2010fe92 13# Source0-md5: 3e629fb06c22b029c7ec07e0d7cc7def
6935743f 14URL: http://fsp.sourceforge.net/fsplib.html
e1d54c40 15BuildRequires: autoconf >= 2.59
2192cc75 16BuildRequires: automake
17BuildRequires: libtool
6935743f 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
e1d54c40
JB
21This is C library which support talking with FSP server using FSP v2
22protocol and provides POSIX-like file manipulation interface.
6935743f 23
e1d54c40 24For more information about FSP protocol see
ff8ba1e2 25<http://fsp.sourceforge.net/>.
e1d54c40
JB
26
27For library and API info see http://fsp.sourceforge.net/fsplib.html .
6935743f 28
ba75704d
JR
29%description -l pl.UTF-8
30To jest biblioteka napisana w C, która obsługuje "rozmowę" z serwerem
31FSP przy użyciu wersji 2 protokołu i dostarcza interfejsu operacji na
e1d54c40
JB
32plikach podobnego do POSIX.
33
ba75704d 34Więcej informacji o protokole FSP można znaleźć na
ff8ba1e2 35<http://fsp.sourceforge.net/>.
6935743f 36
ba75704d 37Informacje o bibliotece i API znajdują się na
e1d54c40 38http://fsp.sourceforge.net/fsplib.html .
6935743f 39
40%package devel
41Summary: Header files for FSP library
5c0cf8eb 42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FSP
6935743f 43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
45
46%description devel
47Header files for FSP library.
48
ba75704d
JR
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki FSP.
6935743f 51
52%package static
53Summary: Static FSP library
5c0cf8eb 54Summary(pl.UTF-8): Statyczna biblioteka FSP
6935743f 55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static FSP library.
60
ba75704d 61%description static -l pl.UTF-8
6935743f 62Statyczna biblioteka FSP.
63
64%prep
65%setup -c -q
66
67%build
68autoreconf -i
69%{__libtoolize}
70%{__autoconf}
71%{__automake}
72%configure \
f4b24f37 73 --enable-shared \
74 %{!?with_static_libs:--disable-static}
6935743f 75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
89%files
90%defattr(644,root,root,755)
91%doc AUTHORS ChangeLog COPYING NEWS README TODO
92%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
93
94%files devel
95%defattr(644,root,root,755)
96%attr(755,root,root) %{_libdir}/lib*.so
97%{_libdir}/lib*.la
98%{_includedir}/*
99
f4b24f37 100%if %{with static_libs}
6935743f 101%files static
102%defattr(644,root,root,755)
103%{_libdir}/lib*.a
f4b24f37 104%endif
This page took 0.068634 seconds and 4 git commands to generate.