packages: npth/npth.spec (NEW)=?UTF-8?Q?=20?=- new

qboosh qboosh at pld-linux.org
Thu Jun 14 17:20:34 CEST 2012


Author: qboosh                       Date: Thu Jun 14 15:20:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/npth:
   npth.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/npth/npth.spec
diff -u /dev/null packages/npth/npth.spec:1.1
--- /dev/null	Thu Jun 14 17:20:34 2012
+++ packages/npth/npth.spec	Thu Jun 14 17:20:29 2012
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	nPth - New GNU Portable Threads Library
+Summary(pl.UTF-8):	nPth - nowa przenośna biblioteka wątków GNU
+Name:		npth
+Version:	0.90
+Release:	1
+License:	LGPL v3+ or GPL v2+
+Group:		Libraries
+Source0:	ftp://ftp.gnupg.org/gcrypt/npth/%{name}-%{version}.tar.bz2
+# Source0-md5:	701665669b371385a92817ff1f9215ca
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+nPth is the New GNU Portable Threads Library. This is a library to
+provide the GNU Pth API and thus a non-preemptive threads
+implementation.
+
+In contrast to GNU Pth it is based on the system's standard threads
+implementation. This allows the use of libraries which are not
+compatible to GNU Pth. Experience with a Windows Pth emulation showed
+that this is a solid way to provide a co-routine based framework.
+
+%description -l pl.UTF-8
+nPth (New GNU Portable Threads Library) to nowa przenośna biblioteka
+wątków GNU. Jej celem jest dostarczenie API GNU Pth, a tym samym
+implementacji niewywłaszczalnych wątków.
+
+W przeciwieństwie do GNU Pth jest oparta na standardowej systemowej
+implementacji wątków. Pozwala to na używanie bibliotek
+niekompatybilnych z GNU Pth (doświadczenia z emulacją Pth na Windows
+pokazały, że to jest solidna metoda zapewnienia szkieletu opartego na
+korutynach).
+
+%package devel
+Summary:	Header files for nPth library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki nPth
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for nPth library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki nPth.
+
+%package static
+Summary:	Static nPth library
+Summary(pl.UTF-8):	Statyczna biblioteka nPth
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static nPth library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka nPth.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	%{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libnpth.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnpth.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/npth-config
+%attr(755,root,root) %{_libdir}/libnpth.so
+%{_libdir}/libnpth.la
+%{_includedir}/npth.h
+%{_aclocaldir}/npth.m4
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnpth.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/06/14 15:20:29  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list