1 Summary: A minimal & complete Object-Oriented (OO) thread interface
2 Summary(pl): Minimalny ale kompletny interfejs w±tków w programowaniu OO
8 # version from OSG_OP_OT-0.9.6-2.tar.gz needed to build new OpenSceneGraph
9 # Source0: http://dl.sourceforge.net/openthreads/%{name}-v%{version}dev%{devel}-osg0.9.5.tar.gz
10 #Source0: OpenThreads-v%{version}dev%{devel}.tar.gz
11 Source0: http://dl.sourceforge.net/openscenegraph/%{name}-%{version}.tar.gz
12 # Source0-md5: a1d792ae4ce38590ff498e0c7d9ad939
14 Patch0: %{name}-soname.patch
15 URL: http://openthreads.sourceforge.net/
16 BuildRequires: libstdc++-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This library is intended to provide a minimal & complete
21 Object-Oriented (OO) thread interface for C++ programmers. It is
22 loosely modeled on the Java thread API, and the POSIX Threads
26 Biblioteka jest przeznaczona do udostêpniania minimalnego ale pe³nego
27 interfejsu obiektowo zorientowanych (OO) w±tków dla programistów C++.
28 Bazuje na modelu API w±tków w Javie oraz na standardzie w±tków POSIX.
31 Summary: OpenThreads devel files
32 Summary(pl): Biblioteki programistyczne OpenThreads
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: libstdc++-devel
38 OpenThreads devel files.
40 %description devel -l pl
41 Biblioteki programistyczne OpenThreads.
49 CXX="%{__cxx} %{rpmcflags} -fPIC"
52 rm -rf $RPM_BUILD_ROOT
55 INST_LOCATION=$RPM_BUILD_ROOT%{_prefix}
56 if [ "%{_libdir}" == "%{_prefix}/lib64" ]; then
57 mv $RPM_BUILD_ROOT{%{_prefix}/lib,%{_libdir}}
59 ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
60 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
61 install %{SOURCE1} $RPM_BUILD_ROOT%{_pkgconfigdir}/openthreads.pc
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*
74 %defattr(644,root,root,755)
75 %doc AUTHORS.txt ChangeLog README.txt TODO.txt
76 %attr(755,root,root) %{_libdir}/lib%{name}.so
77 %{_includedir}/%{name}
78 %{_pkgconfigdir}/openthreads.pc