Group :: Desenvolvimento/C++
RPM: wfc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: wfc
Version: R2211
Release: alt1
Summary: Wire Format Compiler
License: GPLv3+
Group: Development/C++
Url: https://github.com/maierkomor/wfc
Packager: L.A. Kostis <lakostis at altlinux.org>
# https://github.com/maierkomor/wfc/archive/refs/tags/<version>.tar.gz
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires: gcc-c++ mercurial flex xxd
%description
Wire Format Compiler (WFC) is a tool that generates C++ code from data
structure descriptions for handling serialization, deserialization and access
to the specified data. The generated code provide an API for accessing the data
with get, set, and clear functions and serializing it to byte stream and
restoring the data structures from a byte stream in memory.
%prep
%setup
%patch -p1
%build
%autoreconf
%configure
# smp incompatible build
make
%install
make install PREFIX=%buildroot%_prefix
%files
%doc LICENSE README.md examples
%_bindir/%name
%_includedir/%{name}
%_datadir/%{name}
%_man1dir/%{name}*
%changelog
…
Todas as alterações você pod ver aqui
Version: R2211
Release: alt1
Summary: Wire Format Compiler
License: GPLv3+
Group: Development/C++
Url: https://github.com/maierkomor/wfc
Packager: L.A. Kostis <lakostis at altlinux.org>
# https://github.com/maierkomor/wfc/archive/refs/tags/<version>.tar.gz
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires: gcc-c++ mercurial flex xxd
%description
Wire Format Compiler (WFC) is a tool that generates C++ code from data
structure descriptions for handling serialization, deserialization and access
to the specified data. The generated code provide an API for accessing the data
with get, set, and clear functions and serializing it to byte stream and
restoring the data structures from a byte stream in memory.
%prep
%setup
%patch -p1
%build
%autoreconf
%configure
# smp incompatible build
make
%install
make install PREFIX=%buildroot%_prefix
%files
%doc LICENSE README.md examples
%_bindir/%name
%_includedir/%{name}
%_datadir/%{name}
%_man1dir/%{name}*
%changelog
…
Todas as alterações você pod ver aqui