9660c66c40a4ceb531b2485594cd178a90170277
[packages/autounit.git] / autounit.spec
1 Summary:        GNU autoconf - source configuration tools
2 Summary(pl):    GNU autoconf - narzêdzie do automatycznego konfigurowania ¼róde³
3 Name:           autounit
4 Version:        0.10.2
5 Release:        1
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://www.recursism.com/projects/autounit/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-info.patch
10 Patch1:         %{name}-no_html_doc.patch
11 URL:            http://www.recursism.com/projects/autounit/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 GNU Autounit's goal is to provide a common unit testing framework for
20 application developers who use GNU Autoconf already in their projects
21 but do not currently use a unit testing framework.
22
23 %description -l pl
24 Celem programu GNU Autounit jest dostarczenie popularnego systemu
25 testów dla developerów aplikacji ju¿ u¿ywaj±cych programu GNU Autoconf
26 w ich projektach ale aktualnie nie u¿ywaj±cych programów testuj±cych.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 rm -f missing
35 %{__libtoolize}
36 %{__autoheader}
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
47
48 %post
49 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
50
51 %postun
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README
60 %{_libdir}/libau-c-unit.a
61 %{_includedir}/c-unit
62 %{_infodir}/*info*
This page took 0.449998 seconds and 2 git commands to generate.