]> git.pld-linux.org Git - packages/libotr.git/blob - libotr.spec
- initial
[packages/libotr.git] / libotr.spec
1 Summary:        Off-the-Record Messaging Library
2 #Summary(pl.UTF-8):
3 Name:           libotr
4 Version:        3.1.0
5 Release:        1
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
9 # Source0-md5:  6266a2966cc9e00822add3175b0b77cf
10 URL:            http://www.cypherpunks.ca/otr/
11 #BuildRequires: -
12 #Requires:      -
13 #Requires(pre,post):    -
14 #Requires(preun):       -
15 #Requires(postun):      -
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is the portable OTR Messaging Library, as well as the toolkit to help you forge messages.
20
21 #%description -l pl.UTF-8
22
23 %package devel
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}
28
29 %description devel
30 Header files for OTR library.
31
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki OTR.
34
35 %package static
36 Summary:        Static OTR library
37 Summary(pl.UTF-8):      Statyczna biblioteka OTR
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}-%{release}
40
41 %description static
42 Static OTR library.
43
44 %description static -l pl.UTF-8
45 Statyczna biblioteka OTR.
46
47 %prep
48 %setup -q
49
50 %build
51 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
52 # appropriate BuildRequires
53 #%{__libtoolize}
54 #%{__aclocal}
55 #%{__autoconf}
56 #%{__autoheader}
57 #%{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 # create directories if necessary
64 #install -d $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
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*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libotr.so
86 %{_libdir}/libotr.la
87 %{_includedir}/libotr
88 %{_aclocaldir}/libotr.m4
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/libotr.a
This page took 0.083808 seconds and 3 git commands to generate.