0.3.3
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxmlpatch?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
libxmlpatch-0.3.3.tar.bz2
Normal file
3
libxmlpatch-0.3.3.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:834f9d18afe4b6f93c6ab80c930c343aed1f481ed985612d5678bdab4df039c6
|
||||
size 315401
|
||||
11
libxmlpatch-upgrade_check.patch
Normal file
11
libxmlpatch-upgrade_check.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- tests/check_diff.c.orig 2011-04-03 00:50:21.000000000 +0200
|
||||
+++ tests/check_diff.c 2011-04-03 00:51:46.000000000 +0200
|
||||
@@ -259,7 +259,7 @@
|
||||
static void
|
||||
add_test (TCase *tc, int i)
|
||||
{
|
||||
- _tcase_add_test (tc, arr_tests[i].fn, arr_tests[i].name, 0, 0, 1);
|
||||
+ _tcase_add_test (tc, arr_tests[i].fn, arr_tests[i].name, 0, 0, 1, 1);
|
||||
}
|
||||
|
||||
static void
|
||||
5
libxmlpatch.changes
Normal file
5
libxmlpatch.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 02 23:01:09 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- initial version (0.3.3)
|
||||
|
||||
114
libxmlpatch.spec
Normal file
114
libxmlpatch.spec
Normal file
@@ -0,0 +1,114 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
||||
Name: libxmlpatch
|
||||
%define soname 0
|
||||
Version: 0.3.3
|
||||
Release: 0
|
||||
Summary: XML Patch Library
|
||||
# http://prdownloads.sourceforge.net/xmlpatch/libxmlpatch-%{version}.tar.gz
|
||||
Source: libxmlpatch-%{version}.tar.bz2
|
||||
Patch1: libxmlpatch-upgrade_check.patch
|
||||
URL: http://xmlpatch.sourceforge.net/
|
||||
Group: System/Libraries
|
||||
License: GNU Lesser General Public License version 2.1 or later (LGPL v2.1 or later)
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: gcc make glibc-devel pkgconfig
|
||||
BuildRequires: autoconf automake libtool
|
||||
|
||||
%description
|
||||
Extensible Markup Language (XML) documents are widely used as containers for
|
||||
the exchange and storage of arbitrary data in today's systems. Updates to this
|
||||
data requires exchanging of the entire XML document between hosts, unless
|
||||
there's a mechanism that allows exchanging only the updates of XML documents.
|
||||
|
||||
%package -n %{name}%{soname}
|
||||
Summary: XML Patch Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{name}%{soname}
|
||||
Extensible Markup Language (XML) documents are widely used as containers for
|
||||
the exchange and storage of arbitrary data in today's systems. Updates to this
|
||||
data requires exchanging of the entire XML document between hosts, unless
|
||||
there's a mechanism that allows exchanging only the updates of XML documents.
|
||||
|
||||
This package contains the runtime environment for the xmlpatch framework
|
||||
utilizing XML Path language (XPath) selectors with the aid of which a set of
|
||||
patches can be applied to an existing initial XML document.
|
||||
|
||||
%package devel
|
||||
Summary: XML Patch Library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Extensible Markup Language (XML) documents are widely used as containers for
|
||||
the exchange and storage of arbitrary data in today's systems. Updates to this
|
||||
data requires exchanging of the entire XML document between hosts, unless
|
||||
there's a mechanism that allows exchanging only the updates of XML documents.
|
||||
|
||||
This package contains the development environment for the xmlpatch framework
|
||||
utilizing XML Path language (XPath) selectors with the aid of which a set of
|
||||
patches can be applied to an existing initial XML document.
|
||||
|
||||
%package -n xmlpatch
|
||||
Summary: XML Patch Command-Line Utilities
|
||||
Group: Productivity/Text/Utilities
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n xmlpatch
|
||||
Extensible Markup Language (XML) documents are widely used as containers for
|
||||
the exchange and storage of arbitrary data in today's systems. Updates to this
|
||||
data requires exchanging of the entire XML document between hosts, unless
|
||||
there's a mechanism that allows exchanging only the updates of XML documents.
|
||||
|
||||
This package contains command-line tools to perform diffs and patch on XML
|
||||
files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%__make %{?_smp_flags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||
%__rm -rf "%{buildroot}%{_libdir}/tests"
|
||||
|
||||
%post -n libxmlpatch%{soname} -p /sbin/ldconfig
|
||||
%postun -n libxmlpatch%{soname} -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -n libxmlpatch%{soname}
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING ChangeLog LEGAL_NOTICE README TODO
|
||||
%{_libdir}/libxmlpatch.so.%{soname}
|
||||
%{_libdir}/libxmlpatch.so.%{soname}.*
|
||||
%{_libdir}/libxmldiff.so.%{soname}
|
||||
%{_libdir}/libxmldiff.so.%{soname}.*
|
||||
|
||||
%files -n xmlpatch
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/xml_diff
|
||||
%{_bindir}/xml_patch
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libxmldiff
|
||||
%{_includedir}/libxmlpatch
|
||||
%{_libdir}/libxmldiff.so
|
||||
%{_libdir}/libxmldiff.a
|
||||
%{_libdir}/libxmlpatch.so
|
||||
%{_libdir}/libxmlpatch.a
|
||||
%{_libdir}/pkgconfig/libxmldiff.pc
|
||||
%{_libdir}/pkgconfig/libxmlpatch.pc
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user