This commit is contained in:
parent
bfba1ba108
commit
db673fa311
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define rname kxmlrpcclient
|
%define rname kxmlrpcclient
|
||||||
|
%define lname libKF5XmlRpcClient5
|
||||||
%define _tar_path 5.9
|
%define _tar_path 5.9
|
||||||
Name: kxmlrpcclient5
|
Name: kxmlrpcclient5
|
||||||
Version: %{_tar_path}.0
|
Version: %{_tar_path}.0
|
||||||
@ -38,22 +39,24 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
Library containing simple XML-RPC Client support.
|
Library containing simple XML-RPC Client support.
|
||||||
|
|
||||||
%package -n libKF5XmlRpcClient5
|
%package -n %lname
|
||||||
Summary: Library containing simple XML-RPC Client support
|
Summary: Library containing simple XML-RPC Client support
|
||||||
Group: Development/Libraries/KDE
|
Group: Development/Libraries/KDE
|
||||||
|
Recommends: %lname-lang = %{version}
|
||||||
|
|
||||||
%description -n libKF5XmlRpcClient5
|
%description -n %lname
|
||||||
Library containing simple XML-RPC Client support.
|
Library containing simple XML-RPC Client support.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Library containing simple XML-RPC Client support: Build Environment
|
Summary: Library containing simple XML-RPC Client support: Build Environment
|
||||||
Group: Development/Libraries/KDE
|
Group: Development/Libraries/KDE
|
||||||
|
Requires: %lname = %{version}
|
||||||
Requires: kio-devel >= %{kf5_version}
|
Requires: kio-devel >= %{kf5_version}
|
||||||
Requires: libKF5XmlRpcClient5 = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Library containing simple XML-RPC Client support. Development files.
|
Library containing simple XML-RPC Client support. Development files.
|
||||||
|
|
||||||
|
%lang_package -n %lname
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{rname}-%{version}
|
%setup -q -n %{rname}-%{version}
|
||||||
|
|
||||||
@ -64,11 +67,20 @@ Library containing simple XML-RPC Client support. Development files.
|
|||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
%post -n libKF5XmlRpcClient5 -p /sbin/ldconfig
|
if [ -e po ]; then
|
||||||
|
%find_lang libkxmlrpcclient5 %{name}.lang
|
||||||
|
else
|
||||||
|
touch %{name}.lang
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -n libKF5XmlRpcClient5 -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libKF5XmlRpcClient5
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname-lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING*
|
%doc COPYING*
|
||||||
%{_kf5_libdir}/libKF5XmlRpcClient.so.*
|
%{_kf5_libdir}/libKF5XmlRpcClient.so.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user