[521] | 1 | %define nam gdome2 |
---|
| 2 | %define ver 0.8.1 |
---|
[6386] | 3 | %define rel 2%{?_dist_release} |
---|
[521] | 4 | |
---|
| 5 | Summary: DOM level2 library for accessing XML files |
---|
| 6 | Summary(ja): XML 用 DOM レベル 2 ライブラリ |
---|
| 7 | Name: %nam |
---|
| 8 | Version: %ver |
---|
| 9 | Release: %rel |
---|
| 10 | License: LGPL |
---|
| 11 | Group: System Environment/Libraries |
---|
| 12 | URL: http://gdome2.cs.unibo.it/ |
---|
| 13 | Source: http://gdome2.cs.unibo.it/tarball/%{nam}-%{ver}.tar.gz |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: libxml2-devel >= 2.4.26 |
---|
| 17 | BuildRequires: glib2-devel gtk-doc |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | gdome2 is a fast, light and complete DOM level2 implementation |
---|
| 21 | based on libxml2. Although it has been written for the GNOME project, |
---|
| 22 | it can be used stand-alone. |
---|
| 23 | A DOM implementation (also called a host implementation) is what |
---|
| 24 | makes a parsed XML or HTML document available for processing via the |
---|
| 25 | DOM interface. |
---|
| 26 | gdome2 currently supports the "Core", "XML", "Events" and |
---|
| 27 | "MutationEvents" modules from the DOM2 Recommendation (see |
---|
| 28 | http://www.w3.org/TR/DOM-Level-2-Core/ and http://www.w3.org/TR/DOM-L |
---|
| 29 | evel-2-Events/), and is supposed to become a full implementation of |
---|
| 30 | all the DOM Level2 standard. |
---|
| 31 | Now gdome2 also partially supports the XPath module from the DOM |
---|
| 32 | level 3 drafts. |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development files for gdome2 |
---|
| 36 | Summary(ja): gdome2 の開発用ファイル |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: gdome2 = %{ver}-%{rel} |
---|
| 39 | Requires: glib2-devel |
---|
| 40 | Requires: libxml2-devel >= 2.4.26 |
---|
| 41 | |
---|
| 42 | %description devel |
---|
| 43 | This package contains the header files and static libraries for |
---|
| 44 | developing with gdome2. |
---|
| 45 | gdome2 is a fast, light and complete DOM level2 implementation |
---|
| 46 | based on libxml2. Although it has been written for the GNOME project, |
---|
| 47 | it can be used stand-alone. |
---|
| 48 | A DOM implementation (also called a host implementation) is what |
---|
| 49 | makes a parsed XML or HTML document available for processing via the |
---|
| 50 | DOM interface. |
---|
| 51 | gdome2 currently supports the "Core", "XML", "Events" and |
---|
| 52 | "MutationEvents" modules from the DOM2 Recommendation (see |
---|
| 53 | http://www.w3.org/TR/DOM-Level-2-Core/ and http://www.w3.org/TR/DOM-L |
---|
| 54 | evel-2-Events/), and is supposed to become a full implementation of |
---|
| 55 | all the DOM Level2 standard. |
---|
| 56 | Now gdome2 also partially supports the XPath module from the DOM |
---|
| 57 | level 3 drafts. |
---|
| 58 | |
---|
| 59 | %prep |
---|
| 60 | %setup -q |
---|
| 61 | |
---|
| 62 | %build |
---|
| 63 | if [ ! -f configure ]; then |
---|
| 64 | ./autogen.sh --prefix=%{_prefix} |
---|
| 65 | fi |
---|
| 66 | |
---|
| 67 | %configure |
---|
| 68 | |
---|
| 69 | if [ "$SMP" != "" ]; then |
---|
| 70 | (make "MAKE=make -k -j $SMP"; exit 0) |
---|
| 71 | make |
---|
| 72 | else |
---|
| 73 | make |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | make |
---|
| 77 | |
---|
| 78 | %install |
---|
| 79 | rm -rf $RPM_BUILD_ROOT |
---|
| 80 | %makeinstall |
---|
| 81 | |
---|
| 82 | ## remove unuse files |
---|
| 83 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | %post -p /sbin/ldconfig |
---|
| 90 | |
---|
| 91 | %postun -p /sbin/ldconfig |
---|
| 92 | |
---|
| 93 | %files |
---|
| 94 | %defattr(-, root, root) |
---|
| 95 | %doc AUTHORS MAINTAINERS ChangeLog INSTALL NEWS README COPYING COPYING.LIB |
---|
| 96 | %{_libdir}/lib*.so.* |
---|
| 97 | |
---|
| 98 | %files devel |
---|
| 99 | %defattr(-, root, root) |
---|
| 100 | #doc gtk-doc/html/*.html |
---|
| 101 | %{_mandir}/man1/gdome-config.1* |
---|
| 102 | %{_bindir}/gdome-config |
---|
| 103 | %{_includedir}/* |
---|
| 104 | %{_libdir}/lib*.so |
---|
| 105 | %{_libdir}/*a |
---|
| 106 | %{_libdir}/*.sh |
---|
| 107 | %{_datadir}/aclocal/gdome2.m4 |
---|
| 108 | %{_datadir}/gtk-doc/html/* |
---|
| 109 | %{_libdir}/pkgconfig/gdome2.pc |
---|
| 110 | |
---|
| 111 | %changelog |
---|
[6386] | 112 | * Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2 |
---|
| 113 | - rebuild with Vine6 environment |
---|
| 114 | |
---|
[521] | 115 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.1-1vl5 |
---|
| 116 | - applied new versioning policy, spec in utf-8 |
---|
| 117 | - removed *.la |
---|
| 118 | - added japanease summary |
---|
| 119 | |
---|
| 120 | * Sat Dec 02 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.1-0vl2 |
---|
| 121 | - updated BuildRequires |
---|
| 122 | - changed Group to System Environment/Libraries |
---|
| 123 | |
---|
| 124 | * Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 0.8.1-0vl1 |
---|
| 125 | - new upstream version |
---|
| 126 | |
---|
| 127 | * Sat Jan 17 2004 IWAI, Masaharu <iwai@alib.jp> 0.8.0-0vl1 |
---|
| 128 | - build for VineSeed Plus |
---|
| 129 | - fix BuildRequires: glib-devel |
---|
| 130 | |
---|
| 131 | * Sun Dec 29 2002 Paolo Casarini <paolo@casarini.org> |
---|
| 132 | patch provided by Oron Peled <oron@actcom.co.il> |
---|
| 133 | - %defattr(-,root,root) wasn't set for documents in the devel |
---|
| 134 | package. This cause wrong ownership of docs in non-root builds. |
---|
| 135 | - Update URL: and Source: locations |
---|
| 136 | - s/Copyright:/License:/ |
---|
| 137 | * Sun Mar 31 2002 Paolo Casarini <paolo@casarini.org> |
---|
| 138 | - updated descriptions and summaries |
---|
| 139 | * Sat Dec 15 2001 Paolo Casarini <paolo@casarini.org> |
---|
| 140 | - updated descriptions and summaries |
---|
| 141 | * Tue Oct 23 2001 Paolo Casarini <paolo@casarini.org> |
---|
| 142 | - added the gdome-config.1 man page |
---|
| 143 | * Mon Aug 6 2001 Paolo Casarini <paolo@casarini.org> |
---|
| 144 | - Merge of the Andrew release with mine |
---|
| 145 | * Thu Aug 2 2001 Andrew Chatham <andrew.chatham@duke.edu> |
---|
| 146 | - Spec file created |
---|
| 147 | * Tue Jul 3 2001 Paolo Casarini <paolo@casarini.org> |
---|
| 148 | - Initial release |
---|
| 149 | |
---|