]> git.pld-linux.org Git - packages/charles.git/blame - charles.spec
- R: jre-X11
[packages/charles.git] / charles.spec
CommitLineData
d211014a 1
2%include /usr/lib/rpm/macros.java
3
4%define _rel 0.1
5
6# I have no access to full version, so I'm packaging trial version only.
7# If you have full tarball, add with(out?)_trial bcond
8%define with_trial 1
9
10Summary: Web debugging proxy application
11Name: charles
12Version: 3.4.1
13Release: 0.1%{?with_trial:trial}
14License: Proprietary, not distributable
15Group: Development/Languages/Java
16Source0: %{name}.tar.gz
17# Source0-md5: bcab2cd381d8f5ae9ffed08a0a89b76d
18NoSource: 0
19Source1: %{name}.sh
20URL: http://www.charlesproxy.com/
21BuildRequires: jpackage-utils
22BuildRequires: rpm-javaprov
23BuildRequires: rpmbuild(macros) >= 1.300
24Requires: jpackage-utils
f99057c3 25Requires: jre-X11
d211014a 26ExclusiveArch: %{ix86}
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a
31developer to view all of the HTTP and SSL / HTTPS traffic between
32their machine and the Internet. This includes requests, responses and
33the HTTP headers (which contain the cookies and caching information).
34
35%prep
36%setup -q -n %{name}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_javadir}/%{name},%{_libdir}/%{name},%{_bindir}}
41
42cp -a lib/*jar $RPM_BUILD_ROOT%{_javadir}/%{name}
43cp -a lib/*so $RPM_BUILD_ROOT%{_libdir}/%{name}
44cp -a %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/%{name}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%{_javadir}/%{name}
52%{_libdir}/%{name}
53%attr(755,root,root) %{_bindir}/%{name}
This page took 0.073609 seconds and 4 git commands to generate.