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