]> git.pld-linux.org Git - packages/openobex.git/blob - openobex.spec
- %%doc
[packages/openobex.git] / openobex.spec
1 Summary:        Library for using OBEX
2 Summary(pl):    Biblioteka do obs³ugi protoko³u OBEX
3 Name:           openobex
4 Version:        0.9.8
5 Release:        0.2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/openobex/%{name}-%{version}.tar.gz
9 Source1:        ftp://ftp.sourceforge.net/pub/sourceforge/openobex/%{name}-apps-%{version}.tar.gz
10 URL:            http://openobex.sourceforge.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 This library tries to implement a generic OBEX Session Protocol. It
15 does not implement the OBEX Application FrameWork.
16
17 %description -l pl
18 Ta biblioteka to próba implementacji podstawowego protoko³u sesji OBEX
19 Session Protocol. OBEX Application FrameWork nie jest
20 zaimplementowany.
21
22 %package devel
23 Summary:        Header files for Open OBEX
24 Summary(pl):    Pliki nag³ówkowe Open OBEX
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}
27
28 %description devel
29 The header files are only needed for development of programs using the
30 Open OBEX library.
31
32 %description devel -l pl
33 W pakiecie tym znajduj± siê pliki nag³ówkowe, przeznaczone dla
34 programistów u¿ywaj±cych biblioteki Open OBEX.
35
36 %package static
37 Summary:        Static Open OBEX library
38 Summary(pl):    Biblioteka statyczna Open OBEX
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 Static Open OBEX library.
44
45 %description static -l pl
46 Biblioteka statyczna Open OBEX.
47
48 %package progs
49 Summary:        Open OBEX utility programs
50 Summary(pl):    Narzêdzia Open OBEX
51 Group:          Applications/Communications
52
53 %description progs
54 This package contains utility programs made to show Open OBEX library
55 usage.
56
57 %description progs -l pl
58 Ten pakiet zawiera narzêdzia zrobione aby pokazaæ sposób u¿ycia
59 biblioteki Open OBEX.
60
61 %prep
62 %setup -q -a1
63
64 %build
65 CFLAGS="%{rpmcflags}" \
66 ./configure --prefix=%{_prefix}
67
68 ${__make}
69
70 cd %{name}-apps-%{version}
71 ln -s ../src openobex
72
73 PATH="$PATH:.." \
74 CFLAGS="%{rpmcflags}" \
75 ./configure --prefix=%{_prefix}
76
77 ${__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84         m4datadir=%{_aclocaldir}
85
86 cd %{name}-apps-%{version}
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog README
99 %attr(755,root,root) %{_libdir}/libopenobex-0.9.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libopenobex.so
104 %attr(755,root,root) %{_libdir}/libopenobex.la
105 %attr(755,root,root) %{_bindir}/openobex-config
106 %{_includedir}/*
107 %{_aclocaldir}/*
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/lib*.a
112
113 %files progs
114 %defattr(644,root,root,755)
115 %doc %{name}-apps-%{version}/{AUTHORS,ChangeLog,README}
116 %attr(755,root,root) %{_bindir}/irobex_palm3
117 %attr(755,root,root) %{_bindir}/irxfer
118 %attr(755,root,root) %{_bindir}/obex_tcp
119 %attr(755,root,root) %{_bindir}/obex_test
This page took 0.104232 seconds and 3 git commands to generate.