SHA256
3
0
forked from pool/libedit

Accepting request 92856 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/92856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2011-11-21 14:45:59 +00:00 committed by Git OBS Bridge
commit 5b7fa6a570
2 changed files with 8 additions and 31 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 13 14:49:40 UTC 2011 - jengelh@medozas.de
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Use %_smp_mflags for parallel building
-------------------------------------------------------------------
Sun Nov 13 09:15:50 UTC 2011 - coolo@suse.com

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libedit
@ -31,7 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ ncurses-devel pkgconfig
BuildRequires: libtool
#
Url: http://www.thrysoee.dk/editline/
URL: http://www.thrysoee.dk/editline/
# http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz
Source: %{pkg_name}-%{pkg_version}.tar.bz2
Source1: README.SuSE
@ -46,23 +45,13 @@ libedit is a command line editing and history library. It is designed
to be used by interactive programs that allow the user to type commands
at a terminal prompt.
Authors:
--------
Jess Thrysoee
%define library_name libedit0
%define soname 0
%package -n %{library_name}
License: BSD3c
Group: Development/Libraries/C and C++
Provides: %{pkg_name} = %{version}-%{release}
Obsoletes: %{pkg_name} < %{version}
#
Summary: Command Line Editing and History Library
%description -n %{library_name}
@ -70,20 +59,11 @@ libedit is a command line editing and history library. It is designed
to be used by interactive programs that allow the user to type commands
at a terminal prompt.
Authors:
--------
Jess Thrysoee
%package -n libedit-devel
License: BSD3c
Group: Development/Libraries/C and C++
Requires: %{library_name} = %{version}
Provides: %{library_name}-devel = %{version}-%{release}
Requires: glibc-devel
#
Summary: Development files for libedit
%description -n libedit-devel
@ -93,12 +73,6 @@ at a terminal prompt.
This package holds the development files for libedit.
Authors:
--------
Jess Thrysoee
%prep
%setup -n %{pkg_name}-%{pkg_version}
%{__cp} %{S:1} .
@ -111,15 +85,12 @@ NOCONFIGURE=1 autoreconf -fiv
--disable-silent-rules \
--enable-widec
%__make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
%__rm "%{buildroot}%{_libdir}"/*.la
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%check
make check