]> git.pld-linux.org Git - packages/gnome-bluetooth.git/blame - gnome-bluetooth.spec
Update to 3.8.0
[packages/gnome-bluetooth.git] / gnome-bluetooth.spec
CommitLineData
9f12a1a8 1Summary: GNOME Bluetooth Subsystem
8c26edb1 2Summary(pl.UTF-8): Podsystem GNOME Bluetooth
9f12a1a8 3Name: gnome-bluetooth
6ccd48ad 4Version: 3.8.0
3ade3c39 5Release: 1
bb313757 6License: GPL v2+
9f12a1a8 7Group: X11/Applications
6ccd48ad
MB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/3.8/%{name}-%{version}.tar.xz
9# Source0-md5: 6c3e01ee8e0aa716013e1594038041df
7028a161 10Source1: 61-%{name}-rfkill.rules
bb313757 11URL: http://live.gnome.org/GnomeBluetooth
7e1deda9 12BuildRequires: autoconf >= 2.52
dd0e8b4a 13BuildRequires: automake >= 1:1.9
6726bbc2 14BuildRequires: docbook-dtd412-xml
e1c3c890 15BuildRequires: gettext-devel >= 0.17
16d248da 16BuildRequires: glib2-devel >= 1:2.30.0
bb313757 17BuildRequires: gnome-common
e1c3c890
MB
18BuildRequires: gobject-introspection-devel >= 0.10.0
19BuildRequires: gtk+3-devel >= 3.0.0
bb313757 20BuildRequires: intltool >= 0.40.0
e1c3c890 21BuildRequires: libnotify-devel >= 0.7.0
aa1c0cd7 22BuildRequires: libtool
e1c3c890 23BuildRequires: libxml2-progs
7e1deda9 24BuildRequires: pkgconfig
c3959d8d 25BuildRequires: rpmbuild(macros) >= 1.592
e1c3c890
MB
26BuildRequires: xorg-lib-libX11-devel
27BuildRequires: xorg-lib-libXi-devel
1b582964 28BuildRequires: yelp-tools
2b51e6fb 29Requires(post,postun): glib2 >= 1:2.26.0
058ea335 30Requires(post,postun): gtk-update-icon-cache
eb737090 31Requires: %{name}-libs = %{version}-%{release}
bb313757 32Requires: bluez >= 4.22
2b51e6fb 33Requires: dbus(org.openobex.client)
2b51e6fb 34Requires: dconf
e1c3c890 35Requires: hicolor-icon-theme
243eb35b 36Requires: udev-acl
bb313757
PZ
37Obsoletes: bluez-gnome < 1.9
38Obsoletes: bluez-pin
6ccd48ad 39Obsoletes: nautilus-sendto-gnome-bluetooth
6726bbc2 40Obsoletes: python-gnome-bluetooth
9f12a1a8 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
bb313757
PZ
44GNOME Bluetooth provides tools for controlling and communicating with
45Bluetooth devices.
aa1c0cd7 46
c63d8c67 47%description -l pl.UTF-8
bb313757
PZ
48GNOME Bluetooth dostarcza narzędzia do kontrolowania i komunikowania
49się z urządzeniami Bluetooth.
9f12a1a8 50
eb737090 51%package libs
bb313757
PZ
52Summary: GNOME Bluetooth subsystem shared libraries
53Summary(pl.UTF-8): Współdzielone biblioteki dla podsystemu GNOME Bluetooth
54License: LGPL v2+
55Group: X11/Libraries
16d248da 56Requires: glib2 >= 1:2.30.0
eb737090 57
58%description libs
bb313757 59GNOME Bluetooth subsystem shared libraries.
eb737090 60
c63d8c67 61%description libs -l pl.UTF-8
bb313757 62Współdzielone biblioteki dla podsystemu GNOME Bluetooth.
eb737090 63
5e099b62 64%package devel
bb313757
PZ
65Summary: Header files for GNOME Bluetooth subsystem
66Summary(pl.UTF-8): Pliki nagłówkowe dla podsystemu GNOME Bluetooth
67License: LGPL v2+
68Group: X11/Development/Libraries
eb737090 69Requires: %{name}-libs = %{version}-%{release}
16d248da 70Requires: glib2-devel >= 1:2.30.0
e1c3c890 71Requires: gtk+3-devel >= 3.0.0
5e099b62 72
73%description devel
bb313757 74Header files for GNOME Bluetooth subsystem.
5e099b62 75
c63d8c67 76%description devel -l pl.UTF-8
bb313757 77Pliki nagłówkowe dla podsystemu GNOME Bluetooth.
fd348385 78
5e099b62 79%package static
bb313757
PZ
80Summary: Static GNOME Bluetooth library
81Summary(pl.UTF-8): Statyczna biblioteka GNOME Bluetooth
82License: LGPL v2+
83Group: X11/Development/Libraries
5e099b62 84Requires: %{name}-devel = %{version}-%{release}
85
86%description static
bb313757 87Static GNOME Bluetooth library.
5e099b62 88
c63d8c67 89%description static -l pl.UTF-8
bb313757
PZ
90Statyczna biblioteka GNOME Bluetooth.
91
92%package apidocs
93Summary: GNOME Bluetooth library API documentation
94Summary(pl.UTF-8): Dokumentacja API biblioteki GNOME Bluetooth
95Group: Documentation
bb313757
PZ
96
97%description apidocs
98GNOME Bluetooth library API documentation.
99
100%description apidocs -l pl.UTF-8
101Dokumentacja API biblioteki GNOME Bluetooth.
fd348385 102
9f12a1a8 103%prep
104%setup -q
a0c56000 105
9f12a1a8 106%build
bb313757 107%{__gtkdocize}
99d244ec 108%{__intltoolize}
3ebf8f63 109%{__libtoolize}
9f12a1a8 110%{__aclocal}
bb313757 111%{__autoconf}
9f12a1a8 112%{__autoheader}
113%{__automake}
b685f3b9 114%configure \
bb313757
PZ
115 --disable-desktop-update \
116 --disable-icon-update \
e1c3c890
MB
117 --enable-introspection \
118 --disable-schemas-compile \
ed8abee9 119 --disable-silent-rules \
bb313757 120 --with-html-dir=%{_gtkdocdir}
9f12a1a8 121%{__make}
122
123%install
124rm -rf $RPM_BUILD_ROOT
243eb35b 125install -d $RPM_BUILD_ROOT/lib/udev/rules.d
9f12a1a8 126
127%{__make} install \
128 DESTDIR=$RPM_BUILD_ROOT
129
243eb35b
MB
130install %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d
131
e1c3c890 132%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la \
6ccd48ad 133 $RPM_BUILD_ROOT%{_libdir}/gnome-bluetooth/plugins/*.la
e1c3c890
MB
134
135# workaround for (broken?) GnomeBluetoothApplet-1.0.typelib
136ln -s %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.0 $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth-applet.so.0
dd0e8b4a 137
bb313757 138%find_lang %{name} --with-gnome --with-omf --all-name
6f96c751 139
af3c0357
JB
140%clean
141rm -rf $RPM_BUILD_ROOT
142
0ea4b2ea 143%post
bb313757 144%update_icon_cache hicolor
c3959d8d 145%glib_compile_schemas
bb313757
PZ
146
147%postun
148%update_icon_cache hicolor
c3959d8d 149%glib_compile_schemas
0ea4b2ea 150
eb737090 151%post libs -p /sbin/ldconfig
152%postun libs -p /sbin/ldconfig
153
6f96c751 154%files -f %{name}.lang
9f12a1a8 155%defattr(644,root,root,755)
156%doc AUTHORS ChangeLog NEWS README
bb313757
PZ
157%attr(755,root,root) %{_bindir}/bluetooth-sendto
158%attr(755,root,root) %{_bindir}/bluetooth-wizard
e1c3c890
MB
159%{_desktopdir}/bluetooth-sendto.desktop
160%{_desktopdir}/bluetooth-wizard.desktop
bb313757 161%{_datadir}/gnome-bluetooth
bb313757
PZ
162%dir %{_libdir}/gnome-bluetooth/plugins
163%attr(755,root,root) %{_libdir}/gnome-bluetooth/plugins/*.so
164%{_iconsdir}/hicolor/*/*/*.png
165%{_iconsdir}/hicolor/*/*/*.svg
bb313757
PZ
166%{_mandir}/man1/bluetooth-sendto.1*
167%{_mandir}/man1/bluetooth-wizard.1*
243eb35b 168/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
6f96c751 169
eb737090 170%files libs
171%defattr(644,root,root,755)
bb313757 172%attr(755,root,root) %{_libdir}/libgnome-bluetooth.so.*.*.*
1b582964 173%attr(755,root,root) %ghost %{_libdir}/libgnome-bluetooth.so.11
e1c3c890
MB
174%dir %{_libdir}/gnome-bluetooth
175%attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so
176%attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.0
177%attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.*.*.*
178%attr(755,root,root) %{_libdir}/libgnome-bluetooth-applet.so.0
179%{_libdir}/gnome-bluetooth/GnomeBluetoothApplet-1.0.typelib
180%{_libdir}/girepository-1.0/GnomeBluetooth-1.0.typelib
eb737090 181
5e099b62 182%files devel
183%defattr(644,root,root,755)
bb313757 184%attr(755,root,root) %{_libdir}/libgnome-bluetooth.so
bb313757
PZ
185%{_includedir}/gnome-bluetooth
186%{_pkgconfigdir}/gnome-bluetooth-1.0.pc
e1c3c890 187%{_datadir}/gir-1.0/GnomeBluetooth-1.0.gir
5e099b62 188
bb313757 189%files apidocs
5e099b62 190%defattr(644,root,root,755)
bb313757 191%{_gtkdocdir}/gnome-bluetooth
This page took 0.184462 seconds and 4 git commands to generate.