]> git.pld-linux.org Git - packages/cdk.git/commitdiff
- initial version (based on mhash.spec)
authormis <mis@pld-linux.org>
Tue, 27 Jun 2000 16:37:25 +0000 (16:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdk.spec -> 1.1

cdk.spec [new file with mode: 0644]

diff --git a/cdk.spec b/cdk.spec
new file mode 100644 (file)
index 0000000..e900832
--- /dev/null
+++ b/cdk.spec
@@ -0,0 +1,99 @@
+%define         ver_ver     4.9.9
+%define         ver_release 20000407
+
+Summary:       Curses Development Kit
+Name:          cdk
+Version:       %{ver_ver}_td%{ver_release}
+Release:       1
+License:       BSD
+Group:         Libraries
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+URL:           http://dickey.his.com/cdk/cdk.html
+Source0:       ftp://dickey.his.com/cdk/%{name}.tar.gz
+Patch0:                %{name}-mkshlib.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CDK is a widget set developed on top of the basic curses library. It
+contains 21 ready to use widgets. Some which are a text entry field, 
+a scrolling list, a selection list, a alphalist, pull-down menu, radio
+list, viewer widget, dialog box, and many more.
+
+This version of CDK is maintained by Thomas Dickey and is not the same
+as that at http://www.vexus.ca/CDK.html.
+
+%package devel
+Summary:       Header files and development documentation for CDK library
+Summary(pl):   Pliki nag³ówkowe i dokumentacja do CDK
+Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name} = %{version}
+
+%description devel
+Header files and development documentation for CDK library. This
+version is maintained by Thomas Dickey and is not the same as that 
+at http://www.vexus.ca/CDK.html.
+
+%package static
+Summary:       Static version of CDK library
+Summary(pl):   Statyczna wersja biblioteki CDK
+Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static version of CDK library. This version is maintained by Thomas
+Dickey and is not the same as that at http://www.vexus.ca/CDK.html.
+
+%prep
+%setup -q -n %{name}-%{ver_ver}-%{ver_release}
+%patch0 -p1
+
+%build
+# -funsigned-char gets valid 8bit display
+CFLAGS="$RPM_OPT_FLAGS -funsigned-char"; 
+%configure --disable-x --with-ncurses
+%{__make}
+%{__make} cdkshlib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} DESTDIR="$RPM_BUILD_ROOT" installCDKSHLibrary installCDKLibrary  
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/*.so.*.* 
+
+%{__make} DESTDIR="$RPM_BUILD_ROOT" installCDKHeaderFiles installCDKManPages
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/*
+gzip -9nf {BUGS,CHANGES,COPYING,EXPANDING,INSTALL,NOTES,README,TODO}
+
+for d in demos examples; do 
+   rm -f $d/Makefile.in
+   mkf=$d/Makefile
+   sed 's|\-I%{_prefix}/X11R6/include|\-I%{_includedir}/cdk/|' <$mkf >$mkf.fix
+   mv -f $mkf.fix $mkf
+done
+
+%post  -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
+%{_mandir}/man3/*
+%doc {BUGS,CHANGES,COPYING,EXPANDING,INSTALL,NOTES,README,TODO}.gz
+%doc examples demos
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.076467 seconds and 4 git commands to generate.