Próbuję zrobić paczkę dla QtKeychain (https://github.com/frankosterfeld/qtkeychain). Jest mi ona potrzebna do zbudowania klienta OwnCloud. Napisałem speca. Buduje się, paczkuje, instaluje, pliki wydają się lądować we właściwych miejscach:
$ rpm -ql QtKeychain QtKeychain-devel /usr/lib/libqtkeychain.so /usr/lib/libqtkeychain.so.0 /usr/lib/libqtkeychain.so.0.3.90 /usr/share/doc/QtKeychain-0.3.0 /usr/share/doc/QtKeychain-0.3.0/COPYING.gz /usr/share/doc/QtKeychain-0.3.0/ChangeLog.gz /usr/share/doc/QtKeychain-0.3.0/ReadMe.txt.gz /usr/include/qtkeychain /usr/include/qtkeychain/keychain.h /usr/include/qtkeychain/qkeychain_export.h /usr/lib/cmake/QtKeychain /usr/lib/cmake/QtKeychain/QtKeychainConfig.cmake /usr/lib/cmake/QtKeychain/QtKeychainConfigVersion.cmake /usr/lib/cmake/QtKeychain/QtKeychainLibraryDepends-pld.cmake /usr/lib/cmake/QtKeychain/QtKeychainLibraryDepends.cmake Problem jest taki, że jak później chcę wykorzystać tą bibliotekę do zbudowania rzeczonego OwnCloud, to cmake zgłasza błąd, że nie może znaleźć tej biblioteki. Jednocześnie, jeśli bez budowania paczek zbuduję sobie QtKeychain i zainstaluję przez make install (pliki instalują się w /usr/local/*) to OwnCloud jest budowane. Definitywnie coś tutaj nie gra - wygląda, jakby cmake nie widział tej biblioteki, jeśli jest zainstalowana z paczki w powyższych lokalizacjach, a widzi jak wszystko jest w /usr/local/* Byłbym bardzo wdzięczny, gdyby ktoś poświęcił chwilę i zerknął na załączonego speca. Na pewno coś w nim jest nie tak - ale co? Pomóżcie poprawić :-/ -- Łukasz Maśko _o) Lukasz.Masko(at)ipipan.waw.pl /\\ Registered Linux User #61028 _\_V Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
Summary: Qt API to store passwords and other secret data securely Name: QtKeychain Version: 0.3.0 Release: 1 License: Modified BSD License Group: Libraries URL: https://github.com/frankosterfeld/qtkeychain # Repackaged from https://github.com/frankosterfeld/qtkeychain/archive/master.zip Source0: %{name}-%{version}.tar.bz2 # Source0-md5: a9de9be0cae568c03b152009d24ff170 BuildRequires: QtCore-devel BuildRequires: libstdc++-devel BuildRequires: qt4-build BuildRequires: qt4-qmake BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _qt4_datadir %{_datadir}/qt4 %description %in is a Qt API to store passwords and other secret data securely. How the data is stored depends on the platform: - Mac OS X: Passwords are stored in the OS X Keychain. - Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain tries to use KWallet (via D-Bus), if available. - Windows: Windows does not provide a service for secure storage. QtKeychain uses the Windows API function %package devel Summary: Development files for QtKeychain Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: qt4-build Requires: qt4-qmake %description devel This package contains libraries and header files for developing applications that use QKeychain. %prep %setup -q %build install -d build cd build %cmake \ ../ %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc COPYING ReadMe.txt ChangeLog %attr(755,root,root) %{_libdir}/libqtkeychain.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libqtkeychain.so.0 %attr(755,root,root) %ghost %{_libdir}/libqtkeychain.so %files devel %defattr(644,root,root,755) #%doc doc examples %dir %{_includedir}/qtkeychain %{_includedir}/qtkeychain/keychain.h %{_includedir}/qtkeychain/qkeychain_export.h %dir %{_libdir}/cmake/QtKeychain %{_libdir}/cmake/QtKeychain/QtKeychainLibraryDepends.cmake %{_libdir}/cmake/QtKeychain/QtKeychainLibraryDepends-pld.cmake %{_libdir}/cmake/QtKeychain/QtKeychainConfig.cmake %{_libdir}/cmake/QtKeychain/QtKeychainConfigVersion.cmake
_______________________________________________ pld-devel-pl mailing list pld-devel-pl@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl