update to 5.0_20120323

set executable permissions to cdk5-config
bump epoch up [release 5.0_20120323-1mamba;Thu May 23 2013]
This commit is contained in:
Silvan Calarco 2024-01-06 03:58:24 +01:00
parent 3cd2e6e1df
commit 14717d6c20
2 changed files with 89 additions and 0 deletions

View File

@ -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.

87
libcdk.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 5.0_20120323-1mamba
- update to 5.0_20120323
- set executable permissions to cdk5-config
- bump epoch up
* Thu May 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120323-2mamba
- set executable permissions for /usr/bin/cdk5-config
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 20120323-1mamba
- automatic version update by autodist
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 20110517-1mamba
- automatic update by autodist
* Wed Jul 29 2009 Automatic Build System <autodist@mambasoft.it> 20090215-1mamba
- automatic update by autodist
* Tue Jul 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 20060507-1mamba
- update to 20060507
* Wed Apr 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 20031210-1qilnx
- first build