1 Summary: Off-the-Record Messaging Library
8 Source0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
9 # Source0-md5: 6266a2966cc9e00822add3175b0b77cf
10 URL: http://www.cypherpunks.ca/otr/
13 #Requires(pre,post): -
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This is the portable OTR Messaging Library, as well as the toolkit to help you forge messages.
21 #%description -l pl.UTF-8
24 Summary: Header files for OTR library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OTR
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Header files for OTR library.
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki OTR.
36 Summary: Static OTR library
37 Summary(pl.UTF-8): Statyczna biblioteka OTR
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}-%{release}
44 %description static -l pl.UTF-8
45 Statyczna biblioteka OTR.
51 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
52 # appropriate BuildRequires
62 rm -rf $RPM_BUILD_ROOT
63 # create directories if necessary
64 #install -d $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_bindir}/otr_*
79 %attr(755,root,root) %{_libdir}/libotr.so.2.1.0
80 %attr(755,root,root) %ghost %{_libdir}/libotr.so.2
81 %{_mandir}/man1/otr_*.1*
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libotr.so
88 %{_aclocaldir}/libotr.m4
91 %defattr(644,root,root,755)