1 %bcond_without static_libs # don't build static library
3 Summary(pl): Biblioteka fsp
7 License: BSD-like (see COPYING)
9 Source0: http://dl.sourceforge.net/fsp/%{name}-%{version}.tar.gz
10 # Source0-md5: 18f837120b5a185840dd16555728dc30
11 URL: http://fsp.sourceforge.net/fsplib.html
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This is C library which support talking with FSP server using FSP v2
19 protocol and provides POSIX-like file manipulation interface.
21 For more information about FSP protocol see
22 <http://fsp.sourceforge.net/>.
24 For library and API info see http://fsp.sourceforge.net/fsplib.html .
27 To jest biblioteka napisana w C, która obs³uguje "rozmowê" z serwerem
28 FSP przy u¿yciu wersji 2 protoko³u i dostarcza interfejsu operacji na
29 plikach podobnego do POSIX.
31 Wiêcej informacji o protokole FSP mo¿na znale¼æ na
32 <http://fsp.sourceforge.net/>.
34 Informacje o bibliotece i API znajduj± siê na
35 http://fsp.sourceforge.net/fsplib.html .
38 Summary: Header files for FSP library
39 Summary(pl): Pliki nag³ówkowe biblioteki FSP
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Header files for FSP library.
46 %description devel -l pl
47 Pliki nag³ówkowe biblioteki FSP.
50 Summary: Static FSP library
51 Summary(pl): Statyczna biblioteka FSP
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
58 %description static -l pl
59 Statyczna biblioteka FSP.
71 %{!?with_static_libs:--disable-static}
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog COPYING NEWS README TODO
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so
97 %if %{with static_libs}
99 %defattr(644,root,root,755)