1 Summary: SILC Runtime Toolkit
5 License: GPL/BSD dual licensed
6 Group: System Environment/Libraries
7 URL: http://silcnet.org/
8 Source0: srt-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10 BuildRequires: pkgconfig
14 SILC Runtime Toolkit provides a full featured runtime library for
15 applications. It provides the application's main loop, threads, locks,
16 file utilities, file streams, socket streams, TCP and UDP network routines,
17 a finite state machine, lists, a hash table, UTF-8 routines and other string
18 utilities, and many other utility routines. The library works on multiple
22 Group: Development/Libraries
23 Summary: SILC Runtime Toolkit providing headers, libraries and documentation
24 Requires: srt = %{epoch}:%{version}-%{release}
28 SILC Runtime Toolkit development libraries, headers and documentation.
29 SILC Runtime Toolkit provides a full featured runtime library for
30 applications. It provides the application's main loop, threads, locks,
31 file utilities, file streams, socket streams, TCP and UDP network routines,
32 a finite state machine, lists, a hash table, UTF-8 routines and other string
33 utilities, and many other utility routines. The library works on multiple
37 %setup -q -n srt-%{version}
40 %configure --libdir=%{_libdir} \
41 --includedir=%{_includedir}/srt \
42 --docdir=%{_docdir}/%{name}-%{version}
46 rm -rf $RPM_BUILD_ROOT
47 make DESTDIR=$RPM_BUILD_ROOT install
48 chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*
51 rm -rf $RPM_BUILD_ROOT
53 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
58 %defattr(0755, root, root, 0755)
59 %{_libdir}/libsrt-1.2.so*
61 %defattr(0644, root, root, 0755)
62 %doc CHANGES COPYING GPL BSD
65 %defattr(0644, root, root, 0755)
66 %doc CHANGES COPYING GPL BSD doc/runtime
69 %{_libdir}/pkgconfig/srt.pc
71 %{_includedir}/srt/*.h
74 * Sun Jan 27 2008 Pekka Riikonen <priikone@silcnet.org>
75 - Initial version for Fedora