Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
034ebc1e67 dist-git conversion 2010-07-29 14:53:50 +00:00
Bill Nottingham
cc020f55b9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:11:49 +00:00
Jesse Keating
ddffec9eb1 Initialize branch F-11 for varconf 2009-04-15 06:03:52 +00:00
5 changed files with 113 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
varconf-0.6.5.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
3fd80433af2fd96f4eaab23f4ebbe343 varconf-0.6.5.tar.gz

10
varconf-0.6.5-gcc43.patch Normal file
View file

@ -0,0 +1,10 @@
--- varconf-0.6.5/varconf/variable.cpp.orig 2008-02-09 15:57:41.000000000 -0800
+++ varconf-0.6.5/varconf/variable.cpp 2008-02-09 15:57:50.000000000 -0800
@@ -28,6 +28,7 @@
#include <string>
#include <cstdio>
+#include <cstdlib>
#ifdef __WIN32__
#include <tchar.h>

101
varconf.spec Normal file
View file

@ -0,0 +1,101 @@
Name: varconf
Version: 0.6.5
Release: 4%{?dist}
Summary: Configuration library used by WorldForge clients
Group: Development/Libraries
License: LGPLv2+
URL: http://worldforge.org/dev/eng/libraries/varconf
Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.gz
Patch0: varconf-0.6.5-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsigc++20-devel
%description
Varconf is a configuration library intended for all applications. It manages
configuration data in files, command line arguments, and is used by most
WorldForge components.
%package devel
Summary: Development files for varconf library
Group: Development/Libraries
Requires: pkgconfig %{name} = %{version}-%{release}
%description devel
Development libraries and headers for linking against the varconf library.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
## cleaning up redundant docs
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%check
make %{?_smp_mflags} check
cd tests ; ./conftest < conf.cfg
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README THANKS TODO
%{_libdir}/lib%{name}-1.0.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}-1.0
%{_libdir}/lib%{name}-1.0.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Feb 9 2008 Wart <wart at kobold.org> 0.6.5-3
- Rebuild for gcc 4.3
* Tue Aug 21 2007 Wart <wart at kobold.org> 0.6.5-2
- License tag clarification
* Tue Jan 16 2007 Wart <wart at kobold.org> 0.6.5-1
- Update to 0.6.5
* Mon Aug 28 2006 Wart <wart at kobold.org> 0.6.4-4
- Rebuild for Fedora Extras
* Wed Jul 19 2006 Wart <wart at kobold.org> 0.6.4-3
- Add command to %%check to execute tests
* Fri Jul 14 2006 Wart <wart at kobold.org> 0.6.4-2
- Added Requires: pkgconfig to -devel subpackage
- Change license from GPL -> LGPL
- Added missing header to test file
- Use smp_mflags with test suie
* Wed Jun 14 2006 Wart <wart at kobold.org> 0.6.4-1
- Initial spec file for Fedora Extras