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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1799848 - (hide annotations) (download)
Sat Mar 19 07:17:31 2022 UTC (4 months, 3 weeks ago) by umeabot
File size: 2151 byte(s)
Mageia 9 Mass Rebuild
1 ovitters 935401 %define major 1
2 wally 907017 %define api_version 3.0
3 dmorgan 16606 %define libname %mklibname xml++ %{api_version} %major
4     %define libnamedev %mklibname -d xml++ %{api_version}
5    
6 ovitters 583253 %define url_ver %(echo %{version}|cut -d. -f1,2)
7    
8 dmorgan 16606 Name: libxml++
9     Summary: C++ interface for working with XML files
10 ovitters 1728632 Version: 3.2.3
11 umeabot 1799848 Release: %mkrel 2
12 ovitters 583253 Source: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
13 dmorgan 16606 URL: http://libxmlplusplus.sf.net/
14     License: LGPLv2+
15     Group: System/Libraries
16 fwang 209716 BuildRequires: pkgconfig(glibmm-2.4) >= 2.4.0
17     BuildRequires: pkgconfig(libxml-2.0) >= 2.6.1
18 dmorgan 16606 BuildRequires: doxygen
19 ovitters 1631856 BuildRequires: meson
20 dmorgan 16606
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 ovitters 1631861 %meson \
52     -Dbuild-documentation=true
53 ovitters 1631856 %meson_build
54 dmorgan 16606
55     %install
56 ovitters 1631856 %meson_install
57 dmorgan 16606
58 fwang 131763 rm -f %{buildroot}%{_libdir}/*.la
59    
60 dmorgan 16606 %files -n %{libname}
61 wally 907017 %{_libdir}/libxml++-%{api_version}.so.%{major}
62     %{_libdir}/libxml++-%{api_version}.so.%{major}.*
63 dmorgan 16606
64     %files -n %{libnamedev}
65     %doc AUTHORS ChangeLog NEWS README
66     %doc %_datadir/doc/%name-%{api_version}/reference
67 ovitters 1631862 %doc %_datadir/doc/%name-%{api_version}/manual/html
68 dmorgan 16606 %_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.28