1 Summary: libxml2 C++ wrapper
2 Summary(pl.UTF-8): Wiązania C++ dla libxml2
8 Vendor: Peter J Jones <pjones@pmade.org>
9 Source0: http://pmade.org/software/xmlwrapp/download/%{name}-%{version}.tar.gz
10 # Source0-md5: b8a07e77f8f8af9ca96bccab7d9dd310
11 URL: http://pmade.org/software/xmlwrapp/
12 BuildRequires: libxml2-devel
13 BuildRequires: libxslt-devel >= 1.0.23
14 BuildRequires: perl-base
15 BuildRequires: pkgconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 xmlwrapp is a modern style C++ library for working with XML data. It
20 provides a simple and easy to use interface for the very powerful
21 libxml2 XML parser and the libxslt XSLT engine.
23 %description -l pl.UTF-8
24 xmlwrapp jest nowoczesną biblioteką napisaną w C++, służącą do pracy z
25 danymi w formacie XML. Dostarcza ona proste i łatwe w użyciu
26 międzymordzie do libxml2 oraz libxslt.
29 Summary: Development files for xmlwrapp
30 Summary(pl.UTF-8): Pliki nagłówkowe dla xmlwrapp
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Development files for xmlwrapp.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe dla xmlwrapp.
41 Summary: Static libraries for xmlwrapp
42 Summary(pl.UTF-8): Biblioteki statyczne dla xmlwrapp
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static libraries for xmlwrapp.
49 %description static -l pl.UTF-8
50 Biblioteki statyczne dla xmlwrapp.
57 %{__perl} ./configure.pl \
58 --prefix $RPM_BUILD_ROOT%{_prefix}
63 rm -rf $RPM_BUILD_ROOT
66 %{__perl} -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT{%{_bindir}/*,%{_pkgconfigdir}/*}
68 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
71 test -d $f || continue
72 install $f/example.cxx $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$f.cc
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/*.so.*
84 %defattr(644,root,root,755)
85 # TODO: process this docbook, generate doxygen stuff
86 %doc README docs/CREDITS docs/TODO docs/manual docs/project
87 %attr(755,root,root) %{_bindir}/*
88 %attr(755,root,root) %{_libdir}/*.so
90 %{_pkgconfigdir}/%{name}.pc
91 %{_examplesdir}/%{name}-%{version}
94 %defattr(644,root,root,755)