"Fossies" - the Fresh Open Source Software Archive

Member "cdk-5.0-20141106/package/cdk.spec" (6 Nov 2014, 2303 Bytes) of archive /linux/misc/cdk-5.0-20141106.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

$Id: cdk.spec,v 1.34 2014/11/06 09:55:51 tom Exp $

Summary: Curses Development Kit %define AppProgram cdk %define AppVersion 5.0 %define AppRelease 20141106 Name: %{AppProgram} Version: %{AppVersion} Release: %{AppRelease} License: BSD (4-clause) Group: Development/Libraries URL: http://invisible-island.net/%{name}/ Source0: %{name}-%{version}-%{release}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: ncurses-devel

%description Cdk stands for “Curses Development Kit”. It contains a large number of 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 %define debug_package %{nil} %setup -q -n %{name}-%{version}-%{release}

%build %configure make all find . -name ‘*.o’ -exec rm -f {} \;

%configure –with-shared –with-versioned-syms

make %{?_smp_mflags} cdkshlib

make all

%install rm -rf $RPM_BUILD_ROOT make install.libs install \ DESTDIR=$RPM_BUILD_ROOT \ DOCUMENT_DIR=$RPM_BUILD_ROOT%{defaultdocdir}/%{name} ls -l $RPM_BUILD_ROOT%{libdir} chmod +x $RPM_BUILD_ROOT%{libdir}/*.so # fixes rpmlint unstripped-binary-or-object install -m 644 libcdk.a $RPM_BUILD_ROOT%{libdir}

%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 %exclude %{_mandir}/man3/ %{_defaultdocdir}/%{name}/*

%files devel %defattr(-,root,root,-) %doc EXPANDING TODO examples demos %{libdir}/*.a %{libdir}/.so %{bindir}/cdk5-config %{mandir}/man3/ %{includedir}/%{name}.h %{includedir}/%{name}

%changelog