diff --git a/README.md b/README.md index 1638b38..3bcd203 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcdk +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. + diff --git a/libcdk.spec b/libcdk.spec new file mode 100644 index 0000000..04a1eea --- /dev/null +++ b/libcdk.spec @@ -0,0 +1,87 @@ +%define majver %(echo %version | cut -d _ -f1) +%define pkgver %(echo %version | tr _ -) +Name: libcdk +Epoch: 1 +Version: 5.0_20120323 +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-%{pkgver}.tgz +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +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 == %{?epoch:%epoch:}%{version}-%{release} + +%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 +%setup -q -n cdk-%{pkgver} + +%build +./configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --libdir=%{_libdir} \ + --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}/libcdk.so.* + +%files devel +%defattr(-,root,root) +%attr(0755,root,root) %{_bindir}/cdk5-config +%dir %{_includedir}/cdk/ +%{_includedir}/cdk.h +%{_includedir}/cdk/*.h +%{_libdir}/libcdk.a +%{_libdir}/libcdk.la +%{_libdir}/libcdk.so +%{_mandir}/man3/* +%{_docdir}/cdk/* + +%changelog +* Thu May 23 2013 Silvan Calarco 5.0_20120323-1mamba +- update to 5.0_20120323 +- set executable permissions to cdk5-config +- bump epoch up + +* Thu May 23 2013 Silvan Calarco 20120323-2mamba +- set executable permissions for /usr/bin/cdk5-config + +* Wed Jun 13 2012 Automatic Build System 20120323-1mamba +- automatic version update by autodist + +* Sun May 22 2011 Automatic Build System 20110517-1mamba +- automatic update by autodist + +* 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