You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
50 lines
1.6 KiB
7 years ago
|
%global commit fe0f368e1fcab2b89d5c94209822d9b616cea840
|
||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||
|
|
||
|
%global modname clientbuffer
|
||
|
|
||
|
Name: znc-%{modname}
|
||
|
Version: 0
|
||
|
Release: 0.5git%{shortcommit}%{?dist}
|
||
|
Summary: ZNC module for client specific buffers
|
||
|
|
||
|
License: ASL 2.0
|
||
|
URL: https://github.com/jpnurmi/znc-clientbuffer
|
||
|
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||
|
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: znc-devel
|
||
|
Requires: znc%{?_isa}
|
||
|
|
||
|
%description
|
||
|
The client buffer module maintains client specific buffers for identified
|
||
|
clients.
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n %{name}-%{commit}
|
||
|
|
||
|
%build
|
||
|
CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" znc-buildmod %{modname}.cpp
|
||
|
|
||
|
%install
|
||
|
install -Dpm0755 %{modname}.so %{buildroot}%{_libdir}/znc/%{modname}.so
|
||
|
|
||
|
%files
|
||
|
%{_libdir}/znc/%{modname}.so
|
||
|
|
||
|
%changelog
|
||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5gitfe0f368
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4gitfe0f368
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3gitfe0f368
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2gitfe0f368
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Wed Aug 17 2016 Igor Gnatenko <ignatenko@redhat.com> - 0-0.1gitfe0f368
|
||
|
- Initial package
|