rpms/obexftp/devel obexftp-norpath.patch, NONE, 1.1 obexftp-perl.patch, NONE, 1.1 obexftp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Fri Jan 26 02:14:15 UTC 2007


Author: rathann

Update of /cvs/extras/rpms/obexftp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11241/devel

Modified Files:
	.cvsignore sources 
Added Files:
	obexftp-norpath.patch obexftp-perl.patch obexftp.spec 
Log Message:
auto-import obexftp-0.20-2 on branch devel from obexftp-0.20-2.src.rpm

obexftp-norpath.patch:

--- NEW FILE obexftp-norpath.patch ---
--- obexftp-0.20/swig/perl/Makefile.PL.in.norpath	2005-12-12 19:46:55.000000000 +0100
+++ obexftp-0.20/swig/perl/Makefile.PL.in	2007-01-26 00:26:13.000000000 +0100
@@ -11,7 +11,7 @@
     'INC'       =>	q[-I at top_srcdir@/obexftp -I../.. @CPPFLAGS@],
 # Default value for LDDLFLAGS is $Config{lddlflags}="-shared -L/usr/local/lib"
 # but we want rpath to be @libdir@ or @exec_prefix@/lib
-    'LDDLFLAGS' =>      q[-shared -Wl,-L at top_builddir@obexftp/.libs -Wl,-rpath=@prefix@/lib],
+    'LDDLFLAGS' =>      q[-shared -Wl,-L at top_builddir@obexftp/.libs],
     'LIBS'      =>	q[-L at top_builddir@obexftp/.libs -lobexftp -L at top_builddir@multicobex/.libs -lmulticobex -L at top_builddir@bfb/.libs -lbfb @OPENOBEX_LIBS@ @BLUETOOTH_LIBS@ @LIBS@],
     'OBJECT'	=>	'perl_wrap.o',
     'NAME'      =>	'OBEXFTP',

obexftp-perl.patch:

--- NEW FILE obexftp-perl.patch ---
--- obexftp-0.20/swig/perl/Makefile.am.p	2006-03-26 00:12:58.000000000 +0100
+++ obexftp-0.20/swig/perl/Makefile.am	2007-01-26 02:26:26.000000000 +0100
@@ -27,7 +27,7 @@
 endif
 
 Makefile.perl: Makefile.PL
-	$(PERL) $< MAKEFILE=$@
+	$(PERL) $< MAKEFILE=$@ INSTALLDIRS="vendor"
 
 OBEXFTP.so: perl_wrap.c Makefile.perl
 	$(MAKE) -fMakefile.perl


--- NEW FILE obexftp.spec ---
%define python_sitelib %(%{__python} -c "from distutils import sysconfig; print sysconfig.get_python_lib()")
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')

Name: obexftp
Summary: Tool to access devices via the OBEX protocol
Group: Applications/File
Version: 0.20
Release: 2
License: GPL
URL: http://openobex.triq.net/
Source: http://dl.sf.net/openobex/obexftp-%{version}.tar.bz2
Patch0: %{name}-norpath.patch
Patch1: %{name}-perl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRequires: bluez-libs-devel
BuildRequires: openobex-devel >= 1.2
BuildRequires: python-devel
BuildRequires: libtool
BuildRequires: gettext-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 by an open source
implementation. The common usage for ObexFTP is to access your mobile phones
memory to store and retrieve e.g. your phonebook, logos, ringtones, music,
pictures and alike.

%package -n python-%{name}
Summary: Python library to access devices via the OBEX protocol
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%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 by an open source
implementation. The common usage for ObexFTP is to access your mobile phones
memory to store and retrieve e.g. your phonebook, logos, ringtones, music,
pictures and alike.

%package -n perl-%{name}
Summary: Perl library to access devices via the OBEX protocol
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description -n perl-%{name}
The overall goal of this project is to make mobile devices featuring the OBEX
protocol and adhering to the OBEX FTP standard accessible by an open source
implementation. The common usage for ObexFTP is to access your mobile phones
memory to store and retrieve e.g. your phonebook, logos, ringtones, music,
pictures and alike.

%package devel
Summary: Header files and libraries for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: openobex-devel >= 1.2

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup -q
%patch0 -p1 -b .norpath
%patch1 -p1 -b .p

%build
# autoreconf bails out without config.rpath on fc7/devel
touch config.rpath
autoreconf -f -i
%configure --disable-static --disable-dependency-tracking --disable-rpath
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install
chmod 755 %{buildroot}%{perl_vendorarch}/*/OBEXFTP/OBEXFTP.so

%{__rm} %{buildroot}%{_libdir}/*.la
%{__rm} %{buildroot}%{python_sitearch}/obexftp/*.la
%{__rm} %{buildroot}%{perl_archlib}/perllocal.pod
%{__rm} -f %{buildroot}%{perl_vendorarch}/*/OBEXFTP/{.packlist,OBEXFTP.bs}

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%{_mandir}/man1/obexftp.1*
%{_mandir}/man1/obexftpd.1*
%{_bindir}/obexftp
%{_bindir}/obexftpd
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, -)
%{_includedir}/bfb/
%{_includedir}/multicobex/
%{_includedir}/obexftp/
%{_libdir}/*.so

%files -n python-%{name}
%defattr(-, root, root, -)
%dir %{python_sitelib}/obexftp
%{python_sitelib}/obexftp/*.py*
%dir %{python_sitearch}/obexftp
%{python_sitearch}/obexftp/_obexftp.so*

%files -n perl-%{name}
%defattr(-, root, root, -)
%{perl_vendorarch}/OBEXFTP.pm
%dir %{perl_vendorarch}/*/OBEXFTP
%{perl_vendorarch}/*/OBEXFTP/OBEXFTP.so

%changelog
* Thu Jan 25 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.20-2
- added missing defattr
- require openobex-devel > 1.2
- added missing MODULE_COMPAT Requires: to perl subpackage
- renamed subpackages to perl/python-obexftp
- fixed rpaths

* Mon Jan 01 2007 Dominik Mierzejewski <rpm at greysector.net> - 0.20-1
- updated to 0.20

* Sun Jan 29 2006 Dag Wieers <dag at wieers.com> - 0.18-1
- Initial package. (using DAR)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/obexftp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Jan 2007 02:10:15 -0000	1.1
+++ .cvsignore	26 Jan 2007 02:13:45 -0000	1.2
@@ -0,0 +1 @@
+obexftp-0.20.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/obexftp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Jan 2007 02:10:15 -0000	1.1
+++ sources	26 Jan 2007 02:13:45 -0000	1.2
@@ -0,0 +1 @@
+86224a7a1880c25e9ba0b8997a97d299  obexftp-0.20.tar.bz2




More information about the scm-commits mailing list