]>
Commit | Line | Data |
---|---|---|
c116094c | 1 | Summary: GNU Autounit - unit testing frameworks for Autoconf |
b113fe36 | 2 | Summary(pl.UTF-8): GNU Autoconf - szkielet do testów dla Autoconfa |
726e5f2b | 3 | Name: autounit |
72bae605 | 4 | Version: 0.15.2 |
bb31458b | 5 | Release: 2 |
726e5f2b | 6 | License: GPL |
759c6aae | 7 | Group: Development/Tools |
1f8a36df | 8 | Source0: http://www.recursism.com/files/%{name}-%{version}.tar.gz |
72bae605 | 9 | # Source0-md5: ce0469ca0a9e421670918fcaf52fd8b6 |
759c6aae | 10 | Patch0: %{name}-info.patch |
976ec164 | 11 | Patch1: %{name}-no_html_doc.patch |
178cc9ac | 12 | Patch2: %{name}-Makefile.patch |
c116094c | 13 | URL: http://www.recursism.com/web/index.php?action=page&name=autounit |
7f241745 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
481fe8cc | 16 | BuildRequires: gettext-tools |
ce6b81d9 | 17 | BuildRequires: glib-devel |
7f241745 | 18 | BuildRequires: libtool |
c51b7dfb | 19 | BuildRequires: texinfo |
72bae605 | 20 | Requires(post,preun): /sbin/ldconfig |
726e5f2b AM |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
726e5f2b | 23 | %description |
759c6aae | 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. | |
726e5f2b | 27 | |
c0030178 JR |
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. | |
726e5f2b AM |
32 | |
33 | %prep | |
34 | %setup -q | |
976ec164 | 35 | %patch0 -p1 |
36 | %patch1 -p1 | |
178cc9ac | 37 | %patch2 -p1 |
726e5f2b AM |
38 | |
39 | %build | |
9bf7e30e | 40 | cp -f /usr/share/automake/config.sub . |
72bae605 | 41 | %{__gettextize} |
68fcb715 | 42 | %{__libtoolize} |
25dc22fc | 43 | %{__autoheader} |
44 | %{__aclocal} | |
cfe500c6 | 45 | %{__autoconf} |
46 | %{__automake} | |
726e5f2b AM |
47 | %configure |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
10cbc6ad PG |
53 | %{__make} install \ |
54 | DESTDIR=$RPM_BUILD_ROOT | |
726e5f2b | 55 | |
1f8a36df JB |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
726e5f2b | 59 | %post |
72bae605 | 60 | /sbin/ldconfig |
026537a6 | 61 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
726e5f2b AM |
62 | |
63 | %postun | |
72bae605 | 64 | /sbin/ldconfig |
026537a6 | 65 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
726e5f2b | 66 | |
726e5f2b AM |
67 | %files |
68 | %defattr(644,root,root,755) | |
72bae605 JB |
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 | |
759c6aae | 73 | %{_libdir}/libau-c-unit.a |
72bae605 JB |
74 | %{_includedir}/autounit |
75 | %{_datadir}/guile/autounit | |
76 | %{_pkgconfigdir}/*.pc | |
77 | %{_aclocaldir}/*.m4 | |
78 | %{_infodir}/autounit.info* |