[mozilla-requestpolicy] New package (bz#1128754)
Antonio Trande
sagitter at fedoraproject.org
Mon Jan 26 13:30:25 UTC 2015
commit 74b2b0c881d2c704b370d8b9fa2cdfbf027ac803
Author: sagitter <sagitterATfedoraprojectDOTorg>
Date: Mon Jan 26 14:30:11 2015 +0100
New package (bz#1128754)
.gitignore | 1 +
mozilla-requestpolicy.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1728627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/requestpolicy-d27363e7a328d7ea47f3b35640df9ce888ff754e.zip
diff --git a/mozilla-requestpolicy.spec b/mozilla-requestpolicy.spec
new file mode 100644
index 0000000..fe6bca2
--- /dev/null
+++ b/mozilla-requestpolicy.spec
@@ -0,0 +1,91 @@
+%global checkout d27363e7a328d7ea47f3b35640df9ce888ff754e
+%global date 20141213
+
+%global moz_extensions %{_datadir}/mozilla/extensions
+
+%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+%global src_ext_id requestpolicy at requestpolicy.com
+%global firefox_inst_dir %{moz_extensions}/%{firefox_app_id}/%{src_ext_id}
+
+%global seamonkey_app_id \{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
+%global seamonkey_inst_dir %{moz_extensions}/%{seamonkey_app_id}
+
+Name: mozilla-requestpolicy
+Version: 1.0
+Release: 0.2.%{date}git%(echo %{checkout} | cut -c-6)%{?dist}
+Summary: Firefox and Seamonkey extension that gives you control over cross-site requests
+License: GPLv3+ and LGPLv3+
+URL: https://www.requestpolicy.com
+# A git repo is available at https://github.com/RequestPolicy/requestpolicy
+Source0: https://github.com/RequestPolicyContinued/requestpolicy/archive/%{checkout}.zip#/requestpolicy-%{checkout}.zip
+
+%if 0%{?el6}
+Requires: firefox >= 3.5
+BuildRequires: zip
+%else
+Requires: mozilla-filesystem
+%endif
+BuildArch: noarch
+
+%description
+With RequestPolicy installed, you will see a new flag icon normally
+at the top-right of your browser.
+This flag turns red when RequestPolicy has blocked requests
+from the current website you are viewing.
+
+You'll notice on web pages you visit that blocked cross-site images
+are indicated with a red flag and border in the place of where
+the image would have been. Hovering your cursor over the blocked
+image will tell you which domain the blocked image was from.
+
+Clicking on the RequestPolicy icon in the status bar brings up
+a menu of options. The menu looks like the image below.
+
+The menu indicates destination domains from the current site
+that have either been blocked or allowed.Each of the destination
+domains listed have their own menus which give you options
+about which requests to allow.
+
+
+%prep
+%setup -q -n requestpolicy-%{checkout}
+
+%build
+make
+
+%install
+pushd build
+for f in `find . -print | sed -e '/\.\/$/d'` ; do
+ if [ -d ${f} ] ; then
+ install -dm 755 %{buildroot}%{firefox_inst_dir}/${f}
+ else
+ install -pm 644 ${f} %{buildroot}%{firefox_inst_dir}/${f}
+ fi
+done
+popd
+
+# symlink from seamonkey extension to firefox extension
+mkdir -p %{buildroot}%{seamonkey_inst_dir}
+ln -s %{firefox_inst_dir} %{buildroot}%{seamonkey_inst_dir}
+
+%files
+%doc *.md
+%if 0%{?el6}
+%doc src/LICENSE
+%doc src/LICENSE.gpl
+%else
+%license src/LICENSE
+%license src/LICENSE.gpl
+%endif
+%{firefox_inst_dir}/
+%{seamonkey_inst_dir}/*
+
+%changelog
+* Thu Jan 22 2015 Antonio Trande <sagitterATfedoraproject.org> - 1.0-0.2.20141213gitd27363
+- Package owns only its directories
+
+* Thu Jan 22 2015 Antonio Trande <sagitterATfedoraproject.org> - 1.0-0.1.20141213gitd27363
+- Update to 1.0 pre-release beta8
+
+* Sat Aug 09 2014 Antonio Trande <sagitterATfedoraproject.org> - 0.5.28-1
+- First package
diff --git a/sources b/sources
index e69de29..6871fcb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2b6fe0573a4f09aebac77dc95f888db4 requestpolicy-d27363e7a328d7ea47f3b35640df9ce888ff754e.zip
More information about the scm-commits
mailing list