Group :: Sistema/Bibliotecas
RPM: gnome-bluetooth
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 0.8
Name: gnome-bluetooth
Version: %ver_major.0
Release: alt1
Summary: The GNOME Bluetooth Subsystem
License: GPL
Group: System/Libraries
Url: http://live.gnome.org/GnomeBluetooth
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define libbtctl_ver 0.8.0
AutoReq: yes
Requires: bluez-utils
BuildPreReq: libbtctl-devel >= %libbtctl_ver
BuildPreReq: GConf2 gob2 libglade2-devel
BuildPreReq: libGConf2-devel >= 2.3.3
BuildPreReq: libgnomeui-devel >= 1.110.0
BuildPreReq: python-module-pygtk-devel
BuildPreReq: gnome-vfs-devel >= 2.1.3.1
BuildPreReq: libgtk+2-devel >= 2.6.0
BuildPreReq: libgnome-devel >= 2.0
BuildPreReq: librsvg-devel
BuildPreReq: libopenobex-devel >= 1.0
%description
The GNOME Bluetooth Subsystem.
%package devel
Summary: The GNOME Bluetooth Subsystem development package
Group: Development/C
Requires: %name >= %version-%release
Requires: libbtctl-devel >= %libbtctl_ver
%description devel
This package provides GNOME Bluetooth Subsystem development files.
%prep
%setup -q
#__subst 's,openobex/\(obex.h\),\1,' obex/*.c
%build
%__autoreconf
%configure --disable-scrollkeeper --disable-schemas-install
# SMP-incompatible build
%make
%install
%make_install DESTDIR=%buildroot install
%__cp %buildroot%_datadir/pixmaps/blueradio-48.png %buildroot%_datadir/%name/pixmaps/blueradio-48.png
%find_lang %name
%post
%post_ldconfig
%postun
%postun_ldconfig
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/python%__python_version/site-packages/*
%_datadir/applications/*
%_datadir/pixmaps/blueradio-48.png
%_datadir/%name
%config %_sysconfdir/gconf/schemas/gnome-obex-server.schemas
%doc AUTHORS ChangeLog README
%files devel
%_libdir/*.so
%_includedir/*
%_libdir/pkgconfig/*
%changelog
…
Todas as alterações você pod ver aqui
Name: gnome-bluetooth
Version: %ver_major.0
Release: alt1
Summary: The GNOME Bluetooth Subsystem
License: GPL
Group: System/Libraries
Url: http://live.gnome.org/GnomeBluetooth
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%define libbtctl_ver 0.8.0
AutoReq: yes
Requires: bluez-utils
BuildPreReq: libbtctl-devel >= %libbtctl_ver
BuildPreReq: GConf2 gob2 libglade2-devel
BuildPreReq: libGConf2-devel >= 2.3.3
BuildPreReq: libgnomeui-devel >= 1.110.0
BuildPreReq: python-module-pygtk-devel
BuildPreReq: gnome-vfs-devel >= 2.1.3.1
BuildPreReq: libgtk+2-devel >= 2.6.0
BuildPreReq: libgnome-devel >= 2.0
BuildPreReq: librsvg-devel
BuildPreReq: libopenobex-devel >= 1.0
%description
The GNOME Bluetooth Subsystem.
%package devel
Summary: The GNOME Bluetooth Subsystem development package
Group: Development/C
Requires: %name >= %version-%release
Requires: libbtctl-devel >= %libbtctl_ver
%description devel
This package provides GNOME Bluetooth Subsystem development files.
%prep
%setup -q
#__subst 's,openobex/\(obex.h\),\1,' obex/*.c
%build
%__autoreconf
%configure --disable-scrollkeeper --disable-schemas-install
# SMP-incompatible build
%make
%install
%make_install DESTDIR=%buildroot install
%__cp %buildroot%_datadir/pixmaps/blueradio-48.png %buildroot%_datadir/%name/pixmaps/blueradio-48.png
%find_lang %name
%post
%post_ldconfig
%postun
%postun_ldconfig
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/python%__python_version/site-packages/*
%_datadir/applications/*
%_datadir/pixmaps/blueradio-48.png
%_datadir/%name
%config %_sysconfdir/gconf/schemas/gnome-obex-server.schemas
%doc AUTHORS ChangeLog README
%files devel
%_libdir/*.so
%_includedir/*
%_libdir/pkgconfig/*
%changelog
…
Todas as alterações você pod ver aqui