]> git.pld-linux.org Git - packages/dnotify.git/commitdiff
- rewrited.
authorkloczek <kloczek@pld-linux.org>
Fri, 17 Jan 2003 01:46:27 +0000 (01:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dnotify.spec -> 1.2

dnotify.spec

index a7666163e899a583c6fb156dd7001aaeb89f08e6..7bea6e8c1f000609af9879b57a220314730b022a 100644 (file)
@@ -1,49 +1,42 @@
-%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 <oskar@osk.mine.nu>
-URL:       http://www.student.lu.se/~nbi98oli/dnotify.html
-Source:    %{package}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Summary:       Execute a command when the contents of a directory change
+Name:          dnotify
+Version:       0.12.0
+Release:       1
+Epoch:         1
+License:       GPL
+Vendor:                Oskar Liljeblad <oskar@osk.mine.nu>
+Group:         Applications/File
+Source0:       http://www.student.lu.se/~nbi98oli/src/%{name}-%{version}.tar.gz
+URL:           http://www.student.lu.se/~nbi98oli/dnotify.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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;
+%configure
+%{__make}
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}
-make prefix=%{buildroot}%{prefix} \
-       mandir=$RPM_BUILD_ROOT%{_mandir} \
-       sysconfdir=%{buildroot}/etc \
-       install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc README AUTHORS COPYING NEWS TODO
+%defattr(644,root,root,755)
+%doc README AUTHORS NEWS TODO
+%attr(755,root,root) %{_bindir}/*
 %{_mandir}/*/*
-%{_bindir}/*
This page took 0.038072 seconds and 4 git commands to generate.