RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/chan#d72588e57b7c1df586ac063eaebed69225102264
This commit is contained in:
parent
6ae22f103d
commit
1909c34f7b
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/chan-0.0.4.tar.gz
|
69
chan.spec
Normal file
69
chan.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: chan
|
||||
Version: 0.0.4
|
||||
Release: 3%{?dist}
|
||||
Summary: Pure C implementation of Go channels
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/tylertreat/%{name}
|
||||
Source0: https://github.com/tylertreat/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc autoconf automake libtool
|
||||
#Requires:
|
||||
|
||||
%description
|
||||
Pure C implementation of Go channels. Unbuffered, buffered
|
||||
and closing channels are available.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%make_build src/chan_test
|
||||
./src/chan_test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%ldconfig_post
|
||||
|
||||
%ldconfig_postun
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}.so.0.0.0
|
||||
%{_libdir}/lib%{name}.so.0
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/queue.h
|
||||
%{_includedir}/%{name}/%{name}.h
|
||||
%{_libdir}/lib%{name}.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Aug 14 2019 Lukáš Zapletal 0.0.4-1
|
||||
- Initial package version
|
Loading…
Reference in New Issue
Block a user