Author: tgoettlicher
Date: Wed Jul 2 11:49:33 2008
New Revision: 48767
URL: http://svn.opensuse.org/viewcvs/yast?rev=48767&view=rev
Log:
added files to build rudeconfig from source
Added:
branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/
branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/opensuse_11_0.patch
branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig-5.0.5.tar.gz (with props)
branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig.spec
branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/svn-commit.tmp
Added: branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/opensuse_11_0.patch
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/opensuse_11_0.patch?rev=48767&view=auto
==============================================================================
--- branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/opensuse_11_0.patch (added)
+++ branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/opensuse_11_0.patch Wed Jul 2 11:49:33 2008
@@ -0,0 +1,26 @@
+Index: rudeconfig-5.0.5/src/File.cpp
+===================================================================
+--- rudeconfig-5.0.5/src/File.cpp (revision 48754)
++++ rudeconfig-5.0.5/src/File.cpp (working copy)
+@@ -21,7 +21,7 @@
+ // 02111-1307, USA.
+ //------------------------------------------------------------------------
+
+-
++#include <string>
+ #include "File.h"
+
+ #ifndef INCLUDED_Section_H
+Index: rudeconfig-5.0.5/src/ConfigImpl.cpp
+===================================================================
+--- rudeconfig-5.0.5/src/ConfigImpl.cpp (revision 48754)
++++ rudeconfig-5.0.5/src/ConfigImpl.cpp (working copy)
+@@ -23,6 +23,8 @@
+
+ #include "ConfigImpl.h"
+
++#include
++
+ #ifndef INCLUDED_Section_H
+ #include "Section.h"
+ #endif
Added: branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig-5.0.5.tar.gz
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig-5.0.5.tar.gz?rev=48767&view=auto
==============================================================================
Binary file - no diff available.
Added: branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig.spec
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig.spec?rev=48767&view=auto
==============================================================================
--- branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig.spec (added)
+++ branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/rudeconfig.spec Wed Jul 2 11:49:33 2008
@@ -0,0 +1,100 @@
+Name: rudeconfig
+Version: 5.0.5
+Release: 1%{?dist}
+Summary: Library (C++ API) for reading and writing configuration/.ini files
+
+Group: System Environment/Libraries
+License: GPL
+URL: http://www.rudeserver.com/config
+Source0: http://www.rudeserver.com/config/download/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch: opensuse_11_0.patch
+
+BuildRequires: gcc-c++
+#Requires:
+
+%description
+%{name} is a library that allows applications to read, modify
+and create configuration/.ini files.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{name} is a library that allows applications to read, modify
+and create configuration/.ini files. The %{name}-devel package
+contains libraries, header files, and documentation needed
+to develop C++ applications using %{name}.
+
+%prep
+%setup:-q
+%patch -p1
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README NEWS ChangeLog
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc
+%dir %{_includedir}/rude
+%{_includedir}/rude/config.h
+%{_libdir}/*.so
+%{_mandir}/man3/*
+
+%changelog
+
+* Thu Feb 01 2007 Matt Flood
+- 5.0.5-1
+- Renamed header include guards in config.h
+ - From INCLUDED_CONFIG_H to INCLUDED_RUDE_CONFIG_H
+
+* Thu Feb 01 2007 Matt Flood
+- 5.0.4-3
+- Minor amendments to build-related scripts
+ - Added missing include directory to specfile
+
+* Thu Feb 01 2007 Matt Flood
+- 5.0.4-2
+- Minor amendments to build-related scripts
+ - Fixed minor typo in changelog (ChangeLog and rudeconfig.spec)
+ - Added --disable-static to configure directive in rudeconfig.spec
+
+* Fri Jan 19 2007 Matt Flood
+- 5.0.4-1
+- Created rudeconfig.3 MAN page
+
+* Mon Jul 31 2006 Matt Flood
+- 5.0.3-1
+- Minor changes to facilitate Windows builds
+ * changed #include's of <cstring> to
+ * added .c_str() to a string object to correct shorthand if statement ( a ? x : y )
+
+* Thu Apr 10 2006 Matt Flood
+- 5.0.2-1
+- First RPM Release
+
+* Fri Sep 2 2005 Matt Flood
+- 5.0.2-0
+- Modified source code for DataLine.cpp - removed 'using namespace std' which Visual Studio is too dumb to ignore.
+- Fixed ParserJuly2004::chompEOL() - was not returning a value - (TODO: consider making the function void)
+
Added: branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/svn-commit.tmp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/svn-commit.tmp?rev=48767&view=auto
==============================================================================
--- branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/svn-commit.tmp (added)
+++ branches/tmp/jdsn/registration/src/readconfigfiles/build_sources/rudeconfig/svn-commit.tmp Wed Jul 2 11:49:33 2008
@@ -0,0 +1,5 @@
+clean up
+--This line, and those below, will be ignored--
+
+D rudeconfig-5.0.5
+M rudeconfig.spec
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org