diff --git a/README.md b/README.md index 887d990..820cdee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # obexftp +obexftp enables to store and retrieve documents to mobile phones memory. + diff --git a/obexftp.spec b/obexftp.spec new file mode 100644 index 0000000..48f014a --- /dev/null +++ b/obexftp.spec @@ -0,0 +1,100 @@ +Name: obexftp +Version: 0.24 +Release: 1mamba +Summary: Enables to store and retrieve documents to mobile phones memory +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://triq.net/obexftp.html +Source: http://downloads.sourceforge.net/project/openobex/obexftp/%{version}/obexftp-%{version}-Source.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbluetooth-devel +BuildRequires: libopenobex-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel +BuildRequires: ruby-devel +BuildRequires: libopenobex-devel >= 1.7 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +obexftp enables to store and retrieve documents to mobile phones memory. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +obexftp enables to store and retrieve documents to mobile phones memory. +This package contains static libraries and header files need for development. + +%prep +%setup -q -n %{name}-%{version}-Source + +%build +%cmake -d build \ + -DPython_ADDITIONAL_VERSIONS=%{python_version} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build +#packlist=`find %{buildroot} -name .packlist` +#[ -z "$packlist" ] && exit 1 || cat $packlist | \ +# sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ +# sort -u > .packlist && rm $packlist +# +#strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +#for dir in `find %{buildroot} -type d | grep $strid`; do +# echo "%dir ${dir#%buildroot}" >> .packlist +#done +#find %{buildroot}/usr/lib/perl5 -name perllocal.pod -exec rm -f {} \; + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/obexftp +%{_bindir}/obexftpd +%{_libdir}/libbfb.so.* +%{_libdir}/libmulticobex.so.* +%{_libdir}/libobexftp.so.* +%{perl_vendorarch}/OBEXFTP.pm +%{perl_vendorarch}/auto/OBEXFTP/OBEXFTP.so +%{_libdir}/ruby/vendor_ruby/*/*-linux*/obexftp.so +%{_libdir}/site-python/_obexftp.so +%{_libdir}/site-python/obexftp.py +%doc AUTHORS +#COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/bfb +%{_includedir}/bfb/*.h +%dir %{_includedir}/multicobex +%{_includedir}/multicobex/*.h +%dir %{_includedir}/obexftp +%{_includedir}/obexftp/*.h +%{_libdir}/libbfb.so +%{_libdir}/libmulticobex.so +%{_libdir}/libobexftp.so +#%{_libdir}/obexftp.so +%{_libdir}/pkgconfig/obexftp.pc +#%doc ChangeLog NEWS README THANKS TODO + +%changelog +* Mon Jun 03 2013 Automatic Build System 0.24-1mamba +- update to 0.24 + +* Fri Feb 20 2009 Silvan Calarco 0.23-1mamba +- automatic update by autodist + +* Fri Jun 20 2008 Silvan Calarco 0.22-1mamba +- update to 0.22 + +* Thu Apr 24 2008 Silvan Calarco 0.20-1mamba +- package created by autospec