name qt5 subpkgs properly (libaccounts-qt-qt5 => libaccounts-qt5)

epel9
Rex Dieter 9 years ago
parent 8e77ce6b9d
commit 4397087851

@ -4,7 +4,7 @@
Name: libaccounts-qt
Summary: Accounts framework Qt bindings
Version: 1.13
Release: 10%{?dist}
Release: 11%{?dist}
License: LGPLv2
URL: https://gitlab.com/accounts-sso/libaccounts-qt
@ -31,16 +31,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%package qt5
%package -n libaccounts-qt5
Summary: Accounts framework Qt5 bindings
BuildRequires: pkgconfig(Qt5Gui)
%description qt5
Obsoletes: libaccounts-qt-qt5 < 1.13-11
%description -n libaccounts-qt5
%{summary}.
%package qt5-devel
%package -n libaccounts-qt5-devel
Summary: Development files for %{name}
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%description qt5-devel
Obsoletes: libaccounts-qt-qt5-devel < 1.13-11
Requires: libaccounts-qt5%{?_isa} = %{version}-%{release}
%description -n libaccounts-qt5-devel
%{summary}.
%package doc
@ -123,10 +125,10 @@ rm -fv %{buildroot}%{_bindir}/accountstest
%{_libdir}/pkgconfig/accounts-qt.pc
%{_libdir}/cmake/AccountsQt/
%post qt5 -p /sbin/ldconfig
%postun qt5 -p /sbin/ldconfig
%post -n libaccounts-qt5 -p /sbin/ldconfig
%postun -n libaccounts-qt5 -p /sbin/ldconfig
%files qt5
%files -n libaccounts-qt5
%license COPYING
%{_libdir}/libaccounts-qt5.so.*
%dir %{_datadir}/accounts/
@ -134,7 +136,7 @@ rm -fv %{buildroot}%{_bindir}/accountstest
%dir %{_datadir}/accounts/services/
%files qt5-devel
%files -n libaccounts-qt5-devel
%{_libdir}/libaccounts-qt5.so
%{_includedir}/accounts-qt5/
%{_libdir}/pkgconfig/accounts-qt5.pc
@ -145,6 +147,9 @@ rm -fv %{buildroot}%{_bindir}/accountstest
%changelog
* Fri Oct 30 2015 Rex Dieter <rdieter@fedoraproject.org> 1.13-11
- name qt5 subpkgs properly (libaccounts-qt-qt5 => libaccounts-qt5)
* Thu Oct 29 2015 Rex Dieter <rdieter@fedoraproject.org> - 1.13-10
- hack around cannot build out of src-tree
- provide -qt5, -doc here

Loading…
Cancel
Save