Blame SPECS/openpgm.spec

9abaa2
Name:          openpgm
9abaa2
Version:       5.2.122
9abaa2
%global name_alias        pgm
9abaa2
%global version_main      5.2
9abaa2
%global version_dash_main 5-2
9abaa2
%global version_dash      %{version_dash_main}-122
9abaa2
Release:       36%{?dist}
9abaa2
Summary:       An implementation of the PGM reliable multicast protocol
9abaa2
9abaa2
License:       LGPL-2.1-or-later
9abaa2
# New URL is https://github.com/steve-o/openpgm
9abaa2
# The files are now on https://code.google.com/archive/p/openpgm/downloads
9abaa2
URL:           https://github.com/steve-o/%{name}
9abaa2
Source0:       https://github.com/steve-o/%{name}/archive/release-%{version_dash}.tar.gz#/%{name}-%{version}.tar.gz
9abaa2
9abaa2
# All the following patches have been submitted upstream
9abaa2
# as a merge request: https://github.com/steve-o/openpgm/pull/64
9abaa2
Patch2:        openpgm-02-c-func.patch
9abaa2
Patch3:        openpgm-03-pkgconfig.patch
9abaa2
Patch4:        openpgm-04-py-version-gen.patch
9abaa2
Patch5:        openpgm-05-fix-setgid.patch
9abaa2
Patch6:        openpgm-configure-c99.patch
9abaa2
Patch7:        openpgm-c99.patch
9abaa2
9abaa2
BuildRequires: make
9abaa2
BuildRequires: libtool automake autoconf
9abaa2
BuildRequires: gcc
9abaa2
BuildRequires: python3
9abaa2
BuildRequires: dos2unix
9abaa2
BuildRequires: perl-interpreter
9abaa2
9abaa2
9abaa2
%description
9abaa2
OpenPGM is an open source implementation of the Pragmatic General
9abaa2
Multicast (PGM) specification in RFC 3208.
9abaa2
9abaa2
9abaa2
%package devel
9abaa2
Summary:       Development files for openpgm
9abaa2
Requires:      %{name}%{?_isa} = %{version}-%{release}
9abaa2
9abaa2
%description devel
9abaa2
This package contains OpenPGM related development libraries and header files.
9abaa2
9abaa2
9abaa2
%prep
9abaa2
%setup -q -n %{name}-release-%{version_dash}/%{name}/%{name_alias}
9abaa2
%patch -P2 -p3
9abaa2
%patch -P3 -p3
9abaa2
%patch -P4 -p3
9abaa2
%patch -P5 -p3
9abaa2
%patch -P6 -p3
9abaa2
%patch -P7 -p3
9abaa2
dos2unix examples/getopt.c examples/getopt.h
9abaa2
9abaa2
%build
9abaa2
libtoolize --force --copy
9abaa2
aclocal
9abaa2
autoheader
9abaa2
automake --copy --add-missing
9abaa2
autoconf
9abaa2
%configure
9abaa2
9abaa2
# This package has a configure test which uses ASMs, but does not link the
9abaa2
# resultant .o files.  As such the ASM test is always successful, even on
9abaa2
# architectures were the ASM is not valid when compiling with LTO.
9abaa2
#
9abaa2
# -ffat-lto-objects is sufficient to address this issue.  It is the default
9abaa2
# for F33, but is expected to only be enabled for packages that need it in
9abaa2
# F34, so we use it here explicitly
9abaa2
%define _lto_cflags -flto=auto -ffat-lto-objects
9abaa2
9abaa2
%make_build
9abaa2
9abaa2
%install
9abaa2
%make_install
9abaa2
9abaa2
# Remove the static libraries and the temporary libtool artifacts
9abaa2
rm -f %{buildroot}%{_libdir}/lib%{name_alias}.{a,la}
9abaa2
9abaa2
# Move the header files into /usr/include
9abaa2
mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{buildroot}%{_includedir}/
9abaa2
9abaa2
%files
9abaa2
%doc COPYING LICENSE
9abaa2
%{_libdir}/*.so.*
9abaa2
9abaa2
9abaa2
%files devel
9abaa2
%doc examples/
9abaa2
%{_includedir}/*
9abaa2
%{_libdir}/*.so
9abaa2
%{_libdir}/pkgconfig/openpgm-5.2.pc
9abaa2
9abaa2
9abaa2
%changelog
9abaa2
* Mon Sep  2 2024 Miroslav Suchý <msuchy@redhat.com> - 5.2.122-36
9abaa2
- convert license to SPDX
9abaa2
9abaa2
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-35
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
9abaa2
9abaa2
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-34
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9abaa2
9abaa2
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-33
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9abaa2
9abaa2
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-32
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
9abaa2
9abaa2
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-31
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
9abaa2
9abaa2
* Tue Jan  3 2023 Florian Weimer <fweimer@redhat.com> - 5.2.122-30
9abaa2
- C99 compatibility fixes
9abaa2
9abaa2
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-29
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9abaa2
9abaa2
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-28
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
9abaa2
9abaa2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-27
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9abaa2
9abaa2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-26
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9abaa2
9abaa2
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 5.2.122-25
9abaa2
- Re-enable LTO
9abaa2
9abaa2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-24
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9abaa2
9abaa2
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 5.2.122-23
9abaa2
- Disable LTO
9abaa2
9abaa2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-22
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9abaa2
9abaa2
* Sun Nov 10 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-21
9abaa2
- The header files are now installed directly in /usr/include
9abaa2
9abaa2
* Wed Oct 30 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-20
9abaa2
- Suppressed the dependency on SCons (as autotools are used instead)
9abaa2
- Fixed the generated version minor number (from 127 to 122)
9abaa2
- Fixed the target include directory
9abaa2
9abaa2
* Wed Oct 30 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-19
9abaa2
- Merged with the EPEL 8 version, i.e., with modernized way of packaging
9abaa2
9abaa2
* Sat Oct 26 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-18
9abaa2
- Updated the source URL and Python to Python 3
9abaa2
9abaa2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-17
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9abaa2
9abaa2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-16
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9abaa2
9abaa2
* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.2.122-15
9abaa2
- Remove non-existent directory from pkgconfig file
9abaa2
9abaa2
* Wed Sep 19 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 5.2.122-14
9abaa2
- Use python2 explicitly (#1605329).
9abaa2
- Remove unnecessary calls to ldconfig.
9abaa2
9abaa2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-13
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9abaa2
9abaa2
* Mon Mar 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.2.122-12
9abaa2
- Update Python 2 dependency declarations to new packaging standards
9abaa2
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9abaa2
9abaa2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-11
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9abaa2
9abaa2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-10
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9abaa2
9abaa2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-9
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9abaa2
9abaa2
* Sat Feb 18 2017 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 5.2.122-8
9abaa2
- Add perl to the build requirements list (required by galois_generator.pl)
9abaa2
9abaa2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-7
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9abaa2
9abaa2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-6
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9abaa2
9abaa2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.122-5
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9abaa2
9abaa2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.122-4
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9abaa2
9abaa2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.122-3
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9abaa2
9abaa2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.122-2
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9abaa2
9abaa2
* Wed May 15 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.2.122-1
9abaa2
- Update to 5.2.122
9abaa2
9abaa2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.118-4
9abaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9abaa2
9abaa2
* Fri Dec 21 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.1.118-3
9abaa2
- Build requires python (no longer available by default in F18+ buildroots)
9abaa2
9abaa2
* Fri Dec 21 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.1.118-2
9abaa2
- Renamed the tarball (replaced '%7E' by '~')
9abaa2
- Removed the defattr lines
9abaa2
9abaa2
* Wed Dec 19 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.1.118-1
9abaa2
- Change license from LGPLv2.1 to LGPLv2 (867182#c13)
9abaa2
9abaa2
* Tue Dec 18 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.1.118-0
9abaa2
- First Fedora specfile
9abaa2
9abaa2
# vim:set ai ts=4 sw=4 sts=4 et: