2023-01-04 15:31:16 +08:00
|
|
|
%global xfceversion 4.18
|
2021-06-15 19:51:54 +08:00
|
|
|
|
|
|
|
|
%global namespc Libxfce4util
|
|
|
|
|
|
2020-06-10 17:57:36 +08:00
|
|
|
Name: libxfce4util
|
2023-01-04 15:31:16 +08:00
|
|
|
Version: 4.18.0
|
2020-06-10 17:57:36 +08:00
|
|
|
Release: 1
|
2021-06-15 19:51:54 +08:00
|
|
|
Summary: Utility library for the Xfce4 desktop environment
|
2020-06-10 17:57:36 +08:00
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.xfce.org/
|
2021-06-15 19:51:54 +08:00
|
|
|
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
|
2020-06-10 17:57:36 +08:00
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.24.0
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
|
BuildRequires: vala
|
2021-06-15 19:51:54 +08:00
|
|
|
BuildRequires: make
|
2020-06-10 17:57:36 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package includes basic utility non-GUI functions for Xfce4.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Developpment tools for libxfce4util library
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: glib2-devel
|
2021-06-15 19:51:54 +08:00
|
|
|
Requires: gtk3-devel
|
2020-06-10 17:57:36 +08:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
2021-06-15 19:51:54 +08:00
|
|
|
This package includes static libraries and header files for the
|
|
|
|
|
libxfce4util library.
|
2020-06-10 17:57:36 +08:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
# Remove rpaths
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
export LD_LIBRARY_PATH="`pwd`/libxfce4util/.libs"
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
2021-06-15 19:51:54 +08:00
|
|
|
# kevin identified the issue - fixes wrong library permissions
|
|
|
|
|
chmod 755 %{buildroot}/%{_libdir}/*.so
|
2020-06-10 17:57:36 +08:00
|
|
|
|
2021-06-15 19:51:54 +08:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2020-06-10 17:57:36 +08:00
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
2021-06-15 19:51:54 +08:00
|
|
|
%doc AUTHORS ChangeLog NEWS README.Kiosk THANKS
|
2020-06-10 17:57:36 +08:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
%{_sbindir}/xfce4-kiosk-query
|
2021-06-15 19:51:54 +08:00
|
|
|
%{_libdir}/girepository-1.0/%{namespc}-1.0.typelib
|
|
|
|
|
%{_datadir}/gir-1.0/%{namespc}-1.0.gir
|
2020-06-10 17:57:36 +08:00
|
|
|
%{_datadir}/vala/vapi/%{name}-1.0.vapi
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_includedir}/xfce4
|
|
|
|
|
%doc %{_datadir}/gtk-doc/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-01-04 15:31:16 +08:00
|
|
|
* Wed Jan 4 2023 Dillon Chen <dillon.chen@gmail.com> - 4.18.0-1
|
|
|
|
|
- Update to 4.18.0
|
|
|
|
|
|
2021-06-15 19:51:54 +08:00
|
|
|
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
|
|
|
|
|
- Update to 4.16.0
|
|
|
|
|
|
2020-06-10 17:57:36 +08:00
|
|
|
* Wed Jun 10 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.0-1
|
|
|
|
|
- build for openEuler
|