]> git.pld-linux.org Git - packages/qca.git/blame - qca.spec
- no need to export QTDIR when using qt4-qmake
[packages/qca.git] / qca.spec
CommitLineData
e1737055
AM
1# TODO:
2# - fix chrpath
3#
4# chrpath stripping fails
5%define no_install_post_chrpath 1
92159e3c 6Summary: Qt Cryptographic Architecture (QCA) Library
f12f8c56 7Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA)
92159e3c 8Name: qca
e1737055
AM
9Version: 2.0.0
10Release: 1
92159e3c 11License: LGPL v2.1
12Group: Libraries
e1737055
AM
13Source0: http://delta.affinix.com/download/qca/2.0/%{name}-%{version}.tar.bz2
14# Source0-md5: 07d54358ef4880d05b3c6f56b629aa55
92159e3c 15URL: http://delta.affinix.com/qca/
e1737055 16BuildRequires: QtCore-devel
dca94c6f 17BuildRequires: QtGui-devel
e1737055
AM
18BuildRequires: QtNetwork-devel
19BuildRequires: QtTest-devel
92159e3c 20BuildRequires: libstdc++-devel
21BuildRequires: openssl-devel >= 0.9.7d
dca94c6f 22BuildRequires: qt4-build
e1737055 23BuildRequires: qt4-qmake
92159e3c 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Qt Cryptographic Architecture (QCA) Library.
28
b4a1f0b7 29%description -l pl.UTF-8
92159e3c 30Biblioteka Qt Cryptographic Architecture (QCA).
31
32%package devel
33Summary: Qt Cryptographic Architecture (QCA) Library - development files
f12f8c56 34Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla programistów
12b4f66c 35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
e1737055 37Requires: QtCore-devel
92159e3c 38
39%description devel
40Qt Cryptographic Architecture (QCA) Library - development files.
41
b4a1f0b7 42%description devel -l pl.UTF-8
e1737055
AM
43Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla
44programistów.
92159e3c 45
46%prep
47%setup -q
48
49%build
30f1c2dd 50./configure \
51 --prefix=%{_prefix} \
e1737055
AM
52 --libdir=%{_libdir} \
53 --datadir=%{_datadir}
cb692175 54qt4-qmake
92159e3c 55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
e1737055
AM
60install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
61
92159e3c 62%{__make} install \
63 INSTALL_ROOT=$RPM_BUILD_ROOT
64
e1737055 65install lib/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
dca94c6f 66
967f695c 67%if "%{_lib}" == "lib64"
e1737055 68rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig
dca94c6f 69%endif
e1737055 70
92159e3c 71%clean
72rm -rf $RPM_BUILD_ROOT
73
08d17fca 74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
92159e3c 77%files
78%defattr(644,root,root,755)
79%doc README
e1737055
AM
80%attr(755,root,root) %{_bindir}/*
81%attr(755,root,root) %{_libdir}/*.so.*
82%{_mandir}/man1/*.1*
83%{_datadir}/qca
92159e3c 84
85%files devel
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/*.so
e1737055
AM
88%{_includedir}/QtCrypto
89%{_pkgconfigdir}/*.pc
90%{_libdir}/libqca.prl
91%{_datadir}/qt4/mkspecs/features/crypto.prf
This page took 0.060718 seconds and 4 git commands to generate.