]> git.pld-linux.org Git - packages/fsplib.git/blobdiff - fsplib.spec
- CVE notes
[packages/fsplib.git] / fsplib.spec
index b347500d70d456840605d6e5380c1e7b9180a5fd..6841eb9f36e4e9aca904cbb9cfe4069b91c86e2a 100644 (file)
@@ -1,55 +1,64 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       fsp library
-Summary(pl):   biblioteka fsp
+Summary(pl.UTF-8):     Biblioteka fsp
 Name:          fsplib
-Version:       0.6
+Version:       0.9
 Release:       1
-License:       see COPYING
+License:       BSD-like (see COPYING)
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/fsp/%{name}-%{version}.tar.gz
-# Source0-md5: 18f837120b5a185840dd16555728dc30
+# Source0-md5: e6f2e5a9cf9a893625b80ce7255c0d8c
 URL:           http://fsp.sourceforge.net/fsplib.html
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This is C library which support talking with FSP server using FSP v2 protocol
-and provides posix-like file manipulation interface.
+This is C library which support talking with FSP server using FSP v2
+protocol and provides POSIX-like file manipulation interface.
 
-For more information about FSP protocol see http://fsp.sourceforge.net/
-For library and API info see http://fsp.sourceforge.net/fsplib.html
+For more information about FSP protocol see
+<http://fsp.sourceforge.net/>.
 
-%description -l pl
-To jest biblioteka napisana w C, która obs³uguje "rozmowê" z serwerem FSP
-u¿ywaj±c wersji 2 protoko³u i dostarcza zgodnego z POSIX interfejsu.
+For library and API info see http://fsp.sourceforge.net/fsplib.html .
 
-Wiêcej informacji o protokole FSP znajdziesz na http://fsp.sourceforge.net/.
-Informacje o bibliotece i API znajduj± siê na
-http://fsp.sourceforge.net/fsplib.html.
+%description -l pl.UTF-8
+To jest biblioteka napisana w C, która obsługuje "rozmowę" z serwerem
+FSP przy użyciu wersji 2 protokołu i dostarcza interfejsu operacji na
+plikach podobnego do POSIX.
+
+Więcej informacji o protokole FSP można znaleźć na
+<http://fsp.sourceforge.net/>.
+
+Informacje o bibliotece i API znajdują się na
+http://fsp.sourceforge.net/fsplib.html .
 
 %package devel
 Summary:       Header files for FSP library
-Summary(pl):   Pliki nag³ówkowe biblioteki FSP
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki FSP
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Header files for FSP library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki FSP.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FSP.
 
 %package static
 Summary:       Static FSP library
-Summary(pl):   Statyczna biblioteka FSP
+Summary(pl.UTF-8):     Statyczna biblioteka FSP
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static FSP library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka FSP.
 
 %prep
@@ -61,7 +70,8 @@ autoreconf -i
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-shared
+       --enable-shared \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -87,6 +97,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.049942 seconds and 4 git commands to generate.