]> git.pld-linux.org Git - packages/charles.git/blame - charles.spec
- one rel is enough
[packages/charles.git] / charles.spec
CommitLineData
5f50a8f4 1%define _rel 1
fd314aaf 2%include /usr/lib/rpm/macros.java
d211014a 3Summary: Web debugging proxy application
4Name: charles
5Version: 3.4.1
5f50a8f4 6Release: %{_rel}
d211014a 7License: Proprietary, not distributable
fd314aaf 8Group: Networking/Daemons
5f50a8f4
AM
9Source0: http://www.charlesproxy.com/assets/release/%{version}/charles.tar.gz
10# NoSource0-md5: bcab2cd381d8f5ae9ffed08a0a89b76d
d211014a 11NoSource: 0
12Source1: %{name}.sh
13URL: http://www.charlesproxy.com/
14BuildRequires: jpackage-utils
15BuildRequires: rpm-javaprov
16BuildRequires: rpmbuild(macros) >= 1.300
17Requires: jpackage-utils
f99057c3 18Requires: jre-X11
5f50a8f4 19ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664}
d211014a 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
fd314aaf
ER
22# already stripped
23%define _enable_debug_packages 0
24
d211014a 25%description
26Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a
27developer to view all of the HTTP and SSL / HTTPS traffic between
28their machine and the Internet. This includes requests, responses and
29the HTTP headers (which contain the cookies and caching information).
30
31%prep
32%setup -q -n %{name}
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT{%{_javadir}/%{name},%{_libdir}/%{name},%{_bindir}}
5f50a8f4 37
fd314aaf 38cp -a lib/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}
5f50a8f4 39%ifarch %{ix86}
fd314aaf 40install -p lib/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
5f50a8f4 41%endif
fd314aaf 42install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}
d211014a 43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
d211014a 49%attr(755,root,root) %{_bindir}/%{name}
fd314aaf 50%{_javadir}/%{name}
5f50a8f4 51%ifarch %{ix86}
fd314aaf
ER
52%dir %{_libdir}/%{name}
53%attr(755,root,root) %{_libdir}/%{name}/libjdic.so
5f50a8f4 54%endif
This page took 0.070544 seconds and 4 git commands to generate.