[521] | 1 | Summary: A library handling all the details of proxy configuration |
---|
| 2 | Name: libproxy |
---|
[2041] | 3 | Version: 0.4.6 |
---|
[7974] | 4 | Release: 3%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: LGPLv2+ |
---|
| 8 | URL: http://code.google.com/p/libproxy/ |
---|
| 9 | Source0: http://libproxy.googlecode.com/files/libproxy-%{version}.tar.gz |
---|
[7974] | 10 | Patch1: libproxy-0.4.6-mozjs.patch |
---|
| 11 | Patch2: libproxy-0.4.6-new-mozjs.patch |
---|
| 12 | Patch100: libproxy-0.4.6_CVE-2012-4505.patch |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 14 | |
---|
| 15 | BuildRequires: python-devel |
---|
| 16 | #Virtual Provides - We need either mozjs or WebKit |
---|
| 17 | Requires: %{name}-pac >= %{version} |
---|
| 18 | # |
---|
| 19 | Requires: libproxy-python = %{version}-%{release} |
---|
| 20 | Requires: libproxy-bin = %{version}-%{release} |
---|
| 21 | |
---|
[2041] | 22 | BuildRequires: cmake |
---|
[521] | 23 | # gnome |
---|
| 24 | BuildRequires: GConf2-devel |
---|
| 25 | # mozjs |
---|
[7974] | 26 | BuildRequires: js-devel |
---|
[521] | 27 | # NetworkManager |
---|
| 28 | BuildRequires: NetworkManager-devel |
---|
| 29 | BuildRequires: dbus-devel |
---|
| 30 | # webkit (gtk) |
---|
| 31 | BuildRequires: WebKit-gtk-devel |
---|
| 32 | # kde |
---|
[2041] | 33 | BuildRequires: kdelibs-devel |
---|
[521] | 34 | BuildRequires: libXmu-devel |
---|
| 35 | BuildRequires: libX11-devel |
---|
| 36 | |
---|
[7974] | 37 | Vendor: Project Vine |
---|
| 38 | Distribution: Vine Linux |
---|
[521] | 39 | |
---|
| 40 | %description |
---|
| 41 | libproxy offers the following features: |
---|
| 42 | |
---|
| 43 | * extremely small core footprint (< 35K) |
---|
| 44 | * no external dependencies within libproxy core |
---|
| 45 | (libproxy plugins may have dependencies) |
---|
| 46 | * only 3 functions in the stable external API |
---|
| 47 | * dynamic adjustment to changing network topology |
---|
| 48 | * a standard way of dealing with proxy settings across all scenarios |
---|
| 49 | * a sublime sense of joy and accomplishment |
---|
| 50 | |
---|
| 51 | Non-default rpmbuild options: |
---|
| 52 | --with webkit: Enable WebKit-gtk support |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %package bin |
---|
| 56 | Summary: Binary to test %{name} |
---|
| 57 | Group: Applications/System |
---|
| 58 | Requires: %{name} = %{version}-%{release} |
---|
| 59 | |
---|
| 60 | %description bin |
---|
| 61 | The %{name}-bin package contains the proxy binary for %{name} |
---|
| 62 | |
---|
| 63 | %package python |
---|
| 64 | Summary: Binding for %{name} and python |
---|
| 65 | Group: System Environment/Libraries |
---|
| 66 | Requires: %{name} = %{version}-%{release} |
---|
| 67 | |
---|
| 68 | %description python |
---|
| 69 | The %{name}-python package contains the python binding for %{name} |
---|
| 70 | |
---|
| 71 | %package gnome |
---|
| 72 | Summary: Plugin for %{name} and gnome |
---|
| 73 | Group: System Environment/Libraries |
---|
| 74 | Requires: %{name} = %{version}-%{release} |
---|
| 75 | |
---|
| 76 | %description gnome |
---|
| 77 | The %{name}-gnome package contains the %{name} plugin for gnome. |
---|
| 78 | |
---|
| 79 | %package kde |
---|
| 80 | Summary: Plugin for %{name} and kde |
---|
| 81 | Group: System Environment/Libraries |
---|
| 82 | Requires: %{name} = %{version}-%{release} |
---|
| 83 | |
---|
| 84 | %description kde |
---|
| 85 | The %{name}-kde package contains the %{name} plugin for kde. |
---|
| 86 | |
---|
| 87 | %package mozjs |
---|
| 88 | Summary: Plugin for %{name} and mozjs |
---|
| 89 | Group: System Environment/Libraries |
---|
| 90 | Requires: %{name} = %{version} |
---|
[7974] | 91 | # Tweak this according to the current gecko-libs version |
---|
| 92 | # Requires: gecko-libs >= %{gecko_version} |
---|
[521] | 93 | Provides: %{name}-pac = %{version}-%{release} |
---|
| 94 | |
---|
| 95 | %description mozjs |
---|
| 96 | The %{name}-mozjs package contains the %{name} plugin for mozjs. |
---|
| 97 | |
---|
| 98 | %package webkit |
---|
| 99 | Summary: Plugin for %{name} and webkit |
---|
| 100 | Group: System Environment/Libraries |
---|
| 101 | Requires: %{name} = %{version} |
---|
| 102 | Provides: %{name}-pac = %{version}-%{release} |
---|
| 103 | |
---|
| 104 | %description webkit |
---|
| 105 | The %{name}-webkit package contains the %{name} plugin for |
---|
| 106 | webkit. |
---|
| 107 | |
---|
| 108 | %package devel |
---|
| 109 | Summary: Development files for %{name} |
---|
| 110 | Group: Development/Libraries |
---|
| 111 | Requires: %{name} = %{version}-%{release} |
---|
| 112 | Requires: pkgconfig |
---|
| 113 | |
---|
| 114 | %description devel |
---|
| 115 | The %{name}-devel package contains libraries and header files for |
---|
| 116 | developing applications that use %{name}. |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %prep |
---|
| 120 | %setup -q |
---|
[7974] | 121 | %patch1 -p1 -b .mozjs185 |
---|
| 122 | %patch2 -p1 -b .new-mozjs |
---|
| 123 | %patch100 -p1 -b .CVE-2012-4505 |
---|
[521] | 124 | |
---|
| 125 | %build |
---|
[2041] | 126 | %cmake \ |
---|
| 127 | -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \ |
---|
| 128 | -DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \ |
---|
| 129 | -DWITH_PERL=OFF \ |
---|
| 130 | . |
---|
| 131 | make VERBOSE=1 %{?_smp_mflags} |
---|
[521] | 132 | make %{?_smp_mflags} |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %install |
---|
| 136 | rm -rf $RPM_BUILD_ROOT |
---|
| 137 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
| 138 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | %clean |
---|
| 142 | rm -rf $RPM_BUILD_ROOT |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | %post -p /sbin/ldconfig |
---|
| 146 | |
---|
| 147 | %postun -p /sbin/ldconfig |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | %files |
---|
| 151 | %defattr(-,root,root,-) |
---|
| 152 | %doc AUTHORS COPYING README |
---|
| 153 | %{_libdir}/*.so.* |
---|
| 154 | %dir %{_libdir}/%{name} |
---|
| 155 | %dir %{_libdir}/%{name}/%{version} |
---|
[2041] | 156 | %dir %{_libdir}/%{name}/%{version}/modules |
---|
| 157 | %{_libdir}/%{name}/%{version}/modules/network_networkmanager.so |
---|
[521] | 158 | |
---|
| 159 | %files bin |
---|
| 160 | %defattr(-,root,root,-) |
---|
| 161 | %{_bindir}/proxy |
---|
| 162 | |
---|
| 163 | %files python |
---|
| 164 | %defattr(-,root,root,-) |
---|
[2041] | 165 | %{python_sitearch}/libproxy.py |
---|
[521] | 166 | |
---|
| 167 | %files gnome |
---|
| 168 | %defattr(-,root,root,-) |
---|
[2041] | 169 | %{_libdir}/%{name}/%{version}/modules/config_gnome.so |
---|
| 170 | %{_libexecdir}/pxgconf |
---|
[521] | 171 | |
---|
| 172 | %files kde |
---|
| 173 | %defattr(-,root,root,-) |
---|
[2041] | 174 | %{_libdir}/%{name}/%{version}/modules/config_kde4.so |
---|
[521] | 175 | |
---|
| 176 | %files mozjs |
---|
| 177 | %defattr(-,root,root,-) |
---|
[2041] | 178 | %{_libdir}/%{name}/%{version}/modules/pacrunner_mozjs.so |
---|
[521] | 179 | |
---|
| 180 | %files webkit |
---|
| 181 | %defattr(-,root,root,-) |
---|
[2041] | 182 | %{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so |
---|
[521] | 183 | |
---|
| 184 | %files devel |
---|
| 185 | %defattr(-,root,root,-) |
---|
[2041] | 186 | %{_includedir}/proxy.h |
---|
[521] | 187 | %{_libdir}/*.so |
---|
| 188 | %{_libdir}/pkgconfig/libproxy-1.0.pc |
---|
[2041] | 189 | %{_datadir}/cmake/Modules/Findlibproxy.cmake |
---|
[521] | 190 | |
---|
| 191 | |
---|
| 192 | %changelog |
---|
[7974] | 193 | * Mon Nov 5 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.4.6-3 |
---|
| 194 | - add patch100 for fix CVE-2012-4505 (pac file) |
---|
| 195 | - add Vendor/Distri tags |
---|
| 196 | - delete R: gecko-libs in mozjs |
---|
| 197 | |
---|
| 198 | * Mon Nov 05 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.6-2 |
---|
| 199 | - add Patch1,2 to build with js-1.8.5 |
---|
| 200 | |
---|
[2041] | 201 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.6-1 |
---|
| 202 | - new upstream release |
---|
| 203 | - drop Patch0 |
---|
| 204 | - add BuildRequires: cmake, kdelibs-devel |
---|
| 205 | - fix %files (from %{_libdir}/%{name}/%{version}/plugins to %{_libdir}/%{name}/%{version}/modules) |
---|
| 206 | |
---|
[1901] | 207 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-5 |
---|
| 208 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 209 | |
---|
[521] | 210 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.3-4 |
---|
| 211 | - rebuild with python-2.6 |
---|
| 212 | |
---|
| 213 | * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.3-3 |
---|
| 214 | - rebuild with gecko-1.9.1 |
---|
| 215 | |
---|
| 216 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.3-2 |
---|
| 217 | - rebuild with WebKit-gtk-1.0.0-8.svn41944 |
---|
| 218 | |
---|
| 219 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.3-1 |
---|
| 220 | - initial build for Vine Linux |
---|
| 221 | |
---|
| 222 | * Mon Mar 9 2009 kwizart < kwizart at gmail.com > - 0.2.3-10 |
---|
| 223 | - Rebuild for webkit |
---|
| 224 | - Raise requirement for xulrunner to 1.9.1 |
---|
| 225 | |
---|
| 226 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-9 |
---|
| 227 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 228 | |
---|
| 229 | * Thu Jan 22 2009 kwizart < kwizart at gmail.com > - 0.2.3-8 |
---|
| 230 | - Merge NetworkManager module into the main libproxy package |
---|
| 231 | - Main Requires the -python and -bin subpackage |
---|
| 232 | (splitted for multilibs compliance). |
---|
| 233 | |
---|
| 234 | * Fri Oct 24 2008 kwizart < kwizart at gmail.com > - 0.2.3-7 |
---|
| 235 | - Disable Gnome/KDE default support via builtin modules. |
---|
| 236 | (it needs to be integrated via Gconf2/neon instead). |
---|
| 237 | |
---|
| 238 | * Tue Oct 21 2008 kwizart < kwizart at gmail.com > - 0.2.3-6 |
---|
| 239 | - Disable Obsoletes. |
---|
| 240 | - Requires ev instead of evr for optionnals sub-packages. |
---|
| 241 | |
---|
| 242 | * Tue Oct 21 2008 kwizart < kwizart at gmail.com > - 0.2.3-5 |
---|
| 243 | - Use conditionals build. |
---|
| 244 | |
---|
| 245 | * Mon Sep 15 2008 kwizart < kwizart at gmail.com > - 0.2.3-4 |
---|
| 246 | - Remove plugin- in the name of the packages |
---|
| 247 | |
---|
| 248 | * Mon Aug 4 2008 kwizart < kwizart at gmail.com > - 0.2.3-3 |
---|
| 249 | - Move proxy.h to libproxy/proxy.h |
---|
| 250 | This will prevent it to be included in the default include path |
---|
| 251 | - Split main to libs and util and use libproxy to install all |
---|
| 252 | |
---|
| 253 | * Mon Aug 4 2008 kwizart < kwizart at gmail.com > - 0.2.3-2 |
---|
| 254 | - Rename binding-python to python |
---|
| 255 | - Add Requires: gecko-libs >= %%{gecko_version} |
---|
| 256 | - Fix some descriptions |
---|
| 257 | - Add plugin-webkit package |
---|
| 258 | |
---|
| 259 | * Fri Jul 11 2008 kwizart < kwizart at gmail.com > - 0.2.3-1 |
---|
| 260 | - Convert to Fedora spec |
---|
| 261 | |
---|
| 262 | * Fri Jun 6 2008 - dominique-rpm@leuenberger.net |
---|
| 263 | - Updated to version 0.2.3 |
---|
| 264 | * Wed Jun 4 2008 - dominique-rpm@leuenberger.net |
---|
| 265 | - Extended spec file to build all available plugins |
---|
| 266 | * Tue Jun 3 2008 - dominique-rpm@leuenberger.net |
---|
| 267 | - Initial spec file for Version 0.2.2 |
---|
| 268 | |
---|