From 5cbd5b0b97b8f1a4c85346abcdfd994d8206e97c Mon Sep 17 00:00:00 2001 From: kloczek Date: Fri, 17 Jan 2003 01:43:14 +0000 Subject: [PATCH] - raw version from tar ball. Changed files: dnotify.spec -> 1.1 --- dnotify.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dnotify.spec diff --git a/dnotify.spec b/dnotify.spec new file mode 100644 index 0000000..a766616 --- /dev/null +++ b/dnotify.spec @@ -0,0 +1,49 @@ +%define package @PACKAGE@ +%define version @VERSION@ +%define prefix /usr +%define release 1 + +Summary: Execute a command when the contents of a directory change +Name: %{package} +Version: %{version} +Release: %{release} +Serial: 1 +Copyright: GPL +Group: Applications/File +Vendor: Oskar Liljeblad +URL: http://www.student.lu.se/~nbi98oli/dnotify.html +Source: %{package}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 and so on. + +%prep +%setup -q + +%build +export CFLAGS="${RPM_OPT_FLAGS}" CPPFLAGS="${RPM_OPT_FLAGS}"; +./configure --prefix=%{prefix}; +make; + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot} +make prefix=%{buildroot}%{prefix} \ + mandir=$RPM_BUILD_ROOT%{_mandir} \ + sysconfdir=%{buildroot}/etc \ + install + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README AUTHORS COPYING NEWS TODO +%{_mandir}/*/* +%{_bindir}/* -- 2.44.0