Group :: Sistema/Bibliotecas
RPM: gnome-bluetooth
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbh script. Do not edit it.
%define ver_major 0.11
Name: gnome-bluetooth
Version: %ver_major.0
Release: alt0.M41.1
Summary: The GNOME Bluetooth Subsystem
License: %gpl2plus
Group: System/Libraries
Url: http://live.gnome.org/GnomeBluetooth
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
%define libbtctl_ver 0.8.0
Requires: bluez-utils
BuildPreReq: rpm-build-licenses rpm-build-gnome
# From configure.in
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libbtctl-devel >= %libbtctl_ver
BuildPreReq: GConf2 gob2 libglade2-devel
BuildPreReq: libGConf2-devel >= 2.3.3
BuildPreReq: libgnomeui-devel >= 1.110.0
BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: python-module-pygtk-devel
BuildPreReq: gnome-vfs-devel >= 2.1.3.1
#BuildPreReq: librsvg-devel
BuildRequires: libSM-devel libbluez-devel libopenobex-devel
BuildRequires: rpm-build-compat >= 0.95
%description
The GNOME Bluetooth Subsystem.
%package devel
Summary: The GNOME Bluetooth Subsystem development package
Group: Development/C
Requires: %name >= %version-%release
%description devel
This package provides GNOME Bluetooth Subsystem development files.
%package -n python-module-%name
Summary: Python bindings for GNOME Bluetooth
Group: Development/Python
%description -n python-module-%name
This package contains Python bindings to use GNOME Bluetooth from Python
programs.
%prep
%setup -q
%build
%autoreconf
%configure --disable-scrollkeeper --disable-schemas-install
# SMP-incompatible build
%make
%install
%make_install DESTDIR=%buildroot install
cp %buildroot%_pixmapsdir/blueradio-48.png %buildroot%_datadir/%name/pixmaps/blueradio-48.png
%find_lang %name
%post
%post_ldconfig
%update_menus
%postun
%postun_ldconfig
%clean_menus
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_desktopdir/*.desktop
%_pixmapsdir/blueradio-48.png
%dir %_datadir/%name
%_datadir/%name/*
%config %gconf_schemasdir/gnome-obex-server.schemas
%doc AUTHORS ChangeLog README
%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*
%files -n python-module-%name
%dir %python_sitelibdir/gnomebt
%python_sitelibdir/gnomebt/*.so
%exclude %python_sitelibdir/gnomebt/*.la
%changelog
…
Todas as alterações você pod ver aqui
%define ver_major 0.11
Name: gnome-bluetooth
Version: %ver_major.0
Release: alt0.M41.1
Summary: The GNOME Bluetooth Subsystem
License: %gpl2plus
Group: System/Libraries
Url: http://live.gnome.org/GnomeBluetooth
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
%define libbtctl_ver 0.8.0
Requires: bluez-utils
BuildPreReq: rpm-build-licenses rpm-build-gnome
# From configure.in
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libbtctl-devel >= %libbtctl_ver
BuildPreReq: GConf2 gob2 libglade2-devel
BuildPreReq: libGConf2-devel >= 2.3.3
BuildPreReq: libgnomeui-devel >= 1.110.0
BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: python-module-pygtk-devel
BuildPreReq: gnome-vfs-devel >= 2.1.3.1
#BuildPreReq: librsvg-devel
BuildRequires: libSM-devel libbluez-devel libopenobex-devel
BuildRequires: rpm-build-compat >= 0.95
%description
The GNOME Bluetooth Subsystem.
%package devel
Summary: The GNOME Bluetooth Subsystem development package
Group: Development/C
Requires: %name >= %version-%release
%description devel
This package provides GNOME Bluetooth Subsystem development files.
%package -n python-module-%name
Summary: Python bindings for GNOME Bluetooth
Group: Development/Python
%description -n python-module-%name
This package contains Python bindings to use GNOME Bluetooth from Python
programs.
%prep
%setup -q
%build
%autoreconf
%configure --disable-scrollkeeper --disable-schemas-install
# SMP-incompatible build
%make
%install
%make_install DESTDIR=%buildroot install
cp %buildroot%_pixmapsdir/blueradio-48.png %buildroot%_datadir/%name/pixmaps/blueradio-48.png
%find_lang %name
%post
%post_ldconfig
%update_menus
%postun
%postun_ldconfig
%clean_menus
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_desktopdir/*.desktop
%_pixmapsdir/blueradio-48.png
%dir %_datadir/%name
%_datadir/%name/*
%config %gconf_schemasdir/gnome-obex-server.schemas
%doc AUTHORS ChangeLog README
%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*
%files -n python-module-%name
%dir %python_sitelibdir/gnomebt
%python_sitelibdir/gnomebt/*.so
%exclude %python_sitelibdir/gnomebt/*.la
%changelog
…
Todas as alterações você pod ver aqui