## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 15; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global realname ebloom Name: erlang-%{realname} Version: 2.1.0 Release: %autorelease Summary: A NIF wrapper around a basic bloom filter # c_src/bloom_filter.hpp and c_src/serialyzer.hpp are licensed under CPL # and the rest of the sources are licensed under ASL 2.0 License: Apache-2.0 AND CPL-1.0 URL: https://github.com/basho/%{realname} VCS: git:%{url}.git Source0: %{url}/archive/%{version}/%{realname}-%{version}.tar.gz BuildRequires: erlang-rebar3 BuildRequires: gcc-c++ %description A NIF wrapper around a basic bloom filter. %prep %autosetup -p1 -n %{realname}-%{version} rm -f rebar.config %build %{erlang3_compile} # FIXME we don't have a port compiler plugin for rebar3 yet mkdir -p ./priv g++ c_src/ebloom_nifs.cpp $CFLAGS -fPIC -c -I%{_libdir}/erlang/usr/include -o c_src/ebloom_nifs.o g++ c_src/ebloom_nifs.o $LDFLAGS -shared -L%{_libdir}/erlang/usr/lib -lei -o priv/ebloom_nifs.so %install %{erlang3_install} %check %{erlang3_test} %files %{erlang_appdir}/ %changelog ## START: Generated by rpmautospec * Tue Jul 23 2024 Peter Lemenkov - 2.1.0-15 - Use Rebar3 * Wed Jul 17 2024 Fedora Release Engineering - 2.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Apr 19 2024 Peter Lemenkov - 2.1.0-13 - Rebuild with a fixed Erlang macros * Wed Apr 17 2024 Peter Lemenkov - 2.1.0-12 - Switch to SPDX macros * Wed Jan 24 2024 Fedora Release Engineering - 2.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 2.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Peter Lemenkov - 2.1.0-5 - Rebuild for Erlang 25 * Thu Jan 20 2022 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 2 2020 Peter Lemenkov - 2.1.0-1 - Ver. 2.1.0 * Sat Aug 01 2020 Fedora Release Engineering - 2.0.0-21 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.0.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 2.0.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 27 2019 Peter Lemenkov - 2.0.0-18 - Rebuild for Erlang 22 * Wed Jul 24 2019 Fedora Release Engineering - 2.0.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 21 2019 Peter Lemenkov - 2.0.0-16 - Rebuild for Erlang 21 * Thu Jan 31 2019 Fedora Release Engineering - 2.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 2.0.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 21 2018 Peter Lemenkov - 2.0.0-13 - Rebuild for Erlang 20 (with proper builddeps) * Fri Feb 23 2018 Peter Lemenkov - 2.0.0-12 - Rebuild for Erlang 20 * Wed Feb 07 2018 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Aug 07 2016 Igor Gnatenko - 2.0.0-7 - Rebuild for Erlang 19 * Fri Apr 15 2016 Peter Lemenkov - 2.0.0-6 - Drop unneeded macro * Wed Mar 30 2016 Peter Lemenkov - 2.0.0-5 - Rebuild with Erlang 18.3 * Wed Feb 03 2016 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.0.0-2 - Rebuilt for GCC 5 C++11 ABI change * Tue Nov 04 2014 Peter Lemenkov - 2.0.0-1 - Ver. 2.0.0 (just a version bump - no API/ABI changes) - Rebuild with Erlang 17.3.3 * Thu Aug 28 2014 Peter Lemenkov - 1.1.2-6 - Rebuild with Erlang 17.2.1 * Sat Aug 16 2014 Fedora Release Engineering - 1.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jul 12 2014 Ville Skyttä - 1.1.2-4 - Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely * Sat Jun 07 2014 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Mar 10 2013 Peter Lemenkov - 1.1.2-1 - Ver. 1.1.2 * Wed Feb 13 2013 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 15 2012 Peter Lemenkov - 1.1.1-1 - Ver. 1.1.1 * Fri Jan 13 2012 Fedora Release Engineering - 1.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jan 22 2011 Peter Lemenkov - 1.0.2-4 - Pass proper cxxflags to the C++ compiler (rhbz #669722) too * Fri Jan 21 2011 Peter Lemenkov - 1.0.2-3 - Pass proper cflags to the C compiler (rhbz #669722) * Tue Jan 11 2011 Peter Lemenkov - 1.0.2-2 - Filtered out NIF library from Provides * Fri Nov 12 2010 Peter Lemenkov - 1.0.2-1 - Initial build ## END: Generated by rpmautospec