first draft
[inotify-tools.git] / inotify-tools.spec
1 # $Id$
2 # Authority: dag
3
4 Summary: Command line utilities for inotify
5 Name: inotify-tools
6 Version: 3.13
7 Release: 1.rf
8 License: GPL
9 Group: Applications/System
10 URL: http://inotify-tools.sourceforge.net/
11
12 Packager: Dag Wieers <dag@wieers.com>
13 Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
14
15 Source: http://dl.sf.net/inotify-tools/inotify-tools-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17
18 BuildRequires: autoconf
19 BuildRequires: doxygen
20
21 %description
22 inotify-tools is a set of command-line programs for Linux providing
23 a simple interface to inotify. These programs can be used to monitor
24 and act upon filesystem events.
25
26 %package devel
27 Summary: Header files, libraries and development documentation for %{name}.
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
30
31 %description devel
32 This package contains the header files, static libraries and development
33 documentation for %{name}. If you like to develop programs using %{name},
34 you will need to install %{name}-devel.
35
36 %prep
37 %setup
38
39 %build
40 %configure \
41     --disable-dependency-tracking \
42     --disable-static \
43     --enable-doxygen
44 %{__make} %{?_smp_mflags}
45
46 %install
47 %{__rm} -rf %{buildroot}
48 %{__make} install DESTDIR="%{buildroot}"
49
50 ### Clean up buildroot
51 %{__rm} -rf %{buildroot}%{_docdir}
52
53 %clean
54 %{__rm} -rf %{buildroot}
55
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(-, root, root, 0755)
61 %doc AUTHORS ChangeLog COPYING NEWS README
62 %doc %{_mandir}/man1/inotifywait.1*
63 %doc %{_mandir}/man1/inotifywatch.1*
64 %{_bindir}/inotifywait
65 %{_bindir}/inotifywatch
66 %{_libdir}/libinotifytools.so.*
67
68 %files devel
69 %defattr(-, root, root, 0755)
70 %doc libinotifytools/src/doc/html/*
71 %{_includedir}/inotifytools/
72 %{_libdir}/libinotifytools.so
73 %exclude %{_libdir}/libinotifytools.la
74
75 %changelog
76 * Thu Mar 27 2008 Dag Wieers <dag@wieers.com> - 3.13-1 - +/
77 - Initial package. (using DAR)