Robert-André Mauchin <> changed:

           What    |Removed                     |Added
              Flags|needinfo?( |
                   |)                           |

--- Comment #11 from Robert-André Mauchin <> ---
Here's my fixed SPEC:

# original upstream name: chrome-token-signing
# it is a native messaging solution for firefox/chrome signing support
# chrome and firefox dropped legacy npapi support form browsers
# and Estonia ID card software now use native messaging to talk with smartcards
# over javascript to create digital signatures.
# Information source user zomps from #esteid Freenode IRC channel
%global upstream_name chrome-token-signing

Name:        webextension-token-signing
Version:    1.0.6
Release:    1%{?dist}
Summary:    Firefox extension for signing with your eID on the web
License:    LGPLv2+

BuildRequires:  qt5-qtbase-devel
BuildRequires:  pkgconfig(openssl)
BuildRequires:  pkgconfig(libpcsclite)
Requires:       esteidcerts
Requires:       opensc%{?_isa}
Requires:       pcsc-lite%{?_isa}
Requires:       pcsc-lite-ccid%{?_isa}
# mozilla-filesystem is required to install files into
# %%_prefix/lib/mozilla and
# %%{_datadir}/mozilla/extensions/
Requires:       mozilla-filesystem

Firefox extension for signing with your eID on the web 

%setup -q -n %{upstream_name}-%{version}

sed -i "s|qmake|%{_qt5_bindir}/qmake \
  QMAKE_CFLAGS_DEBUG=\"%optflags\" \
  QMAKE_CFLAGS_RELEASE=\"%optflags\" \
  QMAKE_CXXFLAGS_DEBUG=\"%optflags\" \
  QMAKE_CXXFLAGS_RELEASE=\"%optflags\" \
  QMAKE_LFLAGS_DEBUG=\"%{?__global_ldflags}\" \
  QMAKE_LFLAGS_RELEASE=\"%{?__global_ldflags}\" \
  QMAKE_STRIP=|" host-linux/GNUmakefile

make %{?_smp_mflags}

# make -C host-linux install DESTDIR=%%{buildroot}
make -C host-linux install INSTALL_ROOT=%{buildroot}

# Firefox is the browser installed by default on Fedora
# Chrome is not available in Fedora repository, so
# the following Chrome files will be removed

rm -f
rm -f
rm -f
rm -f $RPM_BUILD_ROOT/etc/opt/chrome/native-messaging-hosts/ee.ria.esteid.json

# %%{_datadir} is a macro for /usr/share
# %% dir creates a directory under a specific path
%dir %_prefix/lib/mozilla/native-messaging-hosts/
# %%_prefix is a macro for /usr directory



* Thu Feb 22 2018 Germano Massullo <> - 1.0.6-1
- first release

It builds in Koji:

You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
package-review mailing list --
To unsubscribe send an email to

Reply via email to