Compare commits
10 Commits
4936f40b2a
...
6401190877
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6401190877 | ||
|
|
a2e1eda947 | ||
|
|
cceed4f8ac | ||
|
|
09feeab25f | ||
|
|
51628bf7fc | ||
|
|
926873eaa5 | ||
|
|
b170605d56 | ||
|
|
3966c1a3aa | ||
|
|
1cd7120fd3 | ||
|
|
7f886da2b6 |
6
_constraints
Normal file
6
_constraints
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<constraints>
|
||||||
|
<linux><version>
|
||||||
|
<min>4.0</min>
|
||||||
|
</version></linux>
|
||||||
|
</constraints>
|
||||||
|
|
||||||
29
esc.spec
29
esc.spec
@ -1,6 +1,6 @@
|
|||||||
Name: esc
|
Name: esc
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 3
|
Release: 6
|
||||||
Summary: esc embeds files into go programs and provides http
|
Summary: esc embeds files into go programs and provides http
|
||||||
License: GPL+
|
License: GPL+
|
||||||
URL: https://github.com/mjibson/esc
|
URL: https://github.com/mjibson/esc
|
||||||
@ -12,6 +12,7 @@ Source3: esc.png
|
|||||||
BuildRequires: glib2-devel atk-devel pkgconfig nspr-devel nss-devel nss-static
|
BuildRequires: glib2-devel atk-devel pkgconfig nspr-devel nss-devel nss-static
|
||||||
BuildRequires: pcsc-lite-devel desktop-file-utils dbus-glib-devel glib2-devel gcc-c++
|
BuildRequires: pcsc-lite-devel desktop-file-utils dbus-glib-devel glib2-devel gcc-c++
|
||||||
BuildRequires: opensc gobject-introspection-devel gtk3-devel gjs-devel GConf2-devel
|
BuildRequires: opensc gobject-introspection-devel gtk3-devel gjs-devel GConf2-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
Requires: pcsc-lite nss nspr dbus opensc gjs gobject-introspection gtk3 glib2
|
Requires: pcsc-lite nss nspr dbus opensc gjs gobject-introspection gtk3 glib2
|
||||||
|
|
||||||
@ -55,7 +56,17 @@ ln -s %{_datadir}/icons/hicolor/48x48/apps/esc.png usr/share/pixmaps/esc.png
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
install -m 0755 %{SOURCE2} %{buildroot}/%{_datadir}/applications
|
install -m 0755 %{SOURCE2} %{buildroot}/%{_datadir}/applications
|
||||||
cp -a %{_mandir} %{buildroot}%{_mandir}
|
|
||||||
|
chrpath -d %{buildroot}%{_libdir}/%{name}-%{version}/lib/libcoolkeymgr-1.0.so.0.0.0
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "/usr/local/lib" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -69,11 +80,23 @@ cp -a %{_mandir} %{buildroot}%{_mandir}
|
|||||||
%{_datadir}/pixmaps/esc.png
|
%{_datadir}/pixmaps/esc.png
|
||||||
%{_datadir}/applications/esc.desktop
|
%{_datadir}/applications/esc.desktop
|
||||||
%{_datadir}/icons/hicolor/48x48/apps/esc.png
|
%{_datadir}/icons/hicolor/48x48/apps/esc.png
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_mandir}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 12 2022 Ge Wang <wangge20@huawei.com> - 1.1.2-6
|
||||||
|
- Add chrpath in BuildRequire
|
||||||
|
|
||||||
|
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 1.1.2-5
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
|
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-4
|
||||||
|
- Type: bugfix
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: delete files in help package
|
||||||
|
|
||||||
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-3
|
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user