packages: charles/charles.spec (NEW) - initial, web debugging proxy
pawelz
pawelz at pld-linux.org
Fri Oct 30 09:57:45 CET 2009
Author: pawelz Date: Fri Oct 30 08:57:45 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial, web debugging proxy
---- Files affected:
packages/charles:
charles.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/charles/charles.spec
diff -u /dev/null packages/charles/charles.spec:1.1
--- /dev/null Fri Oct 30 09:57:45 2009
+++ packages/charles/charles.spec Fri Oct 30 09:57:40 2009
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+
+%include /usr/lib/rpm/macros.java
+
+%define _rel 0.1
+
+# I have no access to full version, so I'm packaging trial version only.
+# If you have full tarball, add with(out?)_trial bcond
+%define with_trial 1
+
+Summary: Web debugging proxy application
+Name: charles
+Version: 3.4.1
+Release: 0.1%{?with_trial:trial}
+License: Proprietary, not distributable
+Group: Development/Languages/Java
+Source0: %{name}.tar.gz
+# Source0-md5: bcab2cd381d8f5ae9ffed08a0a89b76d
+NoSource: 0
+Source1: %{name}.sh
+URL: http://www.charlesproxy.com/
+BuildRequires: jpackage-utils
+BuildRequires: rpm-javaprov
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires: jpackage-utils
+ExclusiveArch: %{ix86}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a
+developer to view all of the HTTP and SSL / HTTPS traffic between
+their machine and the Internet. This includes requests, responses and
+the HTTP headers (which contain the cookies and caching information).
+
+%prep
+%setup -q -n %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_javadir}/%{name},%{_libdir}/%{name},%{_bindir}}
+
+cp -a lib/*jar $RPM_BUILD_ROOT%{_javadir}/%{name}
+cp -a lib/*so $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_javadir}/%{name}
+%{_libdir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
+
+%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 2009/10/30 08:57:40 pawelz
+- initial, web debugging proxy
+
================================================================
More information about the pld-cvs-commit
mailing list