Hrvoje Senjan 2014-05-05 02:25:18 +00:00 committed by Git OBS Bridge
parent 2bb0da48fb
commit c2420631b2

View File

@ -40,6 +40,7 @@ create KDED modules.
%package -n %lname %package -n %lname
Summary: Convenience classes for QtDBus Summary: Convenience classes for QtDBus
Group: System/GUI/KDE Group: System/GUI/KDE
Recommends: %{name}-lang = %{version}
%description -n %lname %description -n %lname
KDBusAddons provides convenience classes on top of QtDBus, as well as an API to KDBusAddons provides convenience classes on top of QtDBus, as well as an API to
@ -56,6 +57,7 @@ Requires: pkgconfig(Qt5DBus) >= 5.2.0
KDBusAddons provides convenience classes on top of QtDBus, as well as an API to KDBusAddons provides convenience classes on top of QtDBus, as well as an API to
create KDED modules. Development files. create KDED modules. Development files.
%lang_package -n %lname
%prep %prep
%setup -q %setup -q
@ -65,12 +67,16 @@ create KDED modules. Development files.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%fdupes -s %{buildroot} %fdupes %{buildroot}%{_kf5_sharedir}
%find_lang %{name}5 --with-qt --without-mo
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname-lang -f %{name}5.lang
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING* README* %doc COPYING* README*