Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
oxtender4tb17
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 10
[-]
[+]
Changed
oxtender4tb.spec
@@ -1,5 +1,7 @@ %define lightningver 1.9 %define oxtenderver 1.18.0.1 +%define oxtenderdir \{3550f703-e582-4d05-9a08-453d09bdfdc6\}/\{e6050bda-f130-11dd-8931-239656d89593\} +%define lightningdir \{3550f703-e582-4d05-9a08-453d09bdfdc6\}/\{e2fda1a4-762b-4020-b5ad-a41df1933103\} %define mozdir %{_libdir}/mozilla %define destdir %{mozdir}/extensions Name: oxtender4thunberbird @@ -12,6 +14,10 @@ Source0: open-xchange-thunderbird-connector-%{oxtenderver}.xpi Source1: lightning-%{lightningver}-sm+tb-linux.xpi BuildRoot: %{_tmppath}/%{name}-%{version}-root +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif +BuildRequires: unzip BuildRequires: thunderbird-esr < 18.0) Requires: thunderbird-esr < 18.0) @@ -24,9 +30,16 @@ %build %install -%__install -d -m0755 %{buildroot}%{destdir}/ -%__install -m0644 %{S:0} %{buildroot}%{destdir}/ -%__install -m0644 %{S:1} %{buildroot}%{destdir}/ +%__install -d -m0755 %{buildroot}%{destdir}/%{oxtenderdir}/ +%__install -d -m0755 %{buildroot}%{destdir}/%{lightningdir}/ +cd %{buildroot}%{destdir}/%{oxtenderdir} +unzip %{S:0} +cd %{buildroot}%{destdir}/%{lightningdir} +unzip %{S:1} +%if 0%{?suse_version} > 1020 +# create hardlinks for the rest +%fdupes $RPM_BUILD_ROOT +%endif %clean rm -rf %{buildroot} @@ -35,6 +48,8 @@ %defattr(-,root,root) %dir %{mozdir} %dir %{destdir} -%{destdir}/*.xpi +%dir %{destdir}/{3550f703-e582-4d05-9a08-453d09bdfdc6} +%{destdir}/%{oxtenderdir} +%{destdir}/%{lightningdir} %changelog