]> git.pld-linux.org Git - packages/obexftp.git/blame - obexftp.spec
rebuild with perl 5.32
[packages/obexftp.git] / obexftp.spec
CommitLineData
fff9263e 1Summary: File copying over the Object Exchange (OBEX) protocol
8759e90f 2Summary(pl.UTF-8): Kopiowanie plików z wykorzystaniem protokołu Object Exchange (OBEX)
232589cd 3Name: obexftp
8b354432 4Version: 0.23
195d1bcc 5Release: 26
f021e168 6License: GPL v2+ (server, bindings), LGPL v2+ (libraries)
232589cd 7Group: Applications/Communications
7397022d 8Source0: http://dl.sourceforge.net/openobex/%{name}-%{version}.tar.bz2
8b354432 9# Source0-md5: f20762061b68bc921e80be4aebc349eb
e93ae017 10Patch0: %{name}-no_server.patch
f021e168
JB
11Patch1: %{name}-perl.patch
12Patch2: %{name}-nostress.patch
0d4f41f9 13Patch3: %{name}-ruby1.9.patch
76a3b59b
JR
14Patch4: am.patch
15Patch5: format-security.patch
232589cd 16URL: http://triq.net/obex/
152ad420
JB
17BuildRequires: autoconf
18BuildRequires: automake
5fbbbb03 19BuildRequires: bluez-libs-devel
9b61c1fc 20BuildRequires: gettext-tools
152ad420 21BuildRequires: libtool
232589cd 22BuildRequires: openobex-devel
7413a195 23BuildRequires: perl-devel >= 1:5.8.0
78560f5b 24BuildRequires: pkgconfig
f021e168 25BuildRequires: python-devel >= 1:2.5
7413a195
JB
26BuildRequires: rpm-perlprov
27BuildRequires: rpm-pythonprov
f021e168
JB
28BuildRequires: rpmbuild(macros) >= 1.277
29BuildRequires: ruby-devel
30BuildRequires: tcl-devel
40416bdf 31Requires: %{name}-libs = %{version}-%{release}
232589cd
JK
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
ca1a082d 34%define skip_post_check_so obexftp.so.0.0.0
35
232589cd 36%description
06a1afee
JK
37Free open source application for file copying over the Object Exchange
38(OBEX) protocol.
232589cd 39
6b3c55ab
JR
40%description -l pl.UTF-8
41Wolnodostępna aplikacja służąca do kopiowania plików z wykorzystaniem
42protokołu Object Exchange (OBEX).
fff9263e 43
232589cd
JK
44%package libs
45Summary: ObexFTP libraries
8759e90f 46Summary(pl.UTF-8): Biblioteki ObexFTP
f021e168 47License: LGPL v2+
232589cd
JK
48Group: Libraries
49
50%description libs
51ObexFTP libraries.
52
6b3c55ab 53%description libs -l pl.UTF-8
232589cd
JK
54Biblioteki ObexFTP.
55
56%package devel
57Summary: Header files for ObexFTP
8759e90f
ER
58Summary(es.UTF-8): Ficheros de cabecera para ObexFTP
59Summary(pl.UTF-8): Pliki nagłówkowe ObexFTP
f021e168 60License: LGPL v2+
232589cd 61Group: Development/Libraries
40416bdf 62Requires: %{name}-libs = %{version}-%{release}
78560f5b
JB
63Requires: bluez-libs-devel
64Requires: openobex-devel
232589cd
JK
65
66%description devel
06a1afee
JK
67The header files are only needed for development of programs based on
68ObexFTP.
232589cd 69
6b3c55ab
JR
70%description devel -l pl.UTF-8
71W pakiecie tym znajdują się pliki nagłówkowe, przeznaczone do
72rozwijania programów bazujących na bibliotekach ObexFTP.
232589cd
JK
73
74%package static
75Summary: Static ObexFTP library
8759e90f
ER
76Summary(es.UTF-8): Biblioteca estática de ObexFTP
77Summary(pl.UTF-8): Biblioteka statyczna ObexFTP
f021e168 78License: LGPL v2+
232589cd 79Group: Development/Libraries
4100e4a5 80Requires: %{name}-devel = %{version}-%{release}
232589cd
JK
81
82%description static
83Static ObexFTP library.
84
6b3c55ab 85%description static -l pl.UTF-8
232589cd
JK
86Biblioteka statyczna ObexFTP.
87
7413a195
JB
88%package -n perl-obexftp
89Summary: Perl binding for ObexFTP library
8759e90f 90Summary(pl.UTF-8): Wiązanie Perla dla biblioteki ObexFTP
f021e168 91License: GPL v2+
7413a195
JB
92Group: Development/Languages/Perl
93Requires: %{name}-libs = %{version}-%{release}
94
95%description -n perl-obexftp
96Perl binding for ObexFTP library.
97
6b3c55ab
JR
98%description -n perl-obexftp -l pl.UTF-8
99Wiązanie Perla dla biblioteki ObexFTP.
7413a195
JB
100
101%package -n python-obexftp
102Summary: Python binding for ObexFTP library
8759e90f 103Summary(pl.UTF-8): Wiązanie Pythona dla biblioteki ObexFTP
f021e168 104License: GPL v2+
7413a195
JB
105Group: Libraries/Python
106Requires: %{name}-libs = %{version}-%{release}
107%pyrequires_eq python-libs
108
109%description -n python-obexftp
110Python binding for ObexFTP library.
111
6b3c55ab
JR
112%description -n python-obexftp -l pl.UTF-8
113Wiązanie Pythona dla biblioteki ObexFTP.
7413a195 114
f021e168
JB
115%package -n ruby-obexftp
116Summary: Ruby binding for ObexFTP library
117Summary(pl.UTF-8): Wiązanie języka Ruby dla biblioteki ObexFTP
118License: GPL v2+
119Group: Development/Languages
120Requires: %{name}-libs = %{version}-%{release}
121%{?ruby_mod_ver_requires_eq}
122
123%description -n ruby-obexftp
124Ruby binding for ObexFTP library.
125
126%description -n ruby-obexftp -l pl.UTF-8
127Wiązanie języka Ruby dla biblioteki ObexFTP.
128
129%package -n tcl-obexftp
130Summary: Tcl binding for ObexFTP library
131Summary(pl.UTF-8): Wiązanie Tcl-a dla biblioteki ObexFTP
132License: GPL v2+
133Group: Development/Languages
134Requires: %{name}-libs = %{version}-%{release}
135Requires: tcl
136
137%description -n tcl-obexftp
138Tcl binding for ObexFTP library.
139
140%description -n tcl-obexftp -l pl.UTF-8
141Wiązanie Tcl-a dla biblioteki ObexFTP.
142
232589cd
JK
143%prep
144%setup -q
e93ae017 145%patch0 -p1
7413a195
JB
146%patch1 -p1
147%patch2 -p1
0d4f41f9 148%patch3 -p1
76a3b59b
JR
149%patch4 -p1
150%patch5 -p1
f021e168
JB
151
152# hack for -L/usr/%{_lib} before -L../../obexftp/.libs
153ln -sf ../../obexftp/.libs/libobexftp.so swig/ruby
232589cd
JK
154
155%build
156%{__libtoolize}
157%{__aclocal}
158%{__autoconf}
159%{__autoheader}
160%{__automake}
161%configure
162%{__make}
163
164%install
165rm -rf $RPM_BUILD_ROOT
166
167%{__make} install \
1239f060 168 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_vendorarchdir} \
232589cd
JK
169 DESTDIR=$RPM_BUILD_ROOT
170
f021e168
JB
171%{__rm} $RPM_BUILD_ROOT%{_libdir}/obexftp.{la,a}
172%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/OBEXFTP/.packlist
173%py_postclean
7413a195 174
232589cd
JK
175%clean
176rm -rf $RPM_BUILD_ROOT
177
7397022d
JB
178%post libs -p /sbin/ldconfig
179%postun libs -p /sbin/ldconfig
c5f1b482 180
f021e168
JB
181%post -n tcl-obexftp -p /sbin/ldconfig
182%postun -n tcl-obexftp -p /sbin/ldconfig
183
232589cd
JK
184%files
185%defattr(644,root,root,755)
7413a195 186%doc doc/obexftp*.html README* NEWS THANKS TODO AUTHORS ChangeLog
f021e168
JB
187%attr(755,root,root) %{_bindir}/obexftp
188%attr(755,root,root) %{_bindir}/obexftpd
189%{_mandir}/man1/obexftp.1*
190%{_mandir}/man1/obexftpd.1*
232589cd
JK
191
192%files libs
193%defattr(644,root,root,755)
f021e168
JB
194%attr(755,root,root) %{_libdir}/libbfb.so.*.*.*
195%attr(755,root,root) %ghost %{_libdir}/libbfb.so.0
196%attr(755,root,root) %{_libdir}/libmulticobex.so.*.*.*
197%attr(755,root,root) %ghost %{_libdir}/libmulticobex.so.1
198%attr(755,root,root) %{_libdir}/libobexftp.so.*.*.*
199%attr(755,root,root) %ghost %{_libdir}/libobexftp.so.0
232589cd
JK
200
201%files devel
202%defattr(644,root,root,755)
f021e168
JB
203%attr(755,root,root) %{_libdir}/libbfb.so
204%attr(755,root,root) %{_libdir}/libmulticobex.so
205%attr(755,root,root) %{_libdir}/libobexftp.so
206%{_libdir}/libbfb.la
207%{_libdir}/libmulticobex.la
208%{_libdir}/libobexftp.la
209%{_includedir}/bfb
210%{_includedir}/multicobex
211%{_includedir}/obexftp
212%{_pkgconfigdir}/obexftp.pc
232589cd
JK
213
214%files static
215%defattr(644,root,root,755)
f021e168
JB
216%{_libdir}/libbfb.a
217%{_libdir}/libmulticobex.a
218%{_libdir}/libobexftp.a
7413a195
JB
219
220%files -n perl-obexftp
221%defattr(644,root,root,755)
222%{perl_vendorarch}/OBEXFTP.pm
223%dir %{perl_vendorarch}/auto/OBEXFTP
224%attr(755,root,root) %{perl_vendorarch}/auto/OBEXFTP/OBEXFTP.so
7413a195
JB
225
226%files -n python-obexftp
227%defattr(644,root,root,755)
228%dir %{py_sitedir}/obexftp
229%attr(755,root,root) %{py_sitedir}/obexftp/_obexftp.so
f021e168
JB
230%{py_sitedir}/obexftp/__init__.py[co]
231%{py_sitedir}/obexftp-*.egg-info
232
233%files -n ruby-obexftp
234%defattr(644,root,root,755)
1239f060 235%attr(755,root,root) %{ruby_vendorarchdir}/obexftp.so
f021e168
JB
236
237%files -n tcl-obexftp
238%defattr(644,root,root,755)
239# -avoid-version missing
240%attr(755,root,root) %{_libdir}/obexftp.so.*.*.*
241%attr(755,root,root) %ghost %{_libdir}/obexftp.so.0
242%attr(755,root,root) %{_libdir}/obexftp.so
This page took 0.212968 seconds and 4 git commands to generate.