]> git.pld-linux.org Git - packages/autounit.git/blob - autounit.spec
- up to 0.15.2, updated no_html_doc patch and file list
[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 %{__gettextize}
38 %{__libtoolize}
39 %{__autoheader}
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 /sbin/ldconfig
57 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
58
59 %postun
60 /sbin/ldconfig
61 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS BUGS ChangeLog NEWS README TODO
66 %attr(755,root,root) %{_libdir}/libau-c-unit.so.*.*.*
67 %attr(755,root,root) %{_libdir}/libau-c-unit.so
68 %{_libdir}/libau-c-unit.la
69 %{_libdir}/libau-c-unit.a
70 %{_includedir}/autounit
71 %{_datadir}/guile/autounit
72 %{_pkgconfigdir}/*.pc
73 %{_aclocaldir}/*.m4
74 %{_infodir}/autounit.info*
This page took 0.05456 seconds and 3 git commands to generate.