update to 1.3 [release 1.3-1mamba;Sat Jul 14 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 04:07:49 +01:00
parent c5418932b7
commit a28243763f
3 changed files with 95 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libdotconf
Dotconf is a library used to handle configuration files.

View File

@ -0,0 +1,12 @@
diff -Nru dotconf-1.0.13.orig//dotconf.m4 dotconf-1.0.13/dotconf.m4
--- dotconf-1.0.13.orig//dotconf.m4 2002-09-17 20:08:08.000000000 +0200
+++ dotconf-1.0.13/dotconf.m4 2011-02-22 17:18:37.848135953 +0100
@@ -2,7 +2,7 @@
dnl ## AM_PATH_DOTCONF([MINIMUM_VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT_FOUND]]])
dnl ##
dnl ##
-AC_DEFUN(AM_PATH_DOTCONF,
+AC_DEFUN([AM_PATH_DOTCONF],
[dnl
dnl Get the cflags and libs from the dotconf-config script
dnl

81
libdotconf.spec Normal file
View File

@ -0,0 +1,81 @@
Name: libdotconf
Version: 1.3
Release: 1mamba
Summary: A configuration file parser library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.azzit.de/dotconf
# Current (1.3) source generated from git:
# git clone git://github.com/williamh/dotconf.git
# cd dotconf && libtoolize && autoconf && automake && make dist
Source: http://www.azzit.de/dotconf/download/v1.0/dotconf-%{version}.tar.gz
Patch0: %{name}-1.0.13-m4.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Dotconf is a library used to handle configuration files.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Dotconf is a library used to handle configuration files.
This package contains static libraries and header files need for development.
%prep
%setup -q -n dotconf-%{version}
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdotconf.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/dotconf.h
%{_libdir}/libdotconf.a
%{_libdir}/libdotconf.la
%{_libdir}/libdotconf.so
%{_libdir}/pkgconfig/dotconf.pc
%dir %{_datadir}/doc/dotconf
%{_datadir}/doc/dotconf/*.txt
%dir %{_datadir}/doc/dotconf/examples
%{_datadir}/doc/dotconf/examples/*
%doc README
%changelog
* Sat Jul 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Tue Feb 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-3mamba
- added m4 file patch
* Mon Jan 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0.13-2mamba
- do not own %{_includedir}
* Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.13-1mamba
- package created by autospec