1 Summary: FireString - string handling library
2 Summary(pl.UTF-8): FireString - biblioteka obsługująca łańcuchy znakowe
8 Source0: http://messagewall.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: f5d1b6fedbbd4137483efb3864d772b6
10 URL: http://messagewall.org/firestring.html
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 libfirestring is a string handling library that provides maximum
15 length aware string handling functions to programs. Several functions
16 provide saner interfaces than the standard libc functions.
17 libfirestring also provides functions that are in most libc's but not
18 provided for by POSIX, enabling programmers to write POSIX-compliant
19 code while using such safe functions (strcasecmp, strncasecmp,
22 %description -l pl.UTF-8
23 libfirestring to biblioteka obsługująca łańcuchy znakowe dostarczająca
24 funkcje obsługujące łańcuchy z kontrolą maksymalnej długości. Kilka
25 funkcji ma bardziej rozsądne interfejsy niż standardowe funkcje libc.
26 libfirestring dostarcza także funkcje, które są w większości libc, ale
27 nie są wymagane przez POSIX, co pozwala programistom pisać zgodny z
28 POSIX kod z użyciem tych bezpiecznych funkcji (strcasecmp,
29 strncasecmp, snprintf).
32 Summary: Header files for firestring library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki firestring
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header files for firestring library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki firestring.
44 Summary: Static firestring library
45 Summary(pl.UTF-8): Statyczna biblioteka firestring
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static firestring library.
52 %description static -l pl.UTF-8
53 Statyczna biblioteka firestring.
59 # it's FireMake, not autoconf-generated configure
61 export CFLAGS="%{rpmcflags}"
65 SHAREDFLAGS="-shared -Wl,-soname=libfirestring.so"
68 rm -rf $RPM_BUILD_ROOT
71 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
72 MANDIR=$RPM_BUILD_ROOT%{_mandir} \
73 INSTALL_USER="`id -u`" \
74 INSTALL_GROUP="`id -g`"
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libfirestring.so
88 %defattr(644,root,root,755)
89 %{_includedir}/firestring.h
93 %defattr(644,root,root,755)
94 %{_libdir}/libfirestring.a