Blame SPECS/chan.spec

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