/[packages]/cauldron/libxml++/current/SPECS/libxml++.spec
ViewVC logotype

Contents of /cauldron/libxml++/current/SPECS/libxml++.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1799848 - (show annotations) (download)
Sat Mar 19 07:17:31 2022 UTC (2 years, 1 month ago) by umeabot
File size: 2151 byte(s)
Mageia 9 Mass Rebuild
1 %define major 1
2 %define api_version 3.0
3 %define libname %mklibname xml++ %{api_version} %major
4 %define libnamedev %mklibname -d xml++ %{api_version}
5
6 %define url_ver %(echo %{version}|cut -d. -f1,2)
7
8 Name: libxml++
9 Summary: C++ interface for working with XML files
10 Version: 3.2.3
11 Release: %mkrel 2
12 Source: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
13 URL: http://libxmlplusplus.sf.net/
14 License: LGPLv2+
15 Group: System/Libraries
16 BuildRequires: pkgconfig(glibmm-2.4) >= 2.4.0
17 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.1
18 BuildRequires: doxygen
19 BuildRequires: meson
20
21 %description
22 libxml++ is a C++ interface for working with XML files, using libxml
23 (gnome-xml) to parse and write the actual XML files. It has a simple
24 but complete API.
25
26 %package -n %{libname}
27 Summary: C++ interface for working with XML files
28 Group: System/Libraries
29
30 %description -n %{libname}
31 libxml++ is a C++ interface for working with XML files, using libxml
32 (gnome-xml) to parse and write the actual XML files. It has a simple
33 but complete API.
34
35 %package -n %{libnamedev}
36 Summary: Headers for developing programs that will use %name
37 Group: Development/C++
38 Provides: %{name}-devel = %{version}-%{release}
39 Provides: %{name}%{api_version}-devel = %{version}-%{release}
40 Requires: %{libname} = %{version}
41 Obsoletes: %mklibname -d xml++ 2.6 2
42
43 %description -n %{libnamedev}
44 This package contains the headers that programmers will need to develop
45 applications which will use libraries from %name.
46
47 %prep
48 %setup -q
49
50 %build
51 %meson \
52 -Dbuild-documentation=true
53 %meson_build
54
55 %install
56 %meson_install
57
58 rm -f %{buildroot}%{_libdir}/*.la
59
60 %files -n %{libname}
61 %{_libdir}/libxml++-%{api_version}.so.%{major}
62 %{_libdir}/libxml++-%{api_version}.so.%{major}.*
63
64 %files -n %{libnamedev}
65 %doc AUTHORS ChangeLog NEWS README
66 %doc %_datadir/doc/%name-%{api_version}/reference
67 %doc %_datadir/doc/%name-%{api_version}/manual/html
68 %_datadir/devhelp/books/%name-%{api_version}/%name-%{api_version}.devhelp2
69 %{_includedir}/*
70 %dir %_libdir/libxml++-%{api_version}
71 %_libdir/libxml++-%{api_version}/include/libxml++config.h
72 %{_libdir}/pkgconfig/*.pc
73 %{_libdir}/*.so

  ViewVC Help
Powered by ViewVC 1.1.30