]> git.pld-linux.org Git - packages/ZThread.git/blame - ZThread.spec
- x32 rebuild
[packages/ZThread.git] / ZThread.spec
CommitLineData
294a0690
JB
1Summary: Platform-independent, multi-threading and synchronization library for C++
2Summary(pl.UTF-8): Wieloplatformowa biblioteka C++ do obsługi wątków i synchronizacji
3Name: ZThread
4Version: 2.3.2
be1cc807 5Release: 2
294a0690
JB
6License: MIT
7Group: Libraries
72fafc20 8Source0: http://downloads.sourceforge.net/zthread/%{name}-%{version}.tar.gz
294a0690
JB
9# Source0-md5: f2782d19b8ed6f1ff2ab8824dd4ba48e
10Patch0: %{name}-c++.patch
11Patch1: %{name}-destdir.patch
12Patch2: %{name}-am.patch
13URL: http://zthread.sourceforge.net/
14BuildRequires: autoconf >= 2.50
15BuildRequires: automake
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:1.5
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21The ZThread package is an advanced object-oriented, cross-platform,
22C++ threading and synchronization library that has been designed and
23implemented by the author and released under the MIT license. It
24provides a high level abstraction of the native threading mechanisms
25to offer a great deal of flexibility and control.
26
27%description -l pl.UTF-8
28ZThread to zaawansowana, zorientowana obiektowo, wieloplatformowa
29biblioteka C++ do wątkow i synchronizacji zaprojektowana i
30zaimplementowana, a następnie wydana przez autora na licencji MIT.
31Udostępnia wysokopoziomową abstrakcję natywnych mechanizmów wątków,
32oferując dużą elastyczność i kontrolę.
33
34%package devel
35Summary: Header files for ZThread library
36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ZThread
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Requires: libstdc++-devel
40
41%description devel
42Header files for ZThread library.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki ZThread.
46
47%package static
48Summary: Static ZThread library
49Summary(pl.UTF-8): Statyczna biblioteka ZThread
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static ZThread library.
55
56%description static -l pl.UTF-8
57Statyczna biblioteka ZThread.
58
59%prep
60%setup -q
61%patch0 -p1
62%patch1 -p1
63%patch2 -p1
64
65%build
66%{__libtoolize}
67%{__aclocal} -I share
68%{__autoconf}
69%{__autoheader}
70%{__automake}
71%configure
72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
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
91
92%files devel
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
101
102%files static
103%defattr(644,root,root,755)
104%{_libdir}/libZThread.a
This page took 0.074755 seconds and 4 git commands to generate.