|
@@ -7,43 +7,41 @@
|
|
ExcludeArch: s390 s390x
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
Summary: Library for the GNOME Bluetooth Subsystem
|
|
Summary: Library for the GNOME Bluetooth Subsystem
|
|
-Summary(ja): GNOME Bluetooth 扔皮扑旦氾丞迕仿奶皮仿伉
|
|
|
|
|
|
+Summary(ja): GNOME Bluetooth �萸��瑯�����具��扎��押�
|
|
Name: libbtctl
|
|
Name: libbtctl
|
|
-Version: 0.10.0
|
|
|
|
-Release: 6%{?_dist_release}
|
|
|
|
|
|
+Version: 0.11.1
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: GPL+
|
|
License: GPL+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://live.gnome.org/GnomeBluetooth
|
|
URL: http://live.gnome.org/GnomeBluetooth
|
|
-Source: http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.10/%{name}-%{version}.tar.bz2
|
|
|
|
-
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
-
|
|
|
|
|
|
+Source: http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.11/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
-BuildRequires: autoconf >= 0:2.57, bluez-libs-devel, glib2-devel, gtk-doc
|
|
|
|
-BuildRequires: openobex-devel >= 0:1.1, pygtk2-devel, gtk2-devel
|
|
|
|
|
|
+#BuildRequires: autoconf >= 0:2.57
|
|
|
|
+BuildRequires: bluez-libs-devel, glib2-devel, gtk-doc
|
|
|
|
+BuildRequires: openobex-devel >= 0:1.1
|
|
|
|
+BuildRequires: pygtk2-devel, gtk2-devel
|
|
BuildRequires: python, python-devel, gettext, automake, libtool, intltool
|
|
BuildRequires: python, python-devel, gettext, automake, libtool, intltool
|
|
|
|
+Packager: babasaki
|
|
|
|
|
|
%if %{with_mono}
|
|
%if %{with_mono}
|
|
%{expand BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp}
|
|
%{expand BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp}
|
|
%endif
|
|
%endif
|
|
|
|
|
|
Patch1: libbtctl-bluez4.patch
|
|
Patch1: libbtctl-bluez4.patch
|
|
-Patch2: libbtctl-0.4.1-pydir.patch
|
|
|
|
-## Patch4: libbtctl-0.6.0-print.patch
|
|
|
|
|
|
+#Patch2: libbtctl-0.4.1-pydir.patch
|
|
|
|
+#Patch4: libbtctl-0.6.0-print.patch
|
|
|
|
+Patch5: libbtctl-0.11.1-lib64.patch
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
%description
|
|
%description
|
|
Library for the GNOME Bluetooth Subsystem
|
|
Library for the GNOME Bluetooth Subsystem
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-GNOME Bluetooth 扔皮扑旦氾丞迕仿奶皮仿伉
|
|
|
|
|
|
+GNOME Bluetooth �萸��瑯�����具��扎��押�
|
|
|
|
+
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for libbtctl.
|
|
Summary: Development files for libbtctl.
|
|
-Summary(ja): libbtctl 釩�及凶戶及DEVEL由永弗□斥
|
|
|
|
|
|
+Summary(ja): libbtctl �讠惣�柴����DEVEL�㻫��晞���
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: glib2-devel
|
|
Requires: glib2-devel
|
|
@@ -53,42 +51,44 @@ This package contains the files needed for developing applications,
|
|
which use libbtctl.
|
|
which use libbtctl.
|
|
|
|
|
|
%description devel -l ja
|
|
%description devel -l ja
|
|
-libbtctl 毛銀迕允月失皿伉弗□扑亦件釩�及凶戶卞优邰卅
|
|
|
|
-目永母□挀及由永弗□斥
|
|
|
|
|
|
+libbtctl �雴蝙�具��卝��𨰜��晞��瑯��喲��箝��麄��怠�閬��
|
|
|
|
+�塩����潮��柴�����潦�
|
|
|
|
+
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch1 -p0 -b .bluez4
|
|
|
|
-%patch2 -p1 -b .pydir
|
|
|
|
-## %patch4 -p1 -b .print
|
|
|
|
|
|
+#%patch1 -p0 -b .bluez4
|
|
|
|
+#%patch2 -p1 -b .pydir
|
|
|
|
+#%patch4 -p1 -b .print
|
|
|
|
+%ifarch x86_64
|
|
|
|
+%patch5 -p0 -b .lib64
|
|
|
|
+%endif
|
|
|
|
|
|
-aclocal
|
|
|
|
-automake -a
|
|
|
|
-intltoolize -c -f
|
|
|
|
-autoconf
|
|
|
|
|
|
+#aclocal
|
|
|
|
+#automake -a
|
|
|
|
+#intltoolize -c -f
|
|
|
|
+#autoconf
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure \
|
|
|
|
%if %{with_mono}
|
|
%if %{with_mono}
|
|
- ;
|
|
|
|
|
|
+%configure
|
|
%else
|
|
%else
|
|
- --disable-mono
|
|
|
|
|
|
+%configure --disable-mono
|
|
%endif
|
|
%endif
|
|
|
|
|
|
# %%{?_smp_mflags} does not work
|
|
# %%{?_smp_mflags} does not work
|
|
make
|
|
make
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
# we do not want .la files
|
|
# we do not want .la files
|
|
|
|
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
-rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/*.a
|
|
|
|
-rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/*.la
|
|
|
|
-
|
|
|
|
|
|
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/*.a
|
|
|
|
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/*.la
|
|
%find_lang %name
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
|
@@ -99,12 +99,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
-%{_libdir}/python?.?/site-packages/*btctl*
|
|
|
|
|
|
+%{python_sitearch}/*btctl*
|
|
%if %{with_mono}
|
|
%if %{with_mono}
|
|
%{_libdir}/mono/gac/btctl/*/btctl.dll
|
|
%{_libdir}/mono/gac/btctl/*/btctl.dll
|
|
%{_libdir}/mono/libbtctl/btctl.dll
|
|
%{_libdir}/mono/libbtctl/btctl.dll
|
|
@@ -114,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files devel
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%{_libdir}/lib*.a
|
|
|
|
|
|
+#%{_libdir}/lib*.a
|
|
%{_libdir}/pkgconfig/libbtctl.pc
|
|
%{_libdir}/pkgconfig/libbtctl.pc
|
|
%{_includedir}/libbtctl
|
|
%{_includedir}/libbtctl
|
|
%{_datadir}/gtk-doc/html/libbtctl
|
|
%{_datadir}/gtk-doc/html/libbtctl
|
|
@@ -122,11 +121,18 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/pkgconfig/libbtctl-sharp.pc
|
|
%{_libdir}/pkgconfig/libbtctl-sharp.pc
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
-# Maintainers: babasaki@mindgear.org
|
|
|
|
-#
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.1-1
|
|
|
|
+- updated libbtctl to 0.11.1
|
|
|
|
+- dropt Patch2: libbtctl-0.4.1-pydir.patch
|
|
|
|
+- added Patch5: libbtctl-0.11.1-lib64.patch (on x86_64)
|
|
|
|
+- uninstall *.a
|
|
|
|
+- move "Maintainers:" to "packager:"
|
|
|
|
+- spec in utf-8 (too)
|
|
|
|
+- changed spec file name as vine style
|
|
|
|
+- rebuilt with new environment and rpm-4.8.1
|
|
|
|
+
|
|
* Fri Oct 24 2008 Seiichirou Babasaki 0.10.0-6
|
|
* Fri Oct 24 2008 Seiichirou Babasaki 0.10.0-6
|
|
- Update to 0.10.0 (VineSeed)
|
|
- Update to 0.10.0 (VineSeed)
|
|
- added "# Maintainers: " comments.
|
|
- added "# Maintainers: " comments.
|
|
@@ -147,7 +153,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
- fixed wrong Source URL
|
|
- fixed wrong Source URL
|
|
- Updated specfile
|
|
- Updated specfile
|
|
|
|
|
|
-#----------------------------------------------------------------------------
|
|
|
|
* Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-3
|
|
* Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-3
|
|
- fixed wrong Source URL
|
|
- fixed wrong Source URL
|
|
|
|
|