1 # This is a template. The dist target uses it to create the real file.
2 Summary: NPTH - the new GNU Portable Threads Library
6 URL: http://www.gnupg.org/
7 Source: ftp://ftp.gnupg.org/gcrypt/alpha
8 Group: Development/Libraries
9 Copyright: LGPLv3+/GPLv2+
10 BuildRoot: %{_tmppath}/%{name}-%{version}
12 Prereq: /sbin/ldconfig /sbin/install-info
15 NPTH is a cooperative thread library.
21 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
22 ./configure --prefix=/usr
26 rm -fr $RPM_BUILD_ROOT
27 mkdir -p $RPM_BUILD_ROOT
28 make install prefix=$RPM_BUILD_ROOT/usr
31 rm -fr $RPM_BUILD_ROOT
44 %doc COPYING COPYING.LESSER AUTHORS README INSTALL NEWS ChangeLog TODO THANKS
45 %attr(0755,root,root) %{_bindir}/npth-config
46 %attr(0755,root,root) %{_libdir}/*npth.so*
47 %attr(0755,root,root) %{_libdir}/*npth.la
48 %attr(0644,root,root) %{_libdir}/*npth.a
50 %{_datadir}/aclocal/npth.m4
53 * Thu Oct 06 2011 Marcus Brinkmann <mb@g10code.com>
54 - initial specfile release for npth.