1 Summary: Platform-independent, multi-threading and synchronization library for C++
2 Summary(pl.UTF-8): Wieloplatformowa biblioteka C++ do obsługi wątków i synchronizacji
8 Source0: http://downloads.sourceforge.net/zthread/%{name}-%{version}.tar.gz
9 # Source0-md5: f2782d19b8ed6f1ff2ab8824dd4ba48e
10 Patch0: %{name}-c++.patch
11 Patch1: %{name}-destdir.patch
12 Patch2: %{name}-am.patch
13 URL: http://zthread.sourceforge.net/
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The ZThread package is an advanced object-oriented, cross-platform,
22 C++ threading and synchronization library that has been designed and
23 implemented by the author and released under the MIT license. It
24 provides a high level abstraction of the native threading mechanisms
25 to offer a great deal of flexibility and control.
27 %description -l pl.UTF-8
28 ZThread to zaawansowana, zorientowana obiektowo, wieloplatformowa
29 biblioteka C++ do wątkow i synchronizacji zaprojektowana i
30 zaimplementowana, a następnie wydana przez autora na licencji MIT.
31 Udostępnia wysokopoziomową abstrakcję natywnych mechanizmów wątków,
32 oferując dużą elastyczność i kontrolę.
35 Summary: Header files for ZThread library
36 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ZThread
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: libstdc++-devel
42 Header files for ZThread library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki ZThread.
48 Summary: Static ZThread library
49 Summary(pl.UTF-8): Statyczna biblioteka ZThread
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Static ZThread library.
56 %description static -l pl.UTF-8
57 Statyczna biblioteka ZThread.
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 COPYING ChangeLog NEWS README TODO
89 %attr(755,root,root) %{_libdir}/libZThread-2.3.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libZThread-2.3.so.2
93 %defattr(644,root,root,755)
94 %doc doc/*.{html,js,css}
95 %attr(755,root,root) %{_bindir}/zthread-config
96 %attr(755,root,root) %{_libdir}/libZThread.so
97 %{_libdir}/libZThread.la
98 %{_includedir}/zthread
99 %{_aclocaldir}/pthread.m4
100 %{_aclocaldir}/zthread.m4
103 %defattr(644,root,root,755)
104 %{_libdir}/libZThread.a