embedlite-components-qt5.spec 1.58 KB
Newer Older
1
%global min_xulrunner_version 38.8.0.18
2

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Don't depend on private xulrunner-qt5 libraries.
%global privlibs             libfreebl3
%global privlibs %{privlibs}|libmozalloc
%global privlibs %{privlibs}|libmozsqlite3
%global privlibs %{privlibs}|libnspr4
%global privlibs %{privlibs}|libnss3
%global privlibs %{privlibs}|libnssdbm3
%global privlibs %{privlibs}|libnssutil3
%global privlibs %{privlibs}|libplc4
%global privlibs %{privlibs}|libplds4
%global privlibs %{privlibs}|libsmime3
%global privlibs %{privlibs}|libsoftokn3
%global privlibs %{privlibs}|libssl3

%global __requires_exclude ^(%{privlibs})\\.so

19 20
Name:       embedlite-components-qt5
Summary:    EmbedLite components Qt5
21
Version:    1.19.29
22 23
Release:    1
Group:      Applications/Internet
24
License:    MPLv2
25 26
URL:        https://github.com/tmeshkova/embedlite-components
Source0:    %{name}-%{version}.tar.bz2
27
BuildRequires:  xulrunner-qt5-devel >= %{min_xulrunner_version}
28
BuildRequires:  pkgconfig(nspr)
29
BuildRequires:  pkgconfig(pixman-1)
30 31 32 33 34
BuildRequires:  python
BuildRequires:  libtool
BuildRequires:  automake
BuildRequires:  autoconf
BuildRequires:  perl
35
Requires:  xulrunner-qt5 >= %{min_xulrunner_version}
36
Conflicts: embedlite-components
37 38 39 40 41 42 43 44 45 46

%description
EmbedLite Components required for embeded browser UI

%prep
%setup -q -n %{name}-%{version}

%build

NO_CONFIGURE=yes ./autogen.sh
47
%configure --with-system-nspr --with-system-pixman
48 49 50 51 52 53 54 55 56

make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install

%post
/sbin/ldconfig
57
touch /var/lib/_MOZEMBED_CACHE_CLEAN_
58 59 60 61 62 63 64

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_libdir}/mozembedlite/*