Blame SPECS/chan.spec

858df7
Name: chan
858df7
Version: 0.0.4
858df7
Release: 3%{?dist}
858df7
Summary: Pure C implementation of Go channels
858df7
License: ASL 2.0
858df7
URL: https://github.com/tylertreat/%{name}
858df7
Source0: https://github.com/tylertreat/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
858df7
858df7
BuildRequires: gcc autoconf automake libtool
858df7
#Requires:       
858df7
858df7
%description
858df7
Pure C implementation of Go channels. Unbuffered, buffered
858df7
and closing channels are available.
858df7
858df7
%package devel
858df7
Summary: Development files for %{name}
858df7
Requires: %{name}%{?_isa} = %{version}-%{release}
858df7
858df7
%description devel
858df7
The %{name}-devel package contains libraries and header files for
858df7
developing applications that use %{name}.
858df7
858df7
858df7
%prep
858df7
%autosetup -n %{name}-%{version}
858df7
858df7
858df7
%build
858df7
./autogen.sh
858df7
%configure --disable-static
858df7
%make_build
858df7
858df7
%check
858df7
%make_build src/chan_test
858df7
./src/chan_test
858df7
858df7
%install
858df7
rm -rf $RPM_BUILD_ROOT
858df7
%make_install
858df7
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
858df7
858df7
%ldconfig_post
858df7
858df7
%ldconfig_postun
858df7
858df7
858df7
%files
858df7
%license LICENSE
858df7
%doc README.md
858df7
%{_libdir}/lib%{name}.so.0.0.0
858df7
%{_libdir}/lib%{name}.so.0
858df7
858df7
%files devel
858df7
%dir %{_includedir}/%{name}
858df7
%{_includedir}/%{name}/queue.h
858df7
%{_includedir}/%{name}/%{name}.h
858df7
%{_libdir}/lib%{name}.so
858df7
858df7
858df7
%changelog
858df7
* Wed May 20 2020 Mark Goodwin <mgoodwin@redhat.com> - 0.0.4-3
858df7
- Initial version for RHEL-8, rebuild for CI/gating
858df7
858df7
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-2
858df7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
858df7
858df7
* Wed Aug 14 2019 Lukáš Zapletal 0.0.4-1
858df7
- Initial package version