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