Name: cdk Version: 5.0.20081105 Release: 1%{?dist} Summary: Curses Development Kit Group: Development/Libraries License: BSD with Advertising URL: http://invisible-island.net/cdk/ Source0: ftp://invisible-island.net/%{name}/%{name}.tar.gz Patch0: cdk-5.0.20081105-make.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel %description Cdk stands for 'Curses Development Kit' and it currently contains 21 ready to use widgets which facilitate the speedy development of full screen curses programs. %package devel Summary: Curses Development Kit Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development headers for cdk (Curses Development Kit) %prep %setup -q -n %{name}-5.0-20081105 %patch0 -p1 %build %configure make %{?_smp_mflags} cdkshlib %install rm -rf $RPM_BUILD_ROOT make install installCDKSHLibrary DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -D" rm -fr $RPM_BUILD_ROOT/usr/doc # we don't need this chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so # fixes rpmlint unstripped-binary-or-object %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc CHANGES COPYING INSTALL NOTES README VERSION %{_libdir}/*.so.* %exclude %{_libdir}/*.a %{_mandir}/man3/* %files devel %defattr(-,root,root,-) %doc EXPANDING TODO examples demos %{_libdir}/*.so %{_bindir}/cdk5-config %{_includedir}/%{name} %changelog * Sun Jan 4 2009 Marek Mahut - 5.0.20081105-1 - Initial build