You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libaccounts-qt/libaccounts-qt.spec

122 lines
3.3 KiB

%global commit0 2a9cc22ff7b0b62b60541423763cb3dd992c0f40
Name: libaccounts-qt
Summary: Accounts framework Qt bindings
Version: 1.13
Release: 1%{?dist}
License: LGPLv2
URL: https://gitlab.com/accounts-sso/libaccounts-qt
Source0: https://gitlab.com/accounts-sso/libaccounts-qt/repository/archive.tar.gz?ref=%{version}#/libaccounts-qt-%{version}-%{commit0}.tar.gz
Patch1: libaccounts-qt-64bitarchs.patch
## upstream patches
Patch102: 0002-Fix-memory-leaks-found-by-valgrind.patch
patch105: 0005-Use-gboolean-instead-of-bool.patch
BuildRequires: pkgconfig(QtGui)
BuildRequires: pkgconfig(libaccounts-glib)
BuildRequires: doxygen
BuildRequires: graphviz
15 years ago
%description
%{summary}.
15 years ago
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
15 years ago
%prep
%setup -q -n libaccounts-qt-%{version}-%{commit0}
%patch1 -p1 -b .64bitarchs
%patch102 -p1 -b .0002
%patch105 -p1 -b .0005
15 years ago
%build
%{qmake_qt4} \
QMF_INSTALL_ROOT=%{_prefix} \
CONFIG+=release \
accounts-qt.pro
15 years ago
make %{?_smp_mflags}
15 years ago
%install
make install INSTALL_ROOT=%{buildroot}
rm -fv %{buildroot}%{_datadir}/doc/accounts-qt/html/installdox
15 years ago
#remove tests for now
rm -rfv %{buildroot}%{_datadir}/libaccounts-qt-tests
rm -fv %{buildroot}%{_bindir}/accountstest
15 years ago
# move installed docs to include them in subpackage via %%doc magic
rm -rf __tmp_doc ; mkdir __tmp_doc
mv %{buildroot}%{_docdir}/accounts-qt __tmp_doc
15 years ago
%post -p /sbin/ldconfig
15 years ago
%postun -p /sbin/ldconfig
%files
%license COPYING
%{_libdir}/libaccounts-qt.so.*
15 years ago
%files devel
%{_libdir}/libaccounts-qt.so
15 years ago
%{_includedir}/accounts-qt/
%{_libdir}/pkgconfig/accounts-qt.pc
%{_libdir}/cmake/AccountsQt/
%doc __tmp_doc/accounts-qt/*
15 years ago
15 years ago
%changelog
* Mon Sep 28 2015 Rex Dieter <rdieter@fedoraproject.org> 1.13-1
- libaccounts-qt-1.13, merge improvements from libaccounts-qt5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.11-6
- Rebuilt for GCC 5 C++11 ABI change
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Wed Jun 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.11-4
- Update 64 bits arch patch
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Mar 08 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.11-2
- Rebuild against fixed qt to fix -debuginfo (#1074041)
11 years ago
* Wed Feb 26 2014 Daniel Vrátil <dvratil@redhat.com> - 1.11-1
- Update to 1.11
11 years ago
* Sat Dec 14 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.6-4
- Fix duplicate documentation (#1001255)
- Add %%?_isa to -devel base package dep
- Remove %%defattr
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Mar 06 2013 Karsten Hopp <karsten@redhat.com> 1.6-2
- add s390x and ppc64 to 64bit archs using lib64
* Mon Mar 04 2013 Jaroslav Reznik <jreznik@redhat.com> - 1.6-1
- Update to 1.6
- Fix rebuild issues with GCC 4.8
- Remove accounts-tool
- Cleanup