Blame SPECS/chan.spec

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