This commit is contained in:
parent
e94789186c
commit
04d0f419c8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 8 16:26:52 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 29 11:19:12 CEST 2007 - meissner@suse.de
|
Thu Mar 29 11:19:12 CEST 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
72
cdk.spec
72
cdk.spec
@ -1,22 +1,30 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cdk (Version 4.9.13)
|
# spec file for package cdk (Version 4.9.13)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: cdk
|
Name: cdk
|
||||||
License: BSD License and BSD-like
|
License: BSD 3-Clause
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 4.9.13
|
Version: 4.9.13
|
||||||
Release: 43
|
Release: 138
|
||||||
Summary: The Runtime for the Curses Development Kit
|
Summary: The Runtime for the Curses Development Kit
|
||||||
Source: cdk-4.9.13.tar.bz2
|
Source: cdk-4.9.13.tar.bz2
|
||||||
Patch: cdk-4.9.13.dif
|
Patch: cdk-4.9.13.dif
|
||||||
@ -35,10 +43,11 @@ Authors:
|
|||||||
Mike Glover <glover@credit.erin.utoronto.ca>
|
Mike Glover <glover@credit.erin.utoronto.ca>
|
||||||
|
|
||||||
%package -n cdk-devel
|
%package -n cdk-devel
|
||||||
|
License: BSD 3-Clause
|
||||||
Summary: Development Part of Curses Development Kit
|
Summary: Development Part of Curses Development Kit
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: cdk ncurses-devel
|
Requires: %{name} = %{version} ncurses-devel
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%description -n cdk-devel
|
%description -n cdk-devel
|
||||||
This package includes the development headers and static libraries for
|
This package includes the development headers and static libraries for
|
||||||
@ -51,9 +60,10 @@ Authors:
|
|||||||
Mike Glover <glover@credit.erin.utoronto.ca>
|
Mike Glover <glover@credit.erin.utoronto.ca>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%setup -q
|
||||||
%setup
|
|
||||||
%patch -P 0 -p0
|
%patch -P 0 -p0
|
||||||
|
|
||||||
|
%build
|
||||||
touch NEWS AUTHORS
|
touch NEWS AUTHORS
|
||||||
ln -sf CHANGES ChangeLog
|
ln -sf CHANGES ChangeLog
|
||||||
CFLAGS="${RPM_OPT_FLAGS} -pipe"
|
CFLAGS="${RPM_OPT_FLAGS} -pipe"
|
||||||
@ -63,31 +73,23 @@ PATH=$PATH:.
|
|||||||
export CFLAGS CC LDFLAGS PATH
|
export CFLAGS CC LDFLAGS PATH
|
||||||
%{?suse_update_config}
|
%{?suse_update_config}
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
./configure --prefix=/usr \
|
%configure --includedir=/usr/include/cdk \
|
||||||
--exec-prefix=/usr \
|
|
||||||
--infodir=/usr/share/info \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--sharedstatedir=/var/lib \
|
|
||||||
--libexecdir=%{_libdir} \
|
|
||||||
--libdir=%{_libdir}\
|
|
||||||
--includedir=/usr/include/cdk \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--disable-static \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--build=%{_target_cpu}-suse-linux
|
--with-pic
|
||||||
make
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -98,28 +100,28 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n cdk-devel
|
%files -n cdk-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libcdk.so
|
%{_libdir}/libcdk.so
|
||||||
%{_libdir}/libcdk.la
|
|
||||||
%{_libdir}/libcdk.a
|
|
||||||
/usr/include/cdk
|
/usr/include/cdk
|
||||||
/usr/share/man/man3/cdk_*.3.gz
|
/usr/share/man/man3/cdk_*.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 29 2007 - meissner@suse.de
|
* Sun Mar 08 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries
|
||||||
|
* Thu Mar 29 2007 meissner@suse.de
|
||||||
- added ncurses-devel
|
- added ncurses-devel
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Tue Nov 23 2004 - werner@suse.de
|
* Tue Nov 23 2004 werner@suse.de
|
||||||
- Add cdk to required packages for cdk-devel (bug #48405)
|
- Add cdk to required packages for cdk-devel (bug #48405)
|
||||||
- Update to cdk 4.9.13
|
- Update to cdk 4.9.13
|
||||||
* Sat Jan 10 2004 - adrian@suse.de
|
* Sat Jan 10 2004 adrian@suse.de
|
||||||
- add %%defattr and %%run_ldconfig
|
- add %%defattr and %%run_ldconfig
|
||||||
* Wed Jan 08 2003 - werner@suse.de
|
* Wed Jan 08 2003 werner@suse.de
|
||||||
- cdk-devel requires ncurses-devel (bug# 20065)
|
- cdk-devel requires ncurses-devel (bug# 20065)
|
||||||
* Tue Apr 30 2002 - sf@suse.de
|
* Tue Apr 30 2002 sf@suse.de
|
||||||
- changed paths to %%{_libdir}
|
- changed paths to %%{_libdir}
|
||||||
* Mon Apr 08 2002 - ro@suse.de
|
* Mon Apr 08 2002 ro@suse.de
|
||||||
- call autoreconf
|
- call autoreconf
|
||||||
* Wed Nov 14 2001 - werner@suse.de
|
* Wed Nov 14 2001 werner@suse.de
|
||||||
- New package cdk (Curses Development Kit) which provides an
|
- New package cdk (Curses Development Kit) which provides an
|
||||||
easy interface for programmers to (n)curses. Is used e.g.
|
easy interface for programmers to (n)curses. Is used e.g.
|
||||||
by curses based programs like ntuxzap from DVB driver package.
|
by curses based programs like ntuxzap from DVB driver package.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user