Add missing libraries
This commit is contained in:
parent
e3240cd86e
commit
93d98e6360
19
gpick.spec
19
gpick.spec
|
@ -4,7 +4,7 @@
|
|||
|
||||
Name: gpick
|
||||
Version: 0.2.6
|
||||
Release: 0.rc1%{?date:.%{date}git}%{?dist}
|
||||
Release: 0.rc1%{?date:.%{date}git}.1%{?dist}
|
||||
Summary: Advanced color picker
|
||||
|
||||
License: BSD
|
||||
|
@ -39,6 +39,13 @@ ExcludeArch: ppc64 ppc64le aarch64 armv7hl s390x
|
|||
%description
|
||||
Advanced color picker
|
||||
|
||||
%package libs
|
||||
Summary: Libraries for %{name}
|
||||
|
||||
%description libs
|
||||
The %{name}-libs package contains shared library for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%{?shortcommit:
|
||||
%autosetup -n %{name}-%{commit}}
|
||||
|
@ -63,6 +70,10 @@ echo "LOCALEDIR=\"%{_datadir}/locale\"" >> user-config.py
|
|||
%install
|
||||
%make_install
|
||||
|
||||
# copy libraries
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
cp -p %{_builddir}/%{name}-%{commit}/*.so %{buildroot}%{_libdir}
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
|
||||
|
@ -79,7 +90,13 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
|
|||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
|
||||
%files libs
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Feb 22 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 0.2.6-0.rc1.20181011git.1
|
||||
- Add missing libraries
|
||||
|
||||
* Sun Feb 17 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 0.2.6-0.rc1.20181011git
|
||||
- 20181011 snapshot
|
||||
- Switch to cmake for build
|
||||
|
|
Loading…
Reference in New Issue