Added SILC Thread Queue API
[silc.git] / apps / autodist / autodist.spec.in
1 Summary: Source distribution management system
2 Name: autodist
3 Version: AUTODIST_VERSION
4 Release: AUTODIST_RELEASE
5 License: BSD
6 Group: Development/Tools
7 URL: http://silcnet.org/software/developers/autodist/
8 Source0: http://silcnet.org/download/autodist/sources/autodist-%{version}.tar.bz2
9 BuildArch: noarch
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 Requires: autoconf >= 2.58
12 Requires: automake >= 1.9
13
14 %description
15 The Autodist is a source distribution management system that allows
16 powerful mechanisms to define what is included in and excluded from a
17 distribution, and what license the distribution is released under.  It
18 is also used to create the actual distribution source packages.
19 Autodist allows distribution management in file, directory and file
20 content level.  Different distributions may include different portions
21 of files, for example, excluding certain features from certain
22 distributions.  It is always guaranteed that anything not defined for
23 the distribution, is removed automatically (files, file content,
24 directories), thus ensuring that nothing is accidentally included in
25 the distribution.
26
27 %prep
28 %setup -q
29
30 %build
31 ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
32   --bindir=%{_bindir} --datadir=%{_datadir}
33 make
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 make install DESTDIR=$RPM_BUILD_ROOT
38 rm -f $RPM_BUILD_ROOT/%{_datadir}/autodist/COPYING
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(-, root, root, -)
45 %{_bindir}/*
46 %{_datadir}/autodist/*.conf
47 %{_datadir}/autodist/default
48 %{_infodir}/autodist.info*
49 %{_mandir}/man1/*
50 %doc COPYING README TODO CHANGES AUTHORS
51
52 %changelog
53 * Thu May 31 2007 Pekka Riikonen <priikone@silcnet.org>
54 - Initial version