[packages/iniparser] - Initial add

caleb caleb at pld-linux.org
Tue Sep 10 12:17:18 CEST 2013

commit 383f36c60f8ad68d4810df66029f80a80f4b1e80
Author: Caleb Maclennan <caleb at pld-linux.org>
Date:   Fri Aug 30 19:48:33 2013 +0300

    - Initial add

 iniparser.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
diff --git a/iniparser.spec b/iniparser.spec
new file mode 100644
index 0000000..92a1a5e
--- /dev/null
+++ b/iniparser.spec
@@ -0,0 +1,54 @@
+Summary:	C library for parsing "INI-style" files
+Name:		iniparser
+Version:	3.1
+Release:	0.1
+License:	MIT
+Group:		Development/Libraries
+Source0:	http://ndevilla.free.fr/iniparser/%{name}-%{version}.tar.gz
+# Source0-md5:	0aa4f995468ed390caf323f50a285bc3
+URL:		http://ndevilla.free.fr/iniparser
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+iniParser is an ANSI C library to parse "INI-style" files, often used
+to hold application configuration information.
+%package devel
+Summary:	Header files, libraries and development documentation for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+%description devel
+This package contains the header files, static libraries and
+development documentation for %{name}. If you like to develop programs
+using %{name}, you will need to install %{name}-devel.
+%setup -q -n %{name}
+install -d $RPM_BUILD_ROOT/%{_includedir} $RPM_BUILD_ROOT/%{_libdir}
+install -t $RPM_BUILD_ROOT/%{_includedir}/ src/dictionary.h src/iniparser.h
+install -t $RPM_BUILD_ROOT/%{_libdir}/ libiniparser.so.0
+ln -s libiniparser.so.0 $RPM_BUILD_ROOT/%{_libdir}/libiniparser.so
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%attr(755,root,root) %{_libdir}/lib%{name}.so.0
+%files devel

---- gitweb:


More information about the pld-cvs-commit mailing list