]> git.ipfire.org Git - thirdparty/mdadm.git/blob - mdadm.spec
man pages: remove references to raidtools.
[thirdparty/mdadm.git] / mdadm.spec
1 Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
2 Name: mdadm
3 Version: 3.2.5
4 Release: 1
5 Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
6 URL: http://neil.brown.name/blog/mdadm
7 License: GPL
8 Group: Utilities/System
9 BuildRoot: %{_tmppath}/%{name}-root
10 Obsoletes: mdctl
11
12 %description
13 mdadm is a program that can be used to create, manage, and monitor
14 Linux MD (Software RAID) devices.
15
16 %prep
17 %setup -q
18 # we want to install in /sbin, not /usr/sbin...
19 %define _exec_prefix %{nil}
20
21 %build
22 # This is a debatable issue. The author of this RPM spec file feels that
23 # people who install RPMs (especially given that the default RPM options
24 # will strip the binary) are not going to be running gdb against the
25 # program.
26 make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}"
27
28 %install
29 make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=%{_sbindir} install
30 install -D -m644 mdadm.conf-example $RPM_BUILD_ROOT/%{_sysconfdir}/mdadm.conf
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(-,root,root)
37 %doc TODO ChangeLog mdadm.conf-example COPYING
38 %{_sbindir}/mdadm
39 %{_sbindir}/mdmon
40 /lib/udev/rules.d/64-md-raid.rules
41 %config(noreplace,missingok)/%{_sysconfdir}/mdadm.conf
42 %{_mandir}/man*/md*
43
44 %changelog
45 * Fri May 10 2002 <neilb@cse.unsw.edu.au>
46 - update to 1.0.0
47 - Set CXFLAGS instead of CFLAGS
48
49 * Sat Apr 6 2002 <neilb@cse.unsw.edu.au>
50 - change install to use "make install"
51
52 * Fri Mar 15 2002 <gleblanc@localhost.localdomain>
53 - beautification
54 - made mdadm.conf non-replaceable config
55 - renamed Copyright to License in the header
56 - added missing license file
57 - used macros for file paths
58
59 * Fri Mar 15 2002 Luca Berra <bluca@comedia.it>
60 - Added Obsoletes: mdctl
61 - missingok for configfile
62
63 * Wed Mar 12 2002 NeilBrown <neilb@cse.unsw.edu.au>
64 - Add md.4 and mdadm.conf.5 man pages
65
66 * Fri Mar 08 2002 Chris Siebenmann <cks@cquest.utoronto.ca>
67 - builds properly as non-root.
68
69 * Fri Mar 08 2002 Derek Vadala <derek@cynicism.com>
70 - updated for 0.7, fixed /usr/share/doc and added manpage
71
72 * Tue Aug 07 2001 Danilo Godec <danci@agenda.si>
73 - initial RPM build