Summary: Off-the-Record Messaging Library Summary(pl.UTF-8): Biblioteka komunikacji OTR Name: libotr Version: 4.1.1 Release: 1 License: LGPL v2.1 (library), GPL v2 (toolkit) Group: Libraries Source0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz # Source0-md5: dac5a8778a35f674c046ddf5d97e4d81 URL: http://www.cypherpunks.ca/otr/ BuildRequires: libgcrypt-devel >= 1.2.0 Requires: libgcrypt >= 1.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is the portable OTR Messaging Library, as well as the toolkit to help you forge messages. %description -l pl.UTF-8 libotr to przenośna biblioteka komunikacji OTR (Off-the-Record) oraz zestaw narzędzi pozwalających na fabrykowanie wiadomości. %package devel Summary: Header files for OTR library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OTR Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libgcrypt-devel >= 1.2.0 %description devel Header files for OTR library. %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki OTR. %package static Summary: Static OTR library Summary(pl.UTF-8): Statyczna biblioteka OTR Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static OTR library. %description static -l pl.UTF-8 Statyczna biblioteka OTR. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} 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 AUTHORS ChangeLog NEWS README UPGRADING Protocol-v3.html %attr(755,root,root) %{_bindir}/otr_* %attr(755,root,root) %{_libdir}/libotr.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libotr.so.5 %{_mandir}/man1/otr_*.1* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libotr.so %{_libdir}/libotr.la %{_includedir}/libotr %{_aclocaldir}/libotr.m4 %{_pkgconfigdir}/libotr.pc %files static %defattr(644,root,root,755) %{_libdir}/libotr.a