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