SPECS: pacparser.spec (NEW) - init PLD spec

areq areq at pld-linux.org
Sat Nov 1 23:01:07 CET 2008


Author: areq                         Date: Sat Nov  1 22:01:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init PLD spec

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

---- Diffs:

================================================================
Index: SPECS/pacparser.spec
diff -u /dev/null SPECS/pacparser.spec:1.1
--- /dev/null	Sat Nov  1 23:01:07 2008
+++ SPECS/pacparser.spec	Sat Nov  1 23:01:02 2008
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+Summary:	A library to make your web software pac (proxy auto-config) files intelligent
+Summary(pl.UTF-8):	-
+Name:		pacparser
+Version:	1.0.6
+Release:	0.1
+License:	GPL v3
+Group:		Libraries
+Source0:	http://pacparser.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	692b2c59070a67ea7ccd4b3f9e4d7e29
+URL:		http://code.google.com/p/pacparser/
+BuildRequires:	js-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pacparser is a library to parse proxy auto-config (PAC) files. Proxy
+auto-config files are a vastly used proxy configuration method these
+days. Web browsers can use a PAC file to determine which proxy server
+to use or whether to go direct for a given URL. PAC files are written
+in JavaScript and can be programmed to return different proxy methods
+(e.g. "PROXY proxy1:port; DIRECT") depending upon URL, source IP
+address, protocol, time of the day etc. PAC files introduce a lot of
+possibilities. Look at the wikipedia link above to find out more about
+them.
+
+Needless to say, PAC files are now a widely accepted method for proxy
+configuration management and companies all over are using them in
+corporate environment. Almost all popular web browsers support PAC
+files. The idea behind pacparser is to make it easy to add this PAC
+file parsing capability to any program (C and python supported right
+now). It comes as a shared C library and a python module which can be
+used to make any C or python program PAC scripts intelligent. Some
+very useful targets could be popular web software like wget, curl and
+python-urllib.
+
+%description -l pl.UTF-8
+
+%package devel
+Summary:	Header files for pacparser library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki pacparser
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for pacparser library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki pacparser.
+
+%prep
+%setup -q
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*
+%{_mandir}/man1/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_mandir}/man3/*
+%{_libdir}/lib*.so
+%{_includedir}/pacparser.h
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/11/01 22:01:02  areq
+- init PLD spec
+
================================================================


More information about the pld-cvs-commit mailing list