- many small fixes, inspired by kloczek
[packages/autounit.git] / autounit.spec
1 Summary:        GNU autoconf - source configuration tools
2 Summary(pl):    GNU autoconf - narzêdzie do automatycznego konfigurowania ¼róde³
3 Name:           autounit
4 Version:        0.10.2
5 Release:        2
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://www.recursism.com/projects/autounit/%{name}-%{version}.tar.gz
9 # Source0-md5:  85ba614a10c789644a7ee986c496dcb3
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-no_html_doc.patch
12 URL:            http://www.recursism.com/projects/autounit/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  glib-devel
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 GNU Autounit's goal is to provide a common unit testing framework for
21 application developers who use GNU Autoconf already in their projects
22 but do not currently use a unit testing framework.
23
24 %description -l pl
25 Celem programu GNU Autounit jest dostarczenie popularnego systemu
26 testów dla developerów aplikacji ju¿ u¿ywaj±cych programu GNU Autoconf
27 w ich projektach, ale aktualnie nie u¿ywaj±cych programów testuj±cych.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33
34 %build
35 rm -f missing
36 %{__libtoolize}
37 %{__autoheader}
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %post
51 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
52
53 %postun
54 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README
62 %{_libdir}/libau-c-unit.a
63 %{_includedir}/c-unit
64 %{_infodir}/*info*
This page took 0.123183 seconds and 3 git commands to generate.