projects
/
gssweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
762dae5
)
Include firefox extension packaging for centos
author
Sam Hartman
<hartmans@debian.org>
Thu, 21 May 2015 19:05:40 +0000
(15:05 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Fri, 22 May 2015 18:39:34 +0000
(14:39 -0400)
gssweb.spec
patch
|
blob
|
history
diff --git
a/gssweb.spec
b/gssweb.spec
index
e06e10c
..
748742d
100644
(file)
--- a/
gssweb.spec
+++ b/
gssweb.spec
@@
-1,3
+1,4
@@
+%include %{_rpmconfigdir}/macros.mozilla
Name: gssweb
Version: 0.1
Release: 1%{?dist}
Name: gssweb
Version: 0.1
Release: 1%{?dist}
@@
-9,7
+10,8
@@
URL: http://www.project-moonshot.org/
Source0: gssweb-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Source0: gssweb-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: openssl-devel, cppunit-devel, jansson-devel, krb5-devel
+BuildRequires: openssl-devel, cppunit-devel, jansson-devel, krb5-devel, glib-devel
+BuildRequires: mozilla-build
Requires: moonshot-ui
Requires: moonshot-ui
@@
-17,6
+19,10
@@
Requires: moonshot-ui
%description
This includes the json GSSAPI executables and libraries.
%description
This includes the json GSSAPI executables and libraries.
+%package -n firefox-gssweb
+Summary: Firefox Support for GssWeb
+Arch: noarch
+
%prep
%setup -q -n gssweb
%prep
%setup -q -n gssweb
@@
-30,6
+36,8
@@
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+%xpi_unpack -f browsers/firefox/gssweb.xpi
+%xpi_symlink -a %{firefox_app_id}
%clean
%clean
@@
-41,6
+49,10
@@
rm -rf $RPM_BUILD_ROOT
%{_libdir}/libjsongssapi.so
%{_libdir}/libjsongssapi.so.*
%{_bindir}/json_gssapi
%{_libdir}/libjsongssapi.so
%{_libdir}/libjsongssapi.so.*
%{_bindir}/json_gssapi
+%files -n firefox-gssweb
+%defattr(-,root,root,-)
+%{_firefox_extdir}/
+%{_mozilla_common_extdir}/%{name}/