Accepting request 105933 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/105933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=23
This commit is contained in:
commit
d838b8587b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 11 03:09:32 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove rednudant tags/sections from specfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 26 12:38:03 UTC 2012 - dmacvicar@suse.de
|
Thu Jan 26 12:38:03 UTC 2012 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
22
augeas.spec
22
augeas.spec
@ -16,13 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: augeas
|
Name: augeas
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: A library for changing configuration files
|
Summary: A library for changing configuration files
|
||||||
Group: System/Libraries
|
|
||||||
License: GPL-3.0+ ; LGPL-2.1+
|
License: GPL-3.0+ ; LGPL-2.1+
|
||||||
|
Group: System/Libraries
|
||||||
Url: http://augeas.net/
|
Url: http://augeas.net/
|
||||||
Source0: http://augeas.net/download/augeas-%{version}.tar.gz
|
Source0: http://augeas.net/download/augeas-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
@ -30,7 +29,8 @@ Patch0: augeas-modprobe-lense.patch
|
|||||||
# PATCH-FIX-OPENSUSE bnc-729491-recognize-suse-sysconfig-files.patch [bnc#729491]
|
# PATCH-FIX-OPENSUSE bnc-729491-recognize-suse-sysconfig-files.patch [bnc#729491]
|
||||||
Patch1: bnc-729491-recognize-suse-sysconfig-files.patch
|
Patch1: bnc-729491-recognize-suse-sysconfig-files.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: glib2-devel readline-devel
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for programmatically editing configuration files. Augeas
|
A library for programmatically editing configuration files. Augeas
|
||||||
@ -45,7 +45,6 @@ file format and the transformation into a tree.
|
|||||||
%define __shrlibname lib%{name}0
|
%define __shrlibname lib%{name}0
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL-3.0+ ; LGPL-2.1+
|
|
||||||
Summary: A library for changing configuration files
|
Summary: A library for changing configuration files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{__shrlibname} = %{version}
|
Requires: %{__shrlibname} = %{version}
|
||||||
@ -61,7 +60,6 @@ details. It is controlled by ``lens'' definitions that describe the
|
|||||||
file format and the transformation into a tree.
|
file format and the transformation into a tree.
|
||||||
|
|
||||||
%package -n %{__shrlibname}
|
%package -n %{__shrlibname}
|
||||||
License: GPL-3.0+ ; LGPL-2.1+
|
|
||||||
Summary: A library for changing configuration files
|
Summary: A library for changing configuration files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Recommends: %{name}-lenses = %{version}
|
Recommends: %{name}-lenses = %{version}
|
||||||
@ -77,7 +75,6 @@ details. It is controlled by ``lens'' definitions that describe the
|
|||||||
file format and the transformation into a tree.
|
file format and the transformation into a tree.
|
||||||
|
|
||||||
%package lenses
|
%package lenses
|
||||||
License: GPL-3.0+ ; LGPL-2.1+
|
|
||||||
Summary: Official set of lenses for use by %{__shrlibname}
|
Summary: Official set of lenses for use by %{__shrlibname}
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: %{__shrlibname} = %{version}
|
Requires: %{__shrlibname} = %{version}
|
||||||
@ -91,7 +88,6 @@ mapping of its contents into a tree. This package includes the official
|
|||||||
set of lenses.
|
set of lenses.
|
||||||
|
|
||||||
%package lense-tests
|
%package lense-tests
|
||||||
License: GPL-3.0+ ; LGPL-2.1+
|
|
||||||
Summary: Set of tests for official Augeas lenses
|
Summary: Set of tests for official Augeas lenses
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: %{name}-lenses = %{version}
|
Requires: %{name}-lenses = %{version}
|
||||||
@ -108,19 +104,17 @@ modifying the official lenses, or when creating new ones.
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="-Wno-error $RPM_OPT_FLAGS"
|
export CFLAGS="-Wno-error $RPM_OPT_FLAGS"
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
%{__make} %_smp_mflags
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
# move vim files to the right location
|
# move vim files to the right location
|
||||||
mv $RPM_BUILD_ROOT/%{_datadir}/vim/vimfiles $RPM_BUILD_ROOT/%{_datadir}/vim/site
|
mv $RPM_BUILD_ROOT/%{_datadir}/vim/vimfiles $RPM_BUILD_ROOT/%{_datadir}/vim/site
|
||||||
|
|
||||||
%post -n %{__shrlibname}
|
%post -n %{__shrlibname} -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n %{__shrlibname}
|
%postun -n %{__shrlibname} -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user