%define majver 5.0 Name: libcdk Version: 20090215 Release: 1mamba Summary: A library of curses widgets which can be linked into your application Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://dickey.his.com/cdk/ Source: ftp://invisible-island.net/cdk/cdk-%{majver}-%{version}.tgz License: GPL BuildRequires: libncurses-devel >= 5.4 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Though similar in style to dialog, it is different, being a library of curses widgets which can be linked into your application. Widgets are objects whose appearance and behavior can be customized. %package devel Summary: Devel package for libcdk Group: Development/Libraries Requires: libcdk == %{version} %description devel Though similar in style to dialog, it is different, being a library of curses widgets which can be linked into your application. Widgets are objects whose appearance and behavior can be customized. %prep [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %setup -q -n cdk-%{majver}-%{version} %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --with-libtool make LIBTOOL="libtool --tag=c" %install make install DESTDIR=%{buildroot} DOCUMENT_DIR=%{buildroot}%{_docdir}/cdk %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_bindir}/cdk5-config %dir %{_includedir}/cdk/ %{_includedir}/cdk/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_mandir}/man3/* %{_docdir}/cdk/* %changelog * Wed Jul 29 2009 Automatic Build System 20090215-1mamba - automatic update by autodist * Tue Jul 17 2007 Silvan Calarco 20060507-1mamba - update to 20060507 * Wed Apr 08 2004 Silvan Calarco 20031210-1qilnx - first build