1 Summary: Flux is a survival-through-structure library
8 Source: ftp://ftp.styx.net/projects/flux/%{name}-%{version}.tar.gz
9 URL: http://projects.simplemente.net/flux/
10 BuildRoot: /tmp/%{name}-%{version}-root
13 Flux is a survival-through-structure library, whose goal is to reduce the
14 complexity of C programming. To this end, it supplies high-level functions
15 for manipulating data and communication with specialized handles, masking
16 typically tedious programming tasks. Common instruction blocks are wrapped
17 in higher-level calls with intuitive names. In short: Do it once, do it
18 right, then forget about it.
20 Abstracting things this way involves speed compromises. In Flux, these
21 should be minimal, and sometimes, when superiour algorithms are easily
22 accessible, efficiency is actually gained.
24 Another important goal is bridging gaps between typical tasks - like
25 parsing, storage, retrieval, buffering and transfer, data structures - like
26 generic tree structures, generic network structures, XML and presentation
27 formats, and protocols - like FluxComm, Unix protocols and IRC. (Note: IRC
28 protocols are hairy and ill-defined. Unification and masking is particularly
32 Summary: Header files and development documentation for flux
33 Summary(pl): Pliki nag³ówkowe i dokumentacja do flux
34 Group: Development/Libraries
35 Group(pl): Programowanie/Biblioteki
36 Requires: %{name} = %{version}
39 Header files and development documentation for flux.
41 %description -l pl devel
42 Pliki nag³ówkowe i dokumentacja do biblioteki flux.
45 Summary: Static flux libraries
46 Summary(pl): Biblioteki statyczne flux
47 Group: Development/Libraries
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name}-devel = %{version}
52 Static flux libraries.
54 %description -l pl static
55 Biblioteki statyczne flux.
61 LDFLAGS="-s"; export LDFLAGS
66 rm -rf $RPM_BUILD_ROOT
68 make install DESTDIR=$RPM_BUILD_ROOT
70 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
72 gzip -9nf AUTHORS README NEWS TODO
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %attr(755,root,root) %{_libdir}/lib*.la
94 %attr(644,root,root) %{_libdir}/lib*.a