Blame SPECS/inotify-tools.spec

rdobuilder cb0d14
Name:           inotify-tools
rdobuilder cb0d14
Version:        4.23.9.0
rdobuilder cb0d14
Release:        2%{?dist}
rdobuilder cb0d14
Summary:        Command line utilities for inotify
rdobuilder cb0d14
rdobuilder cb0d14
# GPL-2.0-only: the project as a whole
rdobuilder cb0d14
# GPL-2.0-only WITH Linux-syscall-note: libinotifytools/src/inotifytools/fanotify-dfid-name.h
rdobuilder cb0d14
# LGPL-2.1-or-later: libinotifytools/src/redblack.{cpp,h}
rdobuilder cb0d14
License:        GPL-2.0-only AND GPL-2.0-only WITH Linux-syscall-note AND LGPL-2.1-or-later
rdobuilder cb0d14
URL:            https://github.com/inotify-tools/inotify-tools
rdobuilder cb0d14
Source0:        https://github.com/inotify-tools/inotify-tools/archive/%{version}/inotify-tools-%{version}.tar.gz
rdobuilder cb0d14
rdobuilder cb0d14
BuildRequires:  gcc-c++
rdobuilder cb0d14
BuildRequires:  autoconf
rdobuilder cb0d14
BuildRequires:  automake
rdobuilder cb0d14
BuildRequires:  doxygen
rdobuilder cb0d14
BuildRequires:  make
rdobuilder cb0d14
BuildRequires:  libtool
rdobuilder cb0d14
rdobuilder cb0d14
%description
rdobuilder cb0d14
inotify-tools is a set of command-line programs for Linux providing
rdobuilder cb0d14
a simple interface to inotify. These programs can be used to monitor
rdobuilder cb0d14
and act upon filesystem events.
rdobuilder cb0d14
rdobuilder cb0d14
%package        devel
rdobuilder cb0d14
Summary:        Headers and libraries for building apps that use libinotifytools
rdobuilder cb0d14
Requires:       %{name}%{?_isa} = %{version}-%{release}
rdobuilder cb0d14
rdobuilder cb0d14
%description    devel
rdobuilder cb0d14
This package contains headers and libraries required to build applications
rdobuilder cb0d14
that use the libinotifytools library.
rdobuilder cb0d14
rdobuilder cb0d14
%prep
rdobuilder cb0d14
%setup -q
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
%build
rdobuilder cb0d14
./autogen.sh
rdobuilder cb0d14
%configure \
rdobuilder cb0d14
        --disable-dependency-tracking \
rdobuilder cb0d14
        --disable-static \
rdobuilder cb0d14
        --enable-doxygen \
rdobuilder cb0d14
        --enable-fanotify
rdobuilder cb0d14
rdobuilder cb0d14
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
rdobuilder cb0d14
# -Wl,--as-needed after all the libraries.
rdobuilder cb0d14
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
rdobuilder cb0d14
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
rdobuilder cb0d14
    -e 's|CC="\(.*g..\)"|CC="\1 -Wl,--as-needed"|' \
rdobuilder cb0d14
    -i libtool
rdobuilder cb0d14
rdobuilder cb0d14
%make_build
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
%install
rdobuilder cb0d14
%make_install
rdobuilder cb0d14
rdobuilder cb0d14
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
rdobuilder cb0d14
# We'll install documentation in the proper place
rdobuilder cb0d14
rm -rf %{buildroot}/%{_datadir}/doc/
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
%ldconfig_scriptlets
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
%files
rdobuilder cb0d14
%doc AUTHORS COPYING ChangeLog NEWS README.md
rdobuilder cb0d14
%{_bindir}/fsnotifywait
rdobuilder cb0d14
%{_bindir}/fsnotifywatch
rdobuilder cb0d14
%{_bindir}/inotifywait
rdobuilder cb0d14
%{_bindir}/inotifywatch
rdobuilder cb0d14
%{_libdir}/libinotifytools.so.*
rdobuilder cb0d14
%{_mandir}/man1/inotifywait.1*
rdobuilder cb0d14
%{_mandir}/man1/inotifywatch.1*
rdobuilder cb0d14
%{_mandir}/man1/fsnotifywait.1*
rdobuilder cb0d14
%{_mandir}/man1/fsnotifywatch.1*
rdobuilder cb0d14
rdobuilder cb0d14
%files devel
rdobuilder cb0d14
%doc libinotifytools/src/doc/html/*
rdobuilder cb0d14
%dir %{_includedir}/inotifytools/
rdobuilder cb0d14
%{_includedir}/inotifytools/inotify.h
rdobuilder cb0d14
%{_includedir}/inotifytools/inotify-nosys.h
rdobuilder cb0d14
%{_includedir}/inotifytools/inotifytools.h
rdobuilder cb0d14
%{_includedir}/inotifytools/fanotify-dfid-name.h
rdobuilder cb0d14
%{_includedir}/inotifytools/fanotify.h
rdobuilder cb0d14
%{_libdir}/libinotifytools.so
rdobuilder cb0d14
rdobuilder cb0d14
rdobuilder cb0d14
%changelog
rdobuilder cb0d14
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.23.9.0-2
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed May 22 2024 Jerry James <loganjerry@gmail.com> - 4.23.9.0-1
rdobuilder cb0d14
- Update to 4.23.9.0
rdobuilder cb0d14
- SPDX migration
rdobuilder cb0d14
- Enable fanotify support
rdobuilder cb0d14
- Minor spec file cleanups
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-7
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-6
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-5
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-4
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-3
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1.0-2
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Sep 22 2021 Eric Curtin <ecurtin@redhat.com> - 3.22.1.0-1
rdobuilder cb0d14
- Update to 3.22.1.0
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Sep 22 2021 Eric Curtin <ecurtin@redhat.com> - 3.21.9.5-1
rdobuilder cb0d14
- Update to 3.21.9.5
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-23
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-22
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-21
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-20
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Sep 06 2019 Jan Kratochvil <jan.kratochvil@redhat.com> - 3.14-19
rdobuilder cb0d14
- Fix source package URL (fix by Breno Brand Fernandes).
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Sep 05 2019 Jan Kratochvil <jan.kratochvil@redhat.com> - 3.14-18
rdobuilder cb0d14
- Fix stack corruption on a moved directory, reproducible on aarch64.
rdobuilder cb0d14
  https://bugzilla.redhat.com/show_bug.cgi?id=1741472
rdobuilder cb0d14
  0006-Fix-buffer-overrun-in-inotifytools.c.patch
rdobuilder cb0d14
- Fix buffer overrun on -c|--csv with '"', ',' or '\n' in directory name.
rdobuilder cb0d14
  0005-Fix-segfault-with-csv-output-when-filename-contains-.patch
rdobuilder cb0d14
- Remove rpath to pass a rpmbuild check.
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-17
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-16
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-15
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-14
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-13
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-12
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-11
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-10
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-9
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-8
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-7
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-6
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-5
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-4
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-3
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-2
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Sun Nov 14 2010 Adel Gadllah <adel.gadllah@gmail.com> - 3.14-1
rdobuilder cb0d14
- Update to 3.14
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Feb 13 2010 Adel Gadllah <adel.gadllah@gmail.com> - 3.13-4
rdobuilder cb0d14
- Don't run make check, it fails on the builders
rdobuilder cb0d14
rdobuilder cb0d14
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13-3
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13-2
rdobuilder cb0d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
rdobuilder cb0d14
rdobuilder cb0d14
* Mon Feb 11 2008 Adel Gadllah <adel.gadllah@gmail.com> 3.13-1
rdobuilder cb0d14
- Update to 3.13
rdobuilder cb0d14
rdobuilder cb0d14
* Mon Sep 24 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 3.11-1
rdobuilder cb0d14
- Update to 3.11 (CVE-2007-5037, #299771)
rdobuilder cb0d14
- Fix License tag
rdobuilder cb0d14
rdobuilder cb0d14
* Sun Dec 17 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 3.6-1
rdobuilder cb0d14
- Update to 3.6
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Oct 31 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 3.3-1
rdobuilder cb0d14
- Update to 3.3
rdobuilder cb0d14
- Add %%check stage
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Oct 28 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 3.1-1
rdobuilder cb0d14
- Update to 3.1
rdobuilder cb0d14
- Add -devel subpackage
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Oct  3 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.6-1
rdobuilder cb0d14
- Update to 2.6
rdobuilder cb0d14
rdobuilder cb0d14
* Mon Oct  2 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.5-1
rdobuilder cb0d14
- Update to 2.5
rdobuilder cb0d14
rdobuilder cb0d14
* Sat Sep  9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.4-1
rdobuilder cb0d14
- Update to 2.4
rdobuilder cb0d14
rdobuilder cb0d14
* Tue Aug 15 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.3-1
rdobuilder cb0d14
- Update to 2.3
rdobuilder cb0d14
- Drop implicit_syscall patch (fixed upstream)
rdobuilder cb0d14
rdobuilder cb0d14
* Mon Jul 31 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-3
rdobuilder cb0d14
- Fix URL
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul  6 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-2
rdobuilder cb0d14
- Fix compilation warnings
rdobuilder cb0d14
rdobuilder cb0d14
* Thu Jul  6 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.2-1
rdobuilder cb0d14
- New version 2.2
rdobuilder cb0d14
- Update URL and description
rdobuilder cb0d14
- Add man pages
rdobuilder cb0d14
rdobuilder cb0d14
* Wed Jul  5 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.1-1
rdobuilder cb0d14
- Initial RPM release.