Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3:Staging:A
augeas
augeas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File augeas.spec of Package augeas
# # spec file for package augeas # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # %define libname lib%{name}0 Name: augeas Version: 1.2.0 Release: 0 Summary: An utility for changing configuration files License: GPL-3.0+ and LGPL-2.1+ Group: System/Libraries Url: http://augeas.net/ Source0: http://download.augeas.net/augeas-%{version}.tar.gz Source1: http://download.augeas.net/augeas-%{version}.tar.gz.sig Source2: %{name}.keyring Source3: baselibs.conf # backport of new ntp lense. It is required to be able to parse ntp.conf with # "restrict -4 default" # can be removed when augeas is updated to at least 1.5.0 Source4: ntp.aug Patch0: augeas-modprobe-lense.patch Patch1: augeas-device_map-grub2.patch Patch2: bnc925225-aug_escape.patch Patch3: 27d8457-inputrc-mapping.patch Patch4: 2d12670-inputrc-else.patch Patch5: 49bcfbe-shellvars-exclude-SuSEfirewall2.patch Patch6: 7558c12-host_conf-spaces.patch Patch7: 2686edf4-iproute2-hex-ids.patch Patch8: bd6c783d-iproute2-handle-slash.patch Patch9: c59d33dc-rmt-lens.patch Patch10: 02f5bef6-sssd-semicolon.patch Patch11: e3101393-allow-partial-quoting-mixing-multiple-styl.patch Patch12: shellvars-exclude.patch Patch13: 0001-Add-lens-to-parse-etc-default-star.patch Patch14: 0001-smbusers-add-support-for-comments.patch BuildRequires: automake BuildRequires: glib2-devel BuildRequires: libxml2-devel BuildRequires: readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description An utility for programmatically editing configuration files. Augeas parses configuration files into a tree structure. The transformation works very hard to preserve comments and formatting details. It is controlled by ``lens'' definitions that describe the file format and the transformation into a tree. %package devel Summary: A library for changing configuration files Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel A library for programmatically editing configuration files. Augeas parses configuration files into a tree structure, which it exposes through its public API. Changes made through the API are written back to the initially read files. The transformation works very hard to preserve comments and formatting details. It is controlled by ``lens'' definitions that describe the file format and the transformation into a tree. %package -n %{libname} Summary: A library for changing configuration files Group: Development/Libraries/C and C++ Recommends: %{name}-lenses = %{version} %description -n %{libname} A library for programmatically editing configuration files. Augeas parses configuration files into a tree structure, which it exposes through its public API. Changes made through the API are written back to the initially read files. The transformation works very hard to preserve comments and formatting details. It is controlled by ``lens'' definitions that describe the file format and the transformation into a tree. %package lenses Summary: Official set of lenses for use by %{libname} Group: Development/Libraries/Other Requires: %{libname} = %{version} %description lenses Augeas parses configuration files described in lenses into a tree structure, which it exposes through its public API. Lenses are the building blocks of the file <-> tree transformation. The transformation is controlled by ``lens'' definitions that describe the file format and mapping of its contents into a tree. This package includes the official set of lenses. %package lense-tests Summary: Set of tests for official Augeas lenses Group: Development/Libraries/Other Requires: %{name}-lenses = %{version} %description lense-tests Set of tests for official Augeas lenses. These can be used when modifying the official lenses, or when creating new ones. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %build export CFLAGS="-Wno-error %{optflags}" %configure \ --disable-static \ --disable-silent-rules \ --disable-rpath make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print # move vim files to the right location mv %{buildroot}/%{_datadir}/vim/vimfiles %{buildroot}/%{_datadir}/vim/site cp %{SOURCE4} %{buildroot}/usr/share/augeas/lenses/dist/ %check # Fails 2 thread based tests make check %{?_smp_mflags} || : %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/augtool %{_bindir}/augparse %{_bindir}/fadot %{_mandir}/man1/* %doc AUTHORS COPYING NEWS %files -n %{libname} %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/augeas.pc # vim support files %dir %{_datadir}/vim %dir %{_datadir}/vim/site %dir %{_datadir}/vim/site/ftdetect %{_datadir}/vim/site/ftdetect/augeas.vim %dir %{_datadir}/vim/site/syntax %{_datadir}/vim/site/syntax/augeas.vim %files lenses %defattr(-,root,root,-) %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/lenses %dir %{_datadir}/%{name}/lenses/dist %{_datadir}/%{name}/lenses/dist/*.aug %files lense-tests %defattr(-,root,root,-) %dir %{_datadir}/%{name}/lenses/dist/tests %{_datadir}/%{name}/lenses/dist/tests/*.aug %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor