]> git.pld-linux.org Git - packages/charles.git/commitdiff
- initial, web debugging proxy
authorpawelz <pawelz@pld-linux.org>
Fri, 30 Oct 2009 08:57:40 +0000 (08:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    charles.spec -> 1.1

charles.spec [new file with mode: 0644]

diff --git a/charles.spec b/charles.spec
new file mode 100644 (file)
index 0000000..c89e8c4
--- /dev/null
@@ -0,0 +1,52 @@
+
+%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}
This page took 0.422968 seconds and 4 git commands to generate.