/[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 16606 - (hide annotations) (download)
Thu Jan 13 21:56:25 2011 UTC (11 years, 7 months ago) by dmorgan
File size: 2275 byte(s)
imported package libxml++
1 dmorgan 16606 %define version 2.32.0
2     %define release %mkrel 1
3    
4     %define major 2
5     %define api_version 2.6
6     %define libname %mklibname xml++ %{api_version} %major
7     %define libnamedev %mklibname -d xml++ %{api_version}
8    
9     Name: libxml++
10     Summary: C++ interface for working with XML files
11     Version: %{version}
12     Release: %{release}
13     Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
14     URL: http://libxmlplusplus.sf.net/
15     License: LGPLv2+
16     Group: System/Libraries
17     BuildRoot: %{_tmppath}/libxmlpp-%{version}-buildroot
18     BuildRequires: libxml2-devel >= 2.6.1 glibmm2.4-devel >= 2.4.0
19     BuildRequires: doxygen
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     %configure2_5x
52     %make
53    
54     %install
55     rm -rf $RPM_BUILD_ROOT
56     %makeinstall_std
57    
58     %clean
59     rm -rf $RPM_BUILD_ROOT
60    
61     %if %mdkversion < 200900
62     %post -n %{libname} -p /sbin/ldconfig
63     %endif
64     %if %mdkversion < 200900
65     %postun -n %{libname} -p /sbin/ldconfig
66     %endif
67    
68     %files -n %{libname}
69     %defattr(-,root,root)
70     %{_libdir}/libxml++-%{api_version}.so.%{major}*
71    
72     %files -n %{libnamedev}
73     %defattr(-,root,root)
74     %doc AUTHORS ChangeLog NEWS README
75     %doc %_datadir/doc/%name-%{api_version}/reference
76     %_datadir/devhelp/books/%name-%{api_version}/%name-%{api_version}.devhelp2
77     %{_includedir}/*
78     %dir %_libdir/libxml++-%{api_version}
79     %_libdir/libxml++-%{api_version}/include/libxml++config.h
80     %{_libdir}/pkgconfig/*.pc
81     %{_libdir}/*.so
82     %attr(644,root,root) %{_libdir}/*.la
83    
84    
85    
86    

  ViewVC Help
Powered by ViewVC 1.1.28