77 lines
2.1 KiB
RPMSpec
77 lines
2.1 KiB
RPMSpec
Name: xfconf
|
|
Version: 4.14.3
|
|
Release: 1%{?dist}
|
|
Summary: Hierarchical configuration system for Xfce
|
|
License: GPLv2
|
|
URL: http://www.xfce.org/
|
|
Source0: http://archive.xfce.org/src/xfce/%{name}/4.14/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.14
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.1.0
|
|
BuildRequires: pkgconfig(dbus-glib-1) >= 0.84
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: vala
|
|
Requires: dbus-x11
|
|
|
|
%description
|
|
Xfconf is a hierarchical (tree-like) configuration system where the
|
|
immediate child nodes of the root are called "channels". All settings
|
|
beneath the channel nodes are called "properties."
|
|
|
|
%package devel
|
|
Summary: Development tools for xfconf
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: dbus-devel
|
|
Requires: dbus-glib-devel
|
|
Requires: glib2-devel
|
|
|
|
%description devel
|
|
This package includes the libraries and header files you will need
|
|
to compile applications for xfconf.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
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`/xfconf/.libs"
|
|
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# get rid of .la files
|
|
find %{buildroot} -type f -name *.la -exec rm -f {} \;
|
|
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog NEWS TODO
|
|
%{_libdir}/lib*.so.*
|
|
%{_bindir}/xfconf-query
|
|
%{_libdir}/xfce4/xfconf/
|
|
%{_libdir}/girepository-1.0/Xfconf-0.typelib
|
|
%{_datadir}/vala/vapi/libxfconf-0.deps
|
|
%{_datadir}/vala/vapi/libxfconf-0.vapi
|
|
%{_datadir}/dbus-1/services/org.xfce.Xfconf.service
|
|
%{_datadir}/gir-1.0/Xfconf-0.gir
|
|
|
|
%files devel
|
|
%doc %{_datadir}/gtk-doc
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/xfce4/xfconf-0
|
|
|
|
%changelog
|
|
* Mon Jul 6 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.3-1
|
|
- Init package
|