rpms/mysql++/devel mysql++.devhelp, NONE, 1.1 .cvsignore, 1.6, 1.7 mysql++.spec, 1.7, 1.8 sources, 1.6, 1.7 mysql++3rc5-gcc43.patch, 1.1, NONE
Remi Collet (remi)
fedora-extras-commits at redhat.com
Sat Mar 1 10:31:13 UTC 2008
Author: remi
Update of /cvs/extras/rpms/mysql++/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1884
Modified Files:
.cvsignore mysql++.spec sources
Added Files:
mysql++.devhelp
Removed Files:
mysql++3rc5-gcc43.patch
Log Message:
update to 3.0.0 final + add devhelp integration
--- NEW FILE mysql++.devhelp ---
<?xml version="1.0"?>
<book xmlns:fo="http://www.w3.org/1999/XSL/Format"
title="MySQL++: C++ wrapper for MySQLâs C API"
name="mysql++"
link="userman/index.html">
<chapters>
<sub name="User Manual" link="userman/index.html"/>
<sub name="Reference Manual" link="refman/index.html"/>
</chapters>
</book>
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mysql++/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 28 Feb 2008 20:38:14 -0000 1.6
+++ .cvsignore 1 Mar 2008 10:30:34 -0000 1.7
@@ -1 +1 @@
-mysql++-3.0.0-rc5.tar.gz
+mysql++-3.0.0.tar.gz
Index: mysql++.spec
===================================================================
RCS file: /cvs/extras/rpms/mysql++/devel/mysql++.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mysql++.spec 28 Feb 2008 20:38:14 -0000 1.7
+++ mysql++.spec 1 Mar 2008 10:30:34 -0000 1.8
@@ -1,23 +1,26 @@
Summary: C++ wrapper for the MySQL C API
Name: mysql++
Version: 3.0.0
-Release: 0.1.rc5%{?dist}
+Release: 1%{?dist}
License: LGPLv2
Group: Development/Libraries
URL: http://tangentsoft.net/mysql++/
-#Source0: http://tangentsoft.net/mysql++/releases/mysql++-%{version}.tar.gz
-Source0: http://tangentsoft.net/mysql++/test/mysql++-3.0.0-rc5.tar.gz
-
-Patch0: mysql++3rc5-gcc43.patch
+Source0: http://tangentsoft.net/mysql++/releases/mysql++-%{version}.tar.gz
+Source1: mysql++.devhelp
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: mysql-devel
%description
-MySQL++ makes working with MySQL server queries as easy as working
-with STL containers. This package contains only the libraries needed to
-run MySQL++-based programs. If you are building your own MySQL++-based
-programs, you also need to install the -devel package.
+MySQL++ is a C++ wrapper for MySQLâs C API.
+
+It is built around STL principles, to make dealing with the database as easy
+as dealing with an STL container. MySQL++ relieves the programmer of dealing
+with cumbersome C data structures, generation of repetitive SQL statements,
+and manual creation of C++ data structures to mirror the database schema.
+
+If you are building your own MySQL++-based programs, you also need
+to install the -devel package.
%package devel
Summary: MySQL++ developer files (headers, examples, etc.)
@@ -26,23 +29,28 @@
Requires: mysql-devel
%description devel
-These are the files needed to compile MySQL++ based programs, plus
-some sample code to get you started. If you aren't building your own
-programs, you probably don't need to install this package.
+These are the files needed to compile MySQL++ based programs,
+plus some sample code to get you started.You probably need to
+install the -manuals package.
+
+If you aren't building your own programs, you probably don't need
+to install this package.
%package manuals
Summary: MySQL++ user and reference manuals
Group: Development/Libraries
+Requires: devhelp
%description manuals
This is the MySQL++ documentation. It's a separate RPM just because
it's so large, and it doesn't change with every release.
+User Manual and Reference Manual are provided both in PDF and in
+HTML format. You can use devhelp to browse it.
+
%prep
%setup -q
-%patch0 -p0 -b .gcc43
-
%build
%configure --with-mysql-lib=%{_libdir}/mysql \
--enable-thread-check \
@@ -73,6 +81,12 @@
-e '/^all:/s/test_[a-z,_]* //g' \
Makefile.simple > doc/examples/Makefile
+# DevHelp stuff
+%{__mkdir_p} %{buildroot}%{_datadir}/devhelp/books/%{name}
+%{__install} -m644 %{SOURCE1} %{buildroot}%{_datadir}/devhelp/books/%{name}/%{name}.devhelp
+%{__cp} -r doc/html/userman %{buildroot}%{_datadir}/devhelp/books/%{name}/userman
+%{__cp} -r doc/html/refman %{buildroot}%{_datadir}/devhelp/books/%{name}/refman
+
%clean
rm -rf %{buildroot} doc/examples
@@ -93,9 +107,14 @@
%files manuals
%defattr(-,root,root,-)
-%doc doc/pdf doc/html doc/README-manuals-RPM.txt
+%doc doc/pdf/* doc/README-manuals-RPM.txt
+%{_datadir}/devhelp/books/%{name}
%changelog
+* Sat Mar 1 2008 Remi Collet <Fedora at FamilleCollet.com> 3.0.0-1
+- update to 3.0.0 Finale
+- use devhelp to browse manuals
+
* Wed Feb 20 2008 Remi Collet <rpms at FamilleCollet.com> 3.0.0-0.1.rc5
- update to 3.0.0 rc5
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mysql++/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 28 Feb 2008 20:38:14 -0000 1.6
+++ sources 1 Mar 2008 10:30:34 -0000 1.7
@@ -1 +1 @@
-3f0630ccdd888c7b2a6712518d728bbf mysql++-3.0.0-rc5.tar.gz
+aa84cca868e1123ec53e9c977f1b6646 mysql++-3.0.0.tar.gz
--- mysql++3rc5-gcc43.patch DELETED ---
More information about the fedora-extras-commits
mailing list