Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
wwwoffle
wwwoffle.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wwwoffle.spec of Package wwwoffle
# # spec file for package wwwoffle # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: wwwoffle Summary: World Wide Web Offline Proxy License: GPL-2.0+ Group: Productivity/Networking/Web/Proxy Version: 2.9h Release: 0 Url: http://gedanken.demon.co.uk/wwwoffle/ Source0: http://gedanken.demon.co.uk/download-wwwoffle/%{name}-%{version}.tgz Source1: rc.%{name} Source3: ip-up.%{name} Source4: ip-down.%{name} Source5: %{name}.cron # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-2.8d-IndexProtocol.diff # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: %{name}-2.9e-implicit.patch # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: %{name}-2.9e-res_init.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq PreReq: %insserv_prereq BuildRequires: flex %if 0%{?suse_version} > 1210 BuildRequires: libgnutls-devel %else BuildRequires: gnutls-devel %endif BuildRequires: htdig-devel BuildRequires: zlib-devel Requires: cron %description A proxy HTTP server for computers with dial-up internet access. - Caching of pages viewed while connected for review later. - Browsing of cached pages while not connected, with the ability to follow links and mark other pages for download. - Non-interactive downloading of specified pages. - Multiple indices of pages stored in cache for easy selection. - Interactive or command line option to select pages for fetching individually or recursively. - All options controlled using a simple configuration file with a web page to edit it. %prep %setup -q %patch0 -b _orig %patch1 -p1 %patch2 -p1 # easier to delete them now and include whole doc directory later %{__rm} -f doc/README.win32 doc/*/README.win32 %build export LC_ALL=C %configure \ --with-confdir=%{_sysconfdir}/%{name} \ --with-gcrypt \ --with-gnutls %{__make} %install export LC_ALL=C %{__mkdir} -p %{buildroot}%{_sysconfdir}/init.d %{__mkdir} -p %{buildroot}/%{_sysconfdir}/cron.{daily,weekly} %makeinstall %{__install} -m 755 %{S:3} $RPM_BUILD_DIR %{__sed} "s@/etc/wwwoffle\\.conf@/etc/wwwoffle/wwwoffle.conf@g" < doc/wwwoffled.man \ > %{buildroot}%{_mandir}/man8/wwwoffled.8 %{__install} -m 755 %{S:1} %{buildroot}/etc/init.d/%{name} ln -fs ../../etc/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %{__install} -d -m 755 %{buildroot}%{_localstatedir}/adm/fillup-templates %{__install} -d -m 755 %{buildroot}%{_sysconfdir}/ppp/ip-{up,down}.d %{__install} -m 755 %{S:3} %{buildroot}/%{_sysconfdir}/ppp/ip-up.d/%{name} %{__install} -m 755 %{S:4} %{buildroot}/%{_sysconfdir}/ppp/ip-down.d/%{name} %{__install} -m 644 %{S:5} %{buildroot}/%{_sysconfdir}/cron.weekly/%{name} # run as wwwrun:www by default pushd %{buildroot}%{_sysconfdir}/%{name} %{__sed} "s/^#run-uid.*/ run-uid = wwwrun/ s/^#run-gid.*/ run-gid = www/" < %{name}.conf > %{name}.conf.t %{__mv} %{name}.conf.t %{name}.conf popd %{__rm} -rf %{buildroot}%{_prefix}/doc/%{name} %{__rm} -rf %{buildroot}%{_localstatedir}/spool/%{name}/outgoing/* %{__rm} -f doc/ANNOUNCE~ %post %fillup_and_insserv wwwoffle %preun %stop_on_removal wwwoffle %postun %restart_on_update wwwoffle %insserv_cleanup %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root) # docs %doc ChangeLog* LSM contrib doc/* %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* # wwwoffle configs %config %{_sysconfdir}/init.d/%{name} %config(missingok,noreplace) %attr(755,root,root) %{_sysconfdir}/cron.weekly/%{name} %dir %attr(750, wwwrun, root) %{_sysconfdir}/%{name} %config %attr(640, wwwrun, root) %{_sysconfdir}/%{name}/%{name}.conf %dir %{_localstatedir}/spool/%{name}/search/ # search configs for htdig %dir %{_localstatedir}/spool/%{name}/search/htdig %dir %{_localstatedir}/spool/%{name}/search/htdig/conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htfuzzy.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htsearch.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htdig-full.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htdig-lasttime.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htdig-incr.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/htdig/conf/htmerge.conf # search configs for mnogosearch %dir %{_localstatedir}/spool/%{name}/search/mnogosearch %dir %{_localstatedir}/spool/%{name}/search/mnogosearch/conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/mnogosearch/conf/indexer-full.old.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/mnogosearch/conf/result.html %config(noreplace) %{_localstatedir}/spool/%{name}/search/mnogosearch/conf/indexer-incr.old.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/mnogosearch/conf/indexer-full.conf %config(noreplace) %{_localstatedir}/spool/%{name}/search/mnogosearch/conf/indexer-incr.conf # search configs for namazu %dir %{_localstatedir}/spool/%{name}/search/namazu %dir %{_localstatedir}/spool/%{name}/search/namazu/conf/ %config(noreplace) %{_localstatedir}/spool/%{name}/search/namazu/conf/mknmzrc %config(noreplace) %{_localstatedir}/spool/%{name}/search/namazu/conf/namazurc %dir %attr(750, wwwrun, root) %{_localstatedir}/spool/%{name} %dir %{_localstatedir}/spool/%{name}/html %doc %{_localstatedir}/spool/%{name}/html/* %dir %attr(-, wwwrun, root) %{_localstatedir}/spool/%{name}/http %dir %attr(-, wwwrun, root) %{_localstatedir}/spool/%{name}/lasttime %dir %attr(-, wwwrun, root) %{_localstatedir}/spool/%{name}/monitor %dir %attr(-, wwwrun, root) %{_localstatedir}/spool/%{name}/outgoing %dir %attr(-, wwwrun, root) %{_localstatedir}/spool/%{name}/prevtime1 # rest of htdig %{_localstatedir}/spool/%{name}/search/htdig/db %{_localstatedir}/spool/%{name}/search/htdig/tmp %{_localstatedir}/spool/%{name}/search/htdig/scripts %{_localstatedir}/spool/%{name}/search/htdig/db-lasttime # rest of mnogosearch %{_localstatedir}/spool/%{name}/search/mnogosearch/db %{_localstatedir}/spool/%{name}/search/mnogosearch/scripts %{_localstatedir}/spool/%{name}/search/udmsearch # rest of namazu %{_localstatedir}/spool/%{name}/search/namazu/db %{_localstatedir}/spool/%{name}/search/namazu/scripts # hyperestraier %{_localstatedir}/spool/%{name}/search/hyperestraier %config(noreplace) %{_localstatedir}/spool/%{name}/search/hyperestraier/conf/estseek.conf %{_bindir}/* %{_sbindir}/* %{_sysconfdir}/ppp/ip-up.d/%{name} %{_sysconfdir}/ppp/ip-down.d/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor