/[packages]/cauldron/libgdome/current/SPECS/libgdome.spec
ViewVC logotype

Contents of /cauldron/libgdome/current/SPECS/libgdome.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59370 - (show annotations) (download)
Fri Feb 25 09:52:31 2011 UTC (12 years, 9 months ago) by ennael
File size: 2156 byte(s)
clean spec file

1 %define src_name gdome2
2
3 %define major 0
4 %define libname %mklibname gdome %{major}
5 %define develname %mklibname -d gdome
6
7 Summary: A DOM level2 library for accessing XML files
8 Name: libgdome
9 Version: 0.8.1
10 Release: %mkrel 10
11 License: LGPL
12 Group: System/Libraries
13 URL: http://gdome2.cs.unibo.it
14 Source0: http://gdome2.cs.unibo.it/tarball/%{src_name}-%{version}.tar.bz2
15 Patch0: gdome2-0.8.1-gdome-config_lib64.diff
16 Patch1: gdome2-0.8.1-fix-str-fmt.patch
17 BuildRequires: libxml2-devel >= 2.4.26
18 BuildRequires: glib2-devel
19 BuildRequires: glib-devel
20 Provides: gdome2
21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
22
23 %description
24 Libgdome is a DOM C library developed for the Gnome project.
25 Libgdome is a DOM level2 Implementation.
26 Libgdome supports "Core" and "XML" modules.
27 Libgdome supports "Events" and "MutationEvents" modules.
28 Libgdome is based on libxml2.
29
30 %package -n %{libname}
31 Summary: A DOM level2 library for accessing XML files
32 Group: System/Libraries
33
34 %description -n %{libname}
35 A fast, light and complete DOM level2 implementation
36 based on libxml2
37
38 %package -n %{develname}
39 Summary: DOM level2 library for accessing XML files
40 Group: Development/C
41 Requires: %{libname} = %{version}
42 Provides: %{name}-devel = %{version}-%{release}
43 Provides: %{src_name}-devel = %{version}-%{release}
44 Obsoletes: %{_lib}gdome0-devel < %{version}-%{release}
45
46 %description -n %{develname}
47 This package contains the header files and static libraries for
48 developing with libgdome.
49
50 %prep
51 %setup -qn %{src_name}-%{version}
52 %patch0 -p0
53 %patch1 -p0
54
55 %build
56 autoreconf -fi
57 %configure2_5x --enable-glib-1=no
58 %make
59
60 %install
61 rm -rf %{buildroot}
62 %makeinstall_std
63 %multiarch_binaries %{buildroot}%{_bindir}/gdome-config
64
65 %clean
66 rm -rf %{buildroot}
67
68 %files -n %{libname}
69 %defattr(-, root, root)
70 %{_libdir}/lib*.so.*
71
72 %files -n %{develname}
73 %defattr(-,root,root)
74 %doc AUTHORS MAINTAINERS ChangeLog INSTALL README COPYING COPYING.LIB
75 %{_bindir}/gdome-config
76 %multiarch %multiarch_bindir/gdome-config
77 %{_datadir}/aclocal/gdome2.m4
78 %{_includedir}/*
79 %{_libdir}/pkgconfig/gdome2.pc
80 %{_libdir}/lib*.so
81 %{_libdir}/*a
82 %{_libdir}/*.sh
83 %{_mandir}/man1/gdome-config.1*
84
85

  ViewVC Help
Powered by ViewVC 1.1.28