Group :: Rede/Outros
RPM: I2util
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
Name: I2util
Version: 4.3.4
Release: alt2
Summary: I2 Utility Library & Tools
License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause
Group: Networking/Other
URL: http://software.internet2.edu
# git: https://github.com/perfsonar/i2util
Source0: %name-%version.tar
Source1: copyright
%package tools
Summary: I2 Utility Tools
Group: Networking/Other
%package -n lib%name-devel
Summary: I2 Utility Library
Group: Development/C
%global common_desc I2utils is a small support library with a set of command line tools\
needed by several software projects from Internet2, most notably bwctl.\
\
I2 Utility library currently contains:\
* error logging\
* command-line parsing\
* threading\
* random number support\
* hash table support\
\
The error logging and command-line parsing are taken from a utility library\
that is distributed with the "volsh" code from UCAR.\
\
http://www.scd.ucar.edu/vets/vg/Software/volsh
%description
%common_desc
%description tools
%common_desc
This package contains the command line tools.
%description -n lib%name-devel
%common_desc
This is the development package which contains headers files and the
static %name library.
%prep
%setup -q
cp %SOURCE1 ./
%build
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
%autoreconf
%configure
%make_build
%install
%makeinstall
%files tools
# LICENSE has disappeared:
#%doc Changes LICENSE README
# instead, we put the Debian copyright file:
%doc copyright
# The other files are mostly like in Debian:
%doc README
%{_bindir}/*
%{_mandir}/man1/*
%files -n lib%name-devel
%doc copyright
# The other files are mostly like in Debian:
%doc README
%{_libdir}/lib%name.a
%{_includedir}/*
%changelog
…
Todas as alterações você pod ver aqui
Name: I2util
Version: 4.3.4
Release: alt2
Summary: I2 Utility Library & Tools
License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause
Group: Networking/Other
URL: http://software.internet2.edu
# git: https://github.com/perfsonar/i2util
Source0: %name-%version.tar
Source1: copyright
%package tools
Summary: I2 Utility Tools
Group: Networking/Other
%package -n lib%name-devel
Summary: I2 Utility Library
Group: Development/C
%global common_desc I2utils is a small support library with a set of command line tools\
needed by several software projects from Internet2, most notably bwctl.\
\
I2 Utility library currently contains:\
* error logging\
* command-line parsing\
* threading\
* random number support\
* hash table support\
\
The error logging and command-line parsing are taken from a utility library\
that is distributed with the "volsh" code from UCAR.\
\
http://www.scd.ucar.edu/vets/vg/Software/volsh
%description
%common_desc
%description tools
%common_desc
This package contains the command line tools.
%description -n lib%name-devel
%common_desc
This is the development package which contains headers files and the
static %name library.
%prep
%setup -q
cp %SOURCE1 ./
%build
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
%autoreconf
%configure
%make_build
%install
%makeinstall
%files tools
# LICENSE has disappeared:
#%doc Changes LICENSE README
# instead, we put the Debian copyright file:
%doc copyright
# The other files are mostly like in Debian:
%doc README
%{_bindir}/*
%{_mandir}/man1/*
%files -n lib%name-devel
%doc copyright
# The other files are mostly like in Debian:
%doc README
%{_libdir}/lib%name.a
%{_includedir}/*
%changelog
…
Todas as alterações você pod ver aqui