packages: pacparser/pacparser.spec - pl - License is LGPL (v3+)
qboosh
qboosh at pld-linux.org
Sun Sep 18 09:09:51 CEST 2011
Author: qboosh Date: Sun Sep 18 07:09:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- pl
- License is LGPL (v3+)
---- Files affected:
packages/pacparser:
pacparser.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: packages/pacparser/pacparser.spec
diff -u packages/pacparser/pacparser.spec:1.16 packages/pacparser/pacparser.spec:1.17
--- packages/pacparser/pacparser.spec:1.16 Thu Sep 15 11:00:46 2011
+++ packages/pacparser/pacparser.spec Sun Sep 18 09:09:46 2011
@@ -1,6 +1,5 @@
# $Revision$, $Date$
# TODO:
-# - description pl
# - python module (make pymod, unset SONAME for python module)
#
Summary: A library to make your web software pac (proxy auto-config) files intelligent
@@ -8,10 +7,11 @@
Name: pacparser
Version: 1.3.0
Release: 1
-License: GPL v3+
+License: LGPL v3+
Group: Libraries
Source0: http://pacparser.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: 6dcfda10803913df38249fb39990dd87
+#Source0Download: http://code.google.com/p/pacparser/downloads/list
Patch0: %{name}-make.patch
Patch1: %{name}-libdir.patch
URL: http://code.google.com/p/pacparser/
@@ -26,17 +26,33 @@
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.
+possibilities.
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
+file parsing capability to any program (C and Python supported right
+now). Some very useful targets could be popular web software like
+wget, curl and python-urllib.
+
+%description -l pl.UTF-8
+pacparser to biblioteka do analizy plików automatycznej konfiguracji
+proxy PAC (proxy auto-config). Pliki te są obecnie szeroko stosowaną
+metodą do konfiguracji proxy. Przeglądarki potrafią użyć pliku PAC do
+określenia, którego serwera proxy mają użyć lub jak połączyć się
+bezpośrednio z danym URL-em. Pliki PAC są pisane w JavaScripcie i mogą
+zwracać różne metody proxy (np. "PROXY proxy1:port; DIRECT") w
+zależności od URL-a, adresu źródłowego IP, protokołu, pory dnia itp.
+Pliki PAC wprowadzają wiele możliwości.
+
+Nie trzeba mówić, że pliki PAC są teraz szeroko akceptowaną metodą
+zarządzania konfiguracją proxy, a firmy używają ich w swoich
+wewnętrznych środowiskach. Prawie wszystkie popularne przeglądarki WWW
+obsługują pliki PAC. Ideą stojącą za biblioteką pacparser jest
+ułatwienie dodawania obsługi PAC do dowolnego programu (obecnie
+obsługiwane są języki C i Python). Przydatnymi zastosowaniami mogłyby
+być popularne programy do stron WWW, takie jak wget, curl czy
python-urllib.
%package devel
@@ -57,8 +73,7 @@
%patch1 -p1
%build
-cd src
-%{__make} \
+%{__make} -C src \
CC="%{__cc}" \
CFLAGS="%{rpmcflags} -I/usr/include/js -DXP_UNIX" \
LDFLAGS="%{rpmldflags} -ljs" \
@@ -67,8 +82,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-cd src
-%{__make} install \
+%{__make} -C src install \
DESTDIR=$RPM_BUILD_ROOT \
LIB=%{_lib}
@@ -83,15 +97,15 @@
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/pactester
%attr(755,root,root) %{_libdir}/libpacparser.so.1
%{_mandir}/man1/pactester.1*
%files devel
%defattr(644,root,root,755)
-%{_mandir}/man3/pacparser*.3*
-%{_libdir}/libpacparser.so
+%attr(755,root,root) %{_libdir}/libpacparser.so
%{_includedir}/pacparser.h
+%{_mandir}/man3/pacparser*.3*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -99,6 +113,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2011/09/18 07:09:46 qboosh
+- pl
+- License is LGPL (v3+)
+
Revision 1.16 2011/09/15 09:00:46 lisu
- up to 1.3.0
@@ -164,4 +182,3 @@
Revision 1.1 2008/11/01 22:01:02 areq
- init PLD spec
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pacparser/pacparser.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list