Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 18107ece23012327101a41d08af4ab69 > files > 2

obexftp-0.22-0.rc7.1mdv2008.0.src.rpm

%define name		obexftp
%define version		0.22
%define beta		rc7
%if %beta
%define release		%mkrel 0.%beta.1
%else
%define release		%mkrel 1
%endif

%define major		0
%define libname		%mklibname %{name} %{major}
%define develname	%mklibname %{name} -d

Name:			%{name}
Summary:		Access devices via ObexFTP e.g. Siemens mobile equipment
Version:		%{version}
Release:		%{release}
License:		GPLv2+
%if %beta
Source0:		http://triq.net/obexftp/%name-%version-%beta.tar.bz2
%else
Source0:		http://triq.net/obexftp/%name-%version.tar.bz2
%endif
Group:			Communications
URL:			http://triq.net/obex/
BuildRoot:		%{_tmppath}/%{name}-%{version}-root
BuildRequires:		bluez-devel bluez-sdp-devel openobex-devel python-devel ruby ruby-devel

%description
The overall goal of this project is to make mobile devices featuring 
the OBEX protocol and adhering to the OBEX FTP standard accessible. 
The most common use for ObexFTP is to access your mobile phones memory 
to store and retrieve e.g. your phonebook, logos, ringtones, music, 
pictures and the like.

%package -n		%{libname}
Summary:		Main library for %{name}
Group:			System/Libraries

%description -n		%{libname}
The overall goal of this project is to make mobile devices featuring 
the OBEX protocol and adhering to the OBEX FTP standard accessible. 
The most common use for ObexFTP is to access your mobile phones memory 
to store and retrieve e.g. your phonebook, logos, ringtones, music, 
pictures and the like.

%package -n		%{develname}
Summary:		Headers for developing programs that will use %{name}
Group:			Development/Other
Obsoletes:		%mklibname %name 0 -d
Provides:		%{name}-devel		= %{version}-%{release}
Provides:		lib%{name}-devel	= %{version}-%{release}
Requires:		%{libname}		= %{version}
Requires:		libopenobex-devel

%description -n		%{develname}
The overall goal of this project is to make mobile devices featuring 
the OBEX protocol and adhering to the OBEX FTP standard accessible. 
The most common use for ObexFTP is to access your mobile phones memory 
to store and retrieve e.g. your phonebook, logos, ringtones, music, 
pictures and the like.

%package -n		python-%name
Summary:		Python binding for %{name}
Group:			Development/Python
Requires:		python
Requires:		python-devel

%description -n         python-%name
The overall goal of this project is to make mobile devices featuring 
the OBEX protocol and adhering to the OBEX FTP standard accessible. 
The most common use for ObexFTP is to access your mobile phones memory 
to store and retrieve e.g. your phonebook, logos, ringtones, music, 
pictures and the like.

%package -n		ruby-%name
Summary:		Ruby binding for %{name}
Group:			Development/Other
Requires:		ruby
Requires:		ruby-devel

%description -n         ruby-%name
The overall goal of this project is to make mobile devices featuring 
the OBEX protocol and adhering to the OBEX FTP standard accessible. 
The most common use for ObexFTP is to access your mobile phones memory 
to store and retrieve e.g. your phonebook, logos, ringtones, music, 
pictures and the like.

%prep
%setup -q

%build

%configure \
    --disable-tcl \
    --disable-perl

%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README* THANKS TODO
%{_bindir}/*
%{_mandir}/man1/*

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.*

%files -n %{develname}
%defattr(-,root,root)

%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc

%files -n python-%name
%defattr(-,root,root)

%{py_platsitedir}/%name
%{py_platsitedir}/%name-%version-py%{pyver}.egg-info

%files -n ruby-%name
%defattr(-,root,root)
%ruby_sitearchdir/%{name}.so


%changelog
* Thu Sep 06 2007 Adam Williamson <awilliamson@mandriva.com> 0.22-0.rc7.1mdv2008.0
+ Revision: 80673
- use Fedora license policy
- drop the patch (merged upstream)
- new pre-release rc7

* Fri Jun 22 2007 Adam Williamson <awilliamson@mandriva.com> 0.22-0.rc4.2mdv2008.0
+ Revision: 42795
- no longer installs anything to puresitedir
- bump for BS
- guessed wrong where the egg-info wound up
- one more fix to python build
- new release 0.22rc4; new patch0 to fix different python install problems

* Wed Jun 20 2007 Adam Williamson <awilliamson@mandriva.com> 0.22-0.rc3.4mdv2008.0
+ Revision: 41656
- correct group
- build and package ruby binding
- build and package ruby binding; add some requires

* Tue Jun 19 2007 Adam Williamson <awilliamson@mandriva.com> 0.22-0.rc3.3mdv2008.0
+ Revision: 41644
- cleaner way to fix the python detection

* Tue Jun 19 2007 Helio Chissini de Castro <helio@mandriva.com> 0.22-0.rc3.2mdv2008.0
+ Revision: 41595
- Since new autotools aren't so friendly, change the patch target..
- Added patch for detect python on lib64

* Tue Jun 19 2007 Adam Williamson <awilliamson@mandriva.com> 0.22-0.rc3.1mdv2008.0
+ Revision: 41564
- new release 0.22rc3; unversioned devel package
- Import obexftp



* Thu Aug 31 2006 Couriousous <couriousous@mandriva.org> 0.20-1mdv2007.0
- 0.20

* Fri Jun 16 2006 Austin Acton <austin@mandriva.org> 0.19-1mdv2007.0
- Rebuild

* Sat Mar 18 2006 Couriousous <couriousous@mandriva.org> 0.19-3mdk
- Really fix python macro

* Fri Mar 17 2006 Couriousous <couriousous@mandriva.org> 0.19-2mdk
- Fix python macro

* Fri Mar 17 2006 Couriousous <couriousous@mandriva.org> 0.19-1mdk
- 0.19

* Tue Dec 28 2004 Couriousous <couriousous@mandrake.org> 0.10.7-2mdk
- fix directory ownership

* Tue Dec 28 2004 Austin Acton <austin@mandrake.org> 0.10.7-1mdk
- based on spec from Marc Koschewski <marc@osknowledge.org>