Enable ncurses

This commit is contained in:
Shakthi Kannan 2013-06-22 09:19:31 +05:30
parent 66223fabe4
commit 568eb2dc7c

View File

@ -1,6 +1,6 @@
Name: CUnit
Version: 2.1.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A unit testing framework for C
Group: System Environment/Libraries
@ -32,13 +32,14 @@ find -name *.c -exec chmod -x {} \;
%build
autoconf -f -i
%configure
%configure --enable-curses
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
cp -pr %{buildroot}%{_docdir}/%{name}/headers/* %{buildroot}%{_includedir}/%{name}
rm -f `find %{buildroot} -name *.a`
rm -f `find %{buildroot} -name *.la`
rm -rf `find %{buildroot} -name %{name}-%{version}/`
@ -65,6 +66,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/CUnit.3*
%changelog
* Fri Jun 21 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-5
- Use header files from doc folder as well
- Enable curses
* Sat Apr 20 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-4
- Use autoconf for ARM