Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36927537
en ru br
ALT Linux repos
S:0.18.3-alt1
5.0: 0.18.1-alt1.1
4.1: 0.18.1-alt1.1

Group :: System/Libraries
RPM: libnxml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libnxml
Version: 0.18.1
Release: alt2.qa1

Summary: C library for parsing, writing and creating XML 1.0 and 1.1 files or streams
License: LGPL 2.1
Group: System/Libraries

Url: http://www5.autistici.org/bakunin/codes.php
Source: http://www5.autistici.org/bakunin/libnxml/%name-%version.tar.gz

Packager: Andrey Alexandrov <demion at altlinux.ru>
BuildRequires: libcurl-devel

%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name
%endif

%description
nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams.
It supports utf-8, utf-16be and utf-16le, ucs-4 (1234, 4321, 2143, 2312).

%prep
%setup

%build
%configure %{subst_enable static}
%make_build

%install
%make_install install DESTDIR=%buildroot

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog README NEWS

%files devel
%_libdir/*.so
%_includedir/*.h
%_pkgconfigdir/nxml.pc

%if_enabled static
%files -n lib%name-devel-static
%_libdir/%name.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin