Group :: Sistema/Bibliotecas
RPM: npth
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: npth
Version: 1.6.0.20.g7e45b50
Release: alt3
Summary: The New GNU Portable Threads library
Group: System/Libraries
License: LGPL-2.1-or-later
Url: https://www.gnupg.org/
Source: npth-%version.tar
Patch1: 0001-ALT-version-is-not-beta.patch
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%description
nPth is a non-preemptive threads implementation using an API very similar
to the one known from GNU Pth. It has been designed as a replacement of
GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
based on the system's standard threads implementation. Thus nPth allows
the use of libraries which are not compatible to GNU Pth.
%package -n libnpth
Group: System/Libraries
Summary: %summary
%description -n libnpth
nPth is a non-preemptive threads implementation using an API very similar
to the one known from GNU Pth. It has been designed as a replacement of
GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
based on the system's standard threads implementation. Thus nPth allows
the use of libraries which are not compatible to GNU Pth.
%package -n libnpth-devel
Group: Development/C
Summary: Development files for npth
Requires: lib%name = %version-%release
%description -n libnpth-devel
This package contains libraries and header files for
developing applications that use npth.
%prep
%setup -n npth-%version
%autopatch -p1
%build
%autoreconf
%configure --disable-static
%make_build
%install
%makeinstall_std
# Manual page is re-used and changed pth-config.1 from libpth-devel package
install -D -pm0644 .rpm/npth-config.1 %buildroot%_man1dir/npth-config.1
%check
make check
%files -n libnpth
%_libdir/libnpth.so.*
%files -n libnpth-devel
%doc AUTHORS NEWS README
%_bindir/npth-config
%_libdir/libnpth.so
%_includedir/npth.h
%_man1dir/npth-config.1*
%_aclocaldir/npth.m4
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.6.0.20.g7e45b50
Release: alt3
Summary: The New GNU Portable Threads library
Group: System/Libraries
License: LGPL-2.1-or-later
Url: https://www.gnupg.org/
Source: npth-%version.tar
Patch1: 0001-ALT-version-is-not-beta.patch
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%description
nPth is a non-preemptive threads implementation using an API very similar
to the one known from GNU Pth. It has been designed as a replacement of
GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
based on the system's standard threads implementation. Thus nPth allows
the use of libraries which are not compatible to GNU Pth.
%package -n libnpth
Group: System/Libraries
Summary: %summary
%description -n libnpth
nPth is a non-preemptive threads implementation using an API very similar
to the one known from GNU Pth. It has been designed as a replacement of
GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
based on the system's standard threads implementation. Thus nPth allows
the use of libraries which are not compatible to GNU Pth.
%package -n libnpth-devel
Group: Development/C
Summary: Development files for npth
Requires: lib%name = %version-%release
%description -n libnpth-devel
This package contains libraries and header files for
developing applications that use npth.
%prep
%setup -n npth-%version
%autopatch -p1
%build
%autoreconf
%configure --disable-static
%make_build
%install
%makeinstall_std
# Manual page is re-used and changed pth-config.1 from libpth-devel package
install -D -pm0644 .rpm/npth-config.1 %buildroot%_man1dir/npth-config.1
%check
make check
%files -n libnpth
%_libdir/libnpth.so.*
%files -n libnpth-devel
%doc AUTHORS NEWS README
%_bindir/npth-config
%_libdir/libnpth.so
%_includedir/npth.h
%_man1dir/npth-config.1*
%_aclocaldir/npth.m4
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui