]> git.pld-linux.org Git - packages/pacrunner.git/blob - pacrunner.spec
- updated to 0.11
[packages/pacrunner.git] / pacrunner.spec
1 #
2 # Conditional build:
3 %bcond_with     mozjs           # use Mozilla JavaScript
4 %bcond_with     v8              # use Chrome V8 JavaScript
5 #
6 Summary:        PACrunner - Proxy configuration daemon
7 Summary(pl.UTF-8):      PACrunner - demon do konfiguracji proxy
8 Name:           pacrunner
9 Version:        0.11
10 Release:        1
11 License:        GPL v2
12 Group:          Applications/Networking
13 Source0:        https://www.kernel.org/pub/linux/network/connman/%{name}-%{version}.tar.xz
14 # Source0-md5:  e6bcb6a2b26481a34d74357913b0ad71
15 # pacrunner.org is dead
16 URL:            http://www.ohloh.net/p/pacrunner
17 BuildRequires:  curl-devel >= 7.16
18 BuildRequires:  dbus-devel >= 1.2
19 BuildRequires:  glib2-devel >= 1:2.16
20 %{?with_mozjs:BuildRequires:    mozjs38-devel >= 38}
21 BuildRequires:  pkgconfig
22 BuildRequires:  tar >= 1:1.22
23 %{?with_v8:BuildRequires:       v8-devel}
24 BuildRequires:  xz
25 Requires:       curl-libs >= 7.16
26 Requires:       dbus >= 1.2
27 Requires:       glib2 >= 1:2.16
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 PACrunner provides a daemon for processing proxy configuration and
32 providing information to clients over D-Bus.
33
34 %description -l pl.UTF-8
35 PACrunner zawiera demona do przetwarzania konfiguracji proxy i
36 udostÄ™pniania informacji klientom poprzez D-Bus.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure \
43         --disable-silent-rules \
44         --enable-curl \
45         --enable-duktape \
46         %{?with_mozjs:--enable-mozjs} \
47         %{?with_v8:--enable-v8}
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README TODO doc/*.txt
62 %attr(755,root,root) %{_sbindir}/pacrunner
63 /etc/dbus-1/system.d/pacrunner.conf
64 /usr/share/dbus-1/system-services/pacrunner.service
This page took 0.065896 seconds and 3 git commands to generate.