Blame SPECS/isns-utils.spec

dfb166
Name:           isns-utils
dfb166
Version:        0.101
dfb166
Release:        4%{?dist}
dfb166
Summary:        The iSNS daemon and utility programs
dfb166
dfb166
License:        LGPLv2+
dfb166
URL:            https://github.com/open-iscsi/open-isns
dfb166
Source0:        https://github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz
dfb166
Source1:        isnsd.service
dfb166
Patch1:         test_as_installed.patch
dfb166
dfb166
BuildRequires:  gcc
dfb166
BuildRequires:  automake pkgconfig systemd-devel systemd
dfb166
BuildRequires: make
dfb166
Requires(post): systemd-units
dfb166
Requires(preun): systemd-units
dfb166
Requires(postun): systemd-units
dfb166
dfb166
%description
dfb166
The iSNS package contains the daemon and tools to setup a iSNS server,
dfb166
and iSNS client tools. The Internet Storage Name Service (iSNS) protocol
dfb166
allows automated discovery, management and configuration of iSCSI and
dfb166
Fibre Channel devices (using iFCP gateways) on a TCP/IP network.
dfb166
dfb166
%package libs
dfb166
Summary: Shared library files for iSNS
dfb166
dfb166
%description libs
dfb166
Shared library files for iSNS
dfb166
dfb166
%package devel
dfb166
Summary: Development files for iSNS
dfb166
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
dfb166
dfb166
%description devel
dfb166
Development files for iSNS
dfb166
dfb166
dfb166
%prep
dfb166
%autosetup -p1 -n open-isns-%{version}
dfb166
dfb166
dfb166
%build
dfb166
%configure --enable-shared --disable-static --without-security
dfb166
%make_build
dfb166
dfb166
dfb166
%install
dfb166
%make_install
dfb166
make install_hdrs DESTDIR=%{buildroot}
dfb166
make install_lib DESTDIR=%{buildroot}
dfb166
chmod 755 %{buildroot}%{_sbindir}/isns*
dfb166
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
dfb166
rm %{buildroot}%{_unitdir}/isnsd.service
dfb166
rm %{buildroot}%{_unitdir}/isnsd.socket
dfb166
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service
dfb166
dfb166
dfb166
%post
dfb166
%systemd_post isnsd.service
dfb166
dfb166
dfb166
%postun
dfb166
%systemd_postun isnsd.service
dfb166
dfb166
dfb166
%preun
dfb166
%systemd_preun isnsd.service
dfb166
dfb166
dfb166
%triggerun -- isns-utils < 0.91-7
dfb166
# Save the current service runlevel info
dfb166
# User must manually run systemd-sysv-convert --apply httpd
dfb166
# to migrate them to systemd targets
dfb166
/usr/bin/systemd-sysv-convert --save isnsd >/dev/null 2>&1 ||:
dfb166
dfb166
# Run these because the SysV package being removed won't do them
dfb166
/sbin/chkconfig --del isnsd >/dev/null 2>&1 || :
dfb166
/bin/systemctl try-restart isnsd.service >/dev/null 2>&1 || :
dfb166
dfb166
dfb166
%ldconfig_scriptlets -n %{name}-libs
dfb166
dfb166
dfb166
%files
dfb166
%doc COPYING README
dfb166
%{_sbindir}/isnsd
dfb166
%{_sbindir}/isnsadm
dfb166
%{_sbindir}/isnsdd
dfb166
%{_mandir}/man5/*
dfb166
%{_mandir}/man8/*
dfb166
%{_unitdir}/isnsd.service
dfb166
%dir %{_sysconfdir}/isns
dfb166
%dir %{_var}/lib/isns
dfb166
%config(noreplace) %{_sysconfdir}/isns/*
dfb166
dfb166
%files libs
dfb166
%{_libdir}/libisns.so.0
dfb166
dfb166
%files devel
dfb166
%dir %{_includedir}/libisns
dfb166
%{_includedir}/libisns/*.h
dfb166
%{_libdir}/libisns.so
dfb166
dfb166
dfb166
%changelog
dfb166
* Tue Sep 14 2021 Chris Leech <cleech@redhat.com> - 0.101-4
dfb166
- #1934951 remove DSA/SHA-1 based authentication support
dfb166
dfb166
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.101-3
dfb166
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
dfb166
  Related: rhbz#1991688
dfb166
dfb166
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.101-2
dfb166
- Rebuilt for RHEL 9 BETA for openssl 3.0
dfb166
  Related: rhbz#1971065
dfb166
dfb166
* Wed May 26 2021 Chris Leech <cleech@redhat.com> - 0.101-1
dfb166
- update to 0.101
dfb166
- bz#1958038 disabled Werror, which fixes the build with OpenSSL 3 while still using deprecated functions
dfb166
- setup new upstream tests as gating
dfb166
dfb166
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.100-2
dfb166
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
dfb166
dfb166
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.100-1
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
dfb166
dfb166
* Thu Sep 17 2020 Chris Leech <cleech@redhat.com> - 0.100-0
dfb166
- rebase to upstream v0.100 + patches from git
dfb166
dfb166
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 0.97-12
dfb166
- Use make macros
dfb166
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
dfb166
dfb166
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-11
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dfb166
dfb166
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-10
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dfb166
dfb166
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-9
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
dfb166
dfb166
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-8
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dfb166
dfb166
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-7
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dfb166
dfb166
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-6
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dfb166
dfb166
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-5
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
dfb166
dfb166
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-4
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
dfb166
dfb166
* Wed Apr 12 2017 Chris Leech <cleech@redhat.com> - 0.97-3
dfb166
- switch to building as a shared library instead of static
dfb166
dfb166
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-2
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dfb166
dfb166
* Tue Dec 13 2016 Miro HronĨok <mhroncok@redhat.com> - 0.97-1
dfb166
- Update to 0.97
dfb166
- Upstream moved on GitHub
dfb166
dfb166
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.94-3
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dfb166
dfb166
* Sat Dec 12 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 0.94-2
dfb166
- add -static Provides to the -devel package (#1284298)
dfb166
dfb166
* Mon Oct 05 2015 Chris Leech <cleech@redhat.com> - 0.94-1
dfb166
- new upstream location, update to 0.94
dfb166
- new devel package, upstream open-iscsi is dropping it's internal copy
dfb166
dfb166
* Wed Jun 17 2015 Chris Leech <cleech@redhat.com> - 0.93-8
dfb166
- use of systemd rpm macros now require systemd as a BuildRequires
dfb166
dfb166
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-7
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dfb166
dfb166
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-6
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
dfb166
dfb166
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-5
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dfb166
dfb166
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.93-4
dfb166
- Fix FTBFS, modernise spec
dfb166
dfb166
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dfb166
dfb166
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-2
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dfb166
dfb166
* Mon Sep 10 2012 Chris Leech <cleech@redhat.com> - 0.93-1
dfb166
- Rebase to 0.93
dfb166
- Make use of systemd rpm macros for scriptlets, BZ 850174
dfb166
dfb166
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dfb166
dfb166
* Wed Feb 15 2012 Jon Ciesla <limburgher@gmail.com> - 0.91-7
dfb166
- Migrate to systemd, BZ 789707.
dfb166
dfb166
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dfb166
dfb166
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-5
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
dfb166
dfb166
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-4
dfb166
- rebuilt with new openssl
dfb166
dfb166
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
dfb166
dfb166
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
dfb166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
dfb166
dfb166
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-1
dfb166
- rebuild with new openssl
dfb166
dfb166
* Wed Jan 16 2008 Mike Christie <mchristie@redhat.com> - 0.91-0.0
dfb166
- first build