Author: arekm Date: Wed Oct 17 19:12:50 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 2.0.0
---- Files affected: SPECS: qca.spec (1.12 -> 1.13) ---- Diffs: ================================================================ Index: SPECS/qca.spec diff -u SPECS/qca.spec:1.12 SPECS/qca.spec:1.13 --- SPECS/qca.spec:1.12 Wed Apr 11 01:03:57 2007 +++ SPECS/qca.spec Wed Oct 17 21:12:44 2007 @@ -1,19 +1,25 @@ # $Revision$, $Date$ +# TODO: +# - fix chrpath +# +# chrpath stripping fails +%define no_install_post_chrpath 1 Summary: Qt Cryptographic Architecture (QCA) Library Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA) Name: qca -Version: 1.0 -Release: 2 +Version: 2.0.0 +Release: 1 License: LGPL v2.1 Group: Libraries -Source0: http://delta.affinix.com/qca/%{name}-%{version}.tar.bz2 -# Source0-md5: ee44022eb0e5b8b5df64c62630f6e6b6 -Patch0: %{name}-libs.patch +Source0: http://delta.affinix.com/download/qca/2.0/%{name}-%{version}.tar.bz2 +# Source0-md5: 07d54358ef4880d05b3c6f56b629aa55 URL: http://delta.affinix.com/qca/ +BuildRequires: QtCore-devel +BuildRequires: QtNetwork-devel +BuildRequires: QtTest-devel BuildRequires: libstdc++-devel BuildRequires: openssl-devel >= 0.9.7d -BuildRequires: qmake -BuildRequires: qt-devel >= 6:3.1.2 +BuildRequires: qt4-qmake BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -27,17 +33,17 @@ Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla programistów Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: qt-devel >= 6:3.1.2 +Requires: QtCore-devel %description devel Qt Cryptographic Architecture (QCA) Library - development files. %description devel -l pl.UTF-8 -Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla programistów. +Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla +programistów. %prep %setup -q -%patch0 -p1 %build export QTDIR=%{_prefix} @@ -45,6 +51,9 @@ ./configure \ --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --datadir=%{_datadir} + # probably could be done but breaks the build now: # #qmake %{name}.pro \ @@ -58,9 +67,14 @@ %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_pkgconfigdir} + %{__make} install \ INSTALL_ROOT=$RPM_BUILD_ROOT +install lib/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig + %clean rm -rf $RPM_BUILD_ROOT @@ -70,12 +84,18 @@ %files %defattr(644,root,root,755) %doc README -%attr(755,root,root) %{_libdir}/*.so.*.*.* +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/*.so.* +%{_mandir}/man1/*.1* +%{_datadir}/qca %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/*.so -%{_includedir}/qca.h +%{_includedir}/QtCrypto +%{_pkgconfigdir}/*.pc +%{_libdir}/libqca.prl +%{_datadir}/qt4/mkspecs/features/crypto.prf %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -83,6 +103,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.13 2007/10/17 19:12:44 arekm +- up to 2.0.0 + Revision 1.12 2007/04/10 23:03:57 shadzik - qt-devel epoch (still 6) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qca.spec?r1=1.12&r2=1.13&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
