]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNU Autounit - unit testing frameworks for Autoconf | |
2 | Summary(pl.UTF-8): GNU Autoconf - szkielet do testów dla Autoconfa | |
3 | Name: autounit | |
4 | Version: 0.15.2 | |
5 | Release: 2 | |
6 | License: GPL | |
7 | Group: Development/Tools | |
8 | Source0: http://www.recursism.com/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: ce0469ca0a9e421670918fcaf52fd8b6 | |
10 | Patch0: %{name}-info.patch | |
11 | Patch1: %{name}-no_html_doc.patch | |
12 | Patch2: %{name}-Makefile.patch | |
13 | URL: http://www.recursism.com/web/index.php?action=page&name=autounit | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: gettext-tools | |
17 | BuildRequires: glib-devel | |
18 | BuildRequires: libtool | |
19 | BuildRequires: texinfo | |
20 | Requires(post,preun): /sbin/ldconfig | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | GNU Autounit's goal is to provide a common unit testing framework for | |
25 | application developers who use GNU Autoconf already in their projects | |
26 | but do not currently use a unit testing framework. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Celem programu GNU Autounit jest dostarczenie wspólnego systemu testów | |
30 | dla twórców aplikacji już używających programu GNU Autoconf w swoich | |
31 | projektach, ale aktualnie nie używających programów testujących. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | %patch0 -p1 | |
36 | %patch1 -p1 | |
37 | %patch2 -p1 | |
38 | ||
39 | %build | |
40 | cp -f /usr/share/automake/config.sub . | |
41 | %{__gettextize} | |
42 | %{__libtoolize} | |
43 | %{__autoheader} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__automake} | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post | |
60 | /sbin/ldconfig | |
61 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
62 | ||
63 | %postun | |
64 | /sbin/ldconfig | |
65 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS BUGS ChangeLog NEWS README TODO | |
70 | %attr(755,root,root) %{_libdir}/libau-c-unit.so.*.*.* | |
71 | %attr(755,root,root) %{_libdir}/libau-c-unit.so | |
72 | %{_libdir}/libau-c-unit.la | |
73 | %{_libdir}/libau-c-unit.a | |
74 | %{_includedir}/autounit | |
75 | %{_datadir}/guile/autounit | |
76 | %{_pkgconfigdir}/*.pc | |
77 | %{_aclocaldir}/*.m4 | |
78 | %{_infodir}/autounit.info* |