SPECS: libcgi.spec (NEW) - initial release

blues blues at pld-linux.org
Sat Mar 11 22:13:44 CET 2006

Author: blues                        Date: Sat Mar 11 21:13:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
   libcgi.spec (NONE -> 1.1)  (NEW)

---- Diffs:

Index: SPECS/libcgi.spec
diff -u /dev/null SPECS/libcgi.spec:1.1
--- /dev/null	Sat Mar 11 22:13:44 2006
+++ SPECS/libcgi.spec	Sat Mar 11 22:13:37 2006
@@ -0,0 +1,97 @@
+# $Revision$, $Date$
+Summary:	CGI applications in C library
+Name:		libcgi
+Version:	1.0
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	http://dl.sourceforge.net/libcgi/%{name}-%{version}.tar.gz
+# Source0-md5:	110af367081d33c7ed6527a1a60fc274
+URL:		http://libcgi.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+LibCGI is a library written from scratch to easily make CGI
+applications in C. There are a lot of functions like string manipulation,
+session and cookie support, GET and POST methods manipulation etc...,
+to help you to quickly write powerful CGI programs.
+%package devel
+Summary:	Header files for libcgi library
+Summary(pl):	Pliki nagłówkowe biblioteki libcgi
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+%description devel
+Header files for libcgi library.
+%description devel -l pl
+Pliki nagłówkowe biblioteki libcgi.
+%package static
+Summary:	Static libcgi library
+Summary(pl):	Statyczna biblioteka libcgi
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static libcgi library.
+%description static -l pl
+Statyczna biblioteka libcgi.
+%setup -q
+%{__make} \
+	CC="%{__cc}" \
+	FLAGS="%{rpmcflags} -Wall -fpic" \
+	CFLAGS="%{rpmcflags} -Wall -fpic"
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_mandir}/man3}
+%{__make} install \
+	LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
+	INCDIR=$RPM_BUILD_ROOT%{_includedir}
+install doc/man/man3/libcgi*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%attr(755,root,root) %{_libdir}/lib*.so*
+%files devel
+%doc examples/*
+%files static
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+Revision 1.1  2006/03/11 21:13:37  blues
+- initial release

More information about the pld-cvs-commit mailing list