rpms/gdome2/devel gdome2-destdir.patch, NONE, 1.1 gdome2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jul 14 06:36:50 UTC 2005


Author: scop

Update of /cvs/extras/rpms/gdome2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30206/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gdome2-destdir.patch gdome2.spec 
Log Message:
auto-import gdome2-0.8.1-0.2 on branch devel from gdome2-0.8.1-0.2.src.rpm
Initial import.

gdome2-destdir.patch:

--- NEW FILE gdome2-destdir.patch ---
--- gtk-doc/Makefile.am~	2002-04-04 09:58:04.000000000 +0300
+++ gtk-doc/Makefile.am	2003-09-23 21:57:45.000000000 +0300
@@ -33,9 +33,9 @@
 	rm -rf sgml html gdome2-decl-list.txt gdome2-decl.txt 
 
 install-data-local:
-	-install -d -m 0755 $(TARGET_DIR)
-	-install -m 0644 $(srcdir)/html/*.html $(TARGET_DIR)
-	-install -m 0644 $(srcdir)/html/index.sgml $(TARGET_DIR)
+	-install -d -m 0755 $(DESTDIR)$(TARGET_DIR)
+	-install -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
+	-install -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
 	-(cd $(DESTDIR); gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR))
 
 .PHONY : html sgml templates scan
--- gtk-doc/Makefile.in~	2003-09-11 01:51:12.000000000 +0300
+++ gtk-doc/Makefile.in	2003-09-23 21:58:18.000000000 +0300
@@ -268,9 +268,9 @@
 	rm -rf sgml html gdome2-decl-list.txt gdome2-decl.txt 
 
 install-data-local:
-	-install -d -m 0755 $(TARGET_DIR)
-	-install -m 0644 $(srcdir)/html/*.html $(TARGET_DIR)
-	-install -m 0644 $(srcdir)/html/index.sgml $(TARGET_DIR)
+	-install -d -m 0755 $(DESTDIR)$(TARGET_DIR)
+	-install -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
+	-install -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
 	-(cd $(DESTDIR); gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR))
 
 .PHONY : html sgml templates scan


--- NEW FILE gdome2.spec ---
Name:           gdome2
Version:        0.8.1
Release:        0.2
Summary:        DOM level 2 library for accessing XML files.

Group:          System Environment/Libraries
License:        LGPL
URL:            http://gdome2.cs.unibo.it/
Source:         http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz
Patch0:         %{name}-destdir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libxml2-devel >= 2.4.26
BuildRequires:  glib2-devel >= 2.2.0

%description 
gdome2 is a fast, light and complete DOM level 2 implementation based
on libxml2. Although it has been written for the GNOME project, it can
be used stand-alone.  A DOM implementation (also called a host
implementation) is what makes a parsed XML or HTML document available
for processing via the DOM interface.  gdome2 currently supports the
"Core", "XML", "Events" and "MutationEvents" modules from the DOM 2
Recommendation (see http://www.w3.org/TR/DOM-Level-2-Core/ and
http://www.w3.org/TR/DOM-L evel-2-Events/), and is supposed to become
a full implementation of all the DOM Level 2 standard.  Now gdome2
also partially supports the XPath module from the DOM level 3 drafts.

%package        devel
Summary:        Development files for gdome2
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig
Requires:       glib2-devel >= 2.2.0
Requires:       libxml2-devel >= 2.4.26

%description    devel
This package contains the header files and static libraries for
developing with gdome2.


%prep
%setup -q
%patch0 -p0


%build
export GLIB_CONFIG="pkg-config glib-2.0" # to fix gdome-config(1)
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%check || :
# xpath check dumps core on FC4 with libxml2 2.6.19
if [ "`(xml2-config --version)`" = "2.6.19" ] ; then
  make check || :
else
  make check
fi


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING.LIB MAINTAINERS README
%{_libdir}/libgdome.so.*

%files devel
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/
%{_bindir}/gdome-config
%{_includedir}/libgdome/
%{_libdir}/libgdome.so
%exclude %{_libdir}/libgdome.la
%{_libdir}/gdomeConf.sh
%{_datadir}/aclocal/gdome2.m4
%{_libdir}/pkgconfig/gdome2.pc
%{_mandir}/man1/gdome-config.1*


%changelog
* Tue Jul 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.8.1-0.2
- Allow test suite to fail only with libxml2 2.6.19.
- Drop some unneeded docs.

* Wed Jun 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.8.1-0.1
- Rebuild for FC4, don't fail if test suite fails (it does w/libxml2 2.6.19).
- Don't build static libs.

* Thu Feb 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.1
- Update to 0.8.1.

* Sun Oct 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.3
- Remove (empty) NEWS from docs.

* Mon Oct 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.2
- Fix source permissions.

* Tue Sep 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.1
- Update to 0.8.0.

* Fri Aug  1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.fdr.1
- Update to 0.7.4.
- Fedorafied.

* Sun Dec 29 2002 Paolo Casarini <paolo at casarini.org>
  patch provided by Oron Peled <oron at actcom.co.il>
  - %defattr(-,root,root) wasn't set for documents in the devel
    package. This cause wrong ownership of docs in non-root builds.
  - Update URL: and Source: locations
  - s/Copyright:/License:/

* Sun Mar 31 2002 Paolo Casarini <paolo at casarini.org>
  - updated descriptions and summaries

* Sat Dec 15 2001 Paolo Casarini <paolo at casarini.org>
  - updated descriptions and summaries

* Tue Oct 23 2001 Paolo Casarini <paolo at casarini.org>
  - added the gdome-config.1 man page

* Mon Aug 6 2001 Paolo Casarini <paolo at casarini.org>
  - Merge of the Andrew release with mine

* Thu Aug 2 2001 Andrew Chatham <andrew.chatham at duke.edu>
  - Spec file created

* Tue Jul 3 2001 Paolo Casarini <paolo at casarini.org>
  - Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gdome2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jul 2005 06:35:47 -0000	1.1
+++ .cvsignore	14 Jul 2005 06:36:47 -0000	1.2
@@ -0,0 +1 @@
+gdome2-0.8.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gdome2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jul 2005 06:35:47 -0000	1.1
+++ sources	14 Jul 2005 06:36:47 -0000	1.2
@@ -0,0 +1 @@
+bfc114e59eec50cbda8e4ece751ff022  gdome2-0.8.1.tar.gz




More information about the fedora-extras-commits mailing list