Initial import

epel9
Chen Lei 15 years ago
parent 6409315466
commit 2f5fc07560

1
.gitignore vendored

@ -0,0 +1 @@
accounts-qt-0.31.tar.gz

@ -0,0 +1,28 @@
diff -Naur accounts-qt-0.28.org/Accounts/account.cpp accounts-qt-0.28/Accounts/account.cpp
--- accounts-qt-0.28.org/Accounts/account.cpp 2010-06-14 22:45:41.000000000 +0800
+++ accounts-qt-0.28/Accounts/account.cpp 2010-07-23 20:22:54.335786908 +0800
@@ -496,10 +496,10 @@
value = g_value_get_uint(&val);
break;
case G_TYPE_INT64:
- value = g_value_get_int64(&val);
+ value = qint64(g_value_get_int64(&val));
break;
case G_TYPE_UINT64:
- value = g_value_get_uint64(&val);
+ value = quint64(g_value_get_uint64(&val));
break;
case G_TYPE_BOOLEAN:
value = g_value_get_boolean(&val);
diff -Naur accounts-qt-0.28.org/Accounts/account.h accounts-qt-0.28/Accounts/account.h
--- accounts-qt-0.28.org/Accounts/account.h 2010-06-14 22:45:41.000000000 +0800
+++ accounts-qt-0.28/Accounts/account.h 2010-07-23 20:23:19.636035755 +0800
@@ -46,7 +46,7 @@
namespace Accounts
{
-typedef quint32 AccountId;
+typedef quint64 AccountId;
typedef QList<AccountId> AccountIdList;
class Manager;

@ -0,0 +1,88 @@
Name: libaccounts-qt
Version: 0.31
Release: 3%{?dist}
Summary: Accounts framework
Group: System Environment/Libraries
License: LGPLv2
URL: http://gitorious.org/accounts-sso/accounts-qt
Source0: accounts-qt-%{version}.tar.gz
# Fix compilation error in 64 bit arches
Patch0: accounts-qt-0.28-fix-64bit-compilation.patch
# extracted from http://repo.meego.com/MeeGo/builds/trunk/daily/core/repos/source/libaccounts-qt-0.31-1.5.src.rpm
BuildRequires: qt-devel libaccounts-glib-devel
BuildRequires: doxygen graphviz
%description
Framework to provide accounts.
%package devel
Summary: Development files for accounts-qt
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: qt4-devel%{?_isa}
%description devel
Headers, development libraries and documentation for accounts-qt.
%prep
%setup -q -n accounts-qt-%{version}
%patch0 -p1
sed -i 's\{INSTALL_PREFIX}/lib\{INSTALL_PREFIX}/%{_lib}\g' common-installs-config.pri
sed -i 's\{INSTALL_PREFIX}/lib\{INSTALL_PREFIX}/%{_lib}\g' Accounts/Accounts.pro
sed -i 's\usr/lib\usr/%{_lib}\g' Accounts/accounts.prf
sed -i 's\usr/lib\usr/%{_lib}\g' Accounts/accounts-qt.pc
sed -i 's\{prefix}/lib\{prefix}/%{_lib}\g' Accounts/accounts-qt.pc
%build
export PATH=%{_qt4_bindir}:$PATH
%{_qt4_qmake} QMF_INSTALL_ROOT=%{_prefix} \
CONFIG+=release accounts-qt.pro
make %{?_smp_mflags}
%install
make install INSTALL_ROOT=%{buildroot}
rm -f %{buildroot}/%{_datadir}/doc/accounts-qt/html/installdox
#remove tests for now
rm -rf %{buildroot}%{_datadir}/%{name}-tests
rm -f %{buildroot}%{_bindir}/accountstest
mv %{buildroot}%{_docdir}/accounts-qt %{buildroot}%{_docdir}/libaccounts-qt
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/lib*.so.*
%{_bindir}/account-tool
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_includedir}/accounts-qt/
%{_libdir}/pkgconfig/accounts-qt.pc
%{_libdir}/qt4/mkspecs/*
%{_docdir}/libaccounts-qt
%changelog
* Fri Aug 06 2010 Chen Lei <supercyper@163.com> - 0.31-3
- Fix doc path
* Fri Aug 06 2010 Chen Lei <supercyper@163.com> - 0.31-2
- Small fix for description
* Fri Aug 06 2010 Chen Lei <supercyper@163.com> - 0.31-1
- New upstream release
- Several changes against package review
* Fri Jul 23 2010 Chen Lei <supercyper@163.com> - 0.28-1
- Initial packaging for Fedora
* Mon Jun 14 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.28
- Update to latest version

@ -0,0 +1 @@
d6429682ff3623fcf0ddd2023603b491 accounts-qt-0.31.tar.gz
Loading…
Cancel
Save