Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > a75c1daaf2b2a596e1b6f5b93e8de447 > files > 5

dnotify-0.18.0-14.mga6.src.rpm

Summary: Execute command when directory changes
Name: dnotify
Version: 0.18.0
Release: %mkrel 14
# Not working anymore ??
# URL: http://oskarsapps.mine.nu/dnotify.html
Source0: http://oskarsapps.mine.nu/src/%{name}-%{version}.tar.bz2
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.d.README
Patch0: dnotify-include-stat_h.patch
License: GPL
Group: File tools
Requires(post): rpm-helper
Requires(preun): rpm-helper

%description
Dnotify is a simple program that makes it possible
to execute a command every time the contents of a
specific directory change in Linux. It is run from
the command line and takes two arguments: one or
more directories to monitor and a command to
execute whenever a directory has changed. Options
control what events to trigger on: when a file was
read in the directory, when one was created/deleted,
etc.

%prep
%setup -q
%autopatch -p0

%build
%configure2_5x
%make

%install
%make_install
%{__install} -m755 -d %{buildroot}%{_sysconfdir}/sysconfig/%{name}.d
%{__install} -m755 -d %{buildroot}%{_initrddir}
%{__install} -m700 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
%{__install} -m600 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
%{__install} -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}.d/README

%find_lang %{name}

%post
%_post_service %{name}

%preun
%_preun_service %{name}

%files -f %{name}.lang
%doc README NEWS AUTHORS COPYING INSTALL
%{_bindir}/dnotify
%{_mandir}/*/*
%config(noreplace) %{_initrddir}/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%dir %{_sysconfdir}/sysconfig/%{name}.d
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}.d/README


%changelog
* Thu Feb 11 2016 umeabot <umeabot> 0.18.0-14.mga6
+ Revision: 953835
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 0.18.0-13.mga5
+ Revision: 739189
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.18.0-12.mga5
+ Revision: 678775
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.18.0-11.mga4
+ Revision: 503838
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 0.18.0-10.mga3
+ Revision: 348894
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat May 12 2012 colin <colin> 0.18.0-9.mga2
+ Revision: 235409
- Add LSB headers to initscripts (mga#5262)
- Split out small bzipped sources to store as plain text.

* Sun May 08 2011 nanardon <nanardon> 0.18.0-8.mga1
+ Revision: 96451
- imported package dnotify


* Thu Sep 03 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.18.0-8mdv2010.0
+ Revision: 428285
- rebuild

* Tue Jul 22 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.18.0-7mdv2009.0
+ Revision: 240606
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Aug 21 2007 Olivier Thauvin <nanardon@mandriva.org> 0.18.0-5mdv2008.0
+ Revision: 68460
- rebuild


* Sat Aug 05 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/05/06 13:50:55 (53259)
- rebuild

* Sat Aug 05 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/05/06 13:49:09 (53258)
Import dnotify

* Mon May 01 2006 Olivier Thauvin <nanardon@mandriva.org> 0.18.0-3mdk
- Fix PreReq

* Mon May 01 2006 Olivier Thauvin <nanardon@mandriva.org> 0.18.0-2mdk
- Rebuild
- update url and co

* Mon Apr 25 2005 Olivier Thauvin <nanardon@zarb.org> 0.18.0-1mdk
- 0.18.0

* Mon Oct 11 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.17.2-1mdk
- 0.17.2

* Mon Sep 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.17.1-1mdk
- 0.17.1

* Tue Aug 17 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.16.0-1mdk
- s/init.d/%%_initrddir/

* Mon Apr 05 2004 Michael Scherer <misc@mandrake.org> 0.15.0-1mdk
- 0.15.0