Blame SPECS/npth.spec

55052b
Name:           npth
55052b
Version:        1.5
55052b
Release:        4%{?dist}
55052b
Summary:        The New GNU Portable Threads library
55052b
License:        LGPLv2+
55052b
URL:            http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
55052b
Source:         https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
55052b
#Source1:        ftp://ftp.gnupg.org/gcrypt/npth/npth-%{version}.tar.bz2.sig
55052b
# Manual page is re-used and changed pth-config.1 from pth-devel package
55052b
Source2:        npth-config.1
55052b
55052b
BuildRequires:  make
55052b
BuildRequires:  gcc
55052b
55052b
%description
55052b
nPth is a non-preemptive threads implementation using an API very similar
55052b
to the one known from GNU Pth. It has been designed as a replacement of
55052b
GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
55052b
based on the system's standard threads implementation. Thus nPth allows
55052b
the use of libraries which are not compatible to GNU Pth.
55052b
55052b
%package        devel
55052b
Summary:        Development files for %{name}
55052b
Requires:       %{name}%{?_isa} = %{version}-%{release}
55052b
55052b
%description    devel
55052b
This package contains libraries and header files for
55052b
developing applications that use %{name}.
55052b
55052b
%prep
55052b
%autosetup
55052b
55052b
%build
55052b
%configure --disable-static
55052b
%make_build
55052b
55052b
%install
55052b
%make_install INSTALL='install -p'
55052b
55052b
mkdir -p %{buildroot}%{_mandir}/man1/
55052b
install -pm0644 %{S:2} %{buildroot}%{_mandir}/man1/
55052b
55052b
find %{buildroot} -name '*.la' -delete -print
55052b
55052b
%check
55052b
make check
55052b
55052b
%ldconfig_scriptlets
55052b
55052b
%files
55052b
%license COPYING.LIB
55052b
%{_libdir}/lib%{name}.so.*
55052b
55052b
%files devel
55052b
%doc AUTHORS ChangeLog NEWS README
55052b
%{_bindir}/%{name}-config
55052b
%{_libdir}/lib%{name}.so
55052b
%{_includedir}/%{name}.h
55052b
%{_mandir}/man1/%{name}-config.1*
55052b
%{_datadir}/aclocal/%{name}.m4
55052b
55052b
%changelog
55052b
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5-4
55052b
- Switch to %%ldconfig_scriptlets
55052b
55052b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
55052b
55052b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
55052b
55052b
* Thu Jun 08 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.5-1
55052b
- Update to 1.5
55052b
55052b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
55052b
55052b
* Tue Nov 22 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.3-1
55052b
- Update to 1.3
55052b
55052b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
55052b
55052b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
55052b
55052b
* Thu Apr 16 2015 Christopher Meng <rpm@cicku.me> - 1.2-1
55052b
- Update to 1.2
55052b
55052b
* Sat Nov 15 2014 Christopher Meng <rpm@cicku.me> - 1.1-1
55052b
- Update to 1.1
55052b
55052b
* Sat Sep 20 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
55052b
- Update to 1.0
55052b
55052b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
55052b
55052b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
55052b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
55052b
55052b
* Thu Mar  7 2013 Milan Bartos <mbartos@redhat.com> - 0.91-5
55052b
- fixed license tag
55052b
55052b
* Wed Mar  6 2013 Milan Bartos <mbartos@redhat.com> - 0.91-4
55052b
- fixed license tag
55052b
- added comment to license and manual page
55052b
- removed defattr
55052b
55052b
* Tue Mar  5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-3
55052b
- added npth-config man page
55052b
55052b
* Tue Mar  5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-2
55052b
- fixed license tag
55052b
- added COPYING.LESSER to package
55052b
55052b
* Tue Feb 26 2013 Milan Bartos <mbartos@redhat.com> - 0.91-1
55052b
- initial port
55052b