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