]> git.pld-linux.org Git - packages/gnome-bluetooth.git/blob - gnome-bluetooth.spec
a00809d3e8d173b6fecf05f00e2c23931d8a147a
[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.10.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/3.10/%{name}-%{version}.tar.xz
9 # Source0-md5:  c112cdca037f90168b04c0f12855006a
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.36.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:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.592
26 BuildRequires:  xorg-lib-libX11-devel
27 BuildRequires:  xorg-lib-libXi-devel
28 BuildRequires:  yelp-tools
29 Requires(post,postun):  glib2 >= 1:2.26.0
30 Requires(post,postun):  gtk-update-icon-cache
31 Requires:       %{name}-libs = %{version}-%{release}
32 Requires:       bluez >= 4.22
33 Requires:       dbus(org.openobex.client)
34 Requires:       dconf
35 Requires:       hicolor-icon-theme
36 Requires:       udev-acl
37 Obsoletes:      bluez-gnome < 1.9
38 Obsoletes:      bluez-pin
39 Obsoletes:      nautilus-sendto-gnome-bluetooth
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.36.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 %prep
104 %setup -q
105
106 %build
107 mkdir m4
108 %{__gtkdocize}
109 %{__intltoolize}
110 %{__libtoolize}
111 %{__aclocal}
112 %{__autoconf}
113 %{__autoheader}
114 %{__automake}
115 %configure \
116         --disable-desktop-update \
117         --disable-icon-update \
118         --enable-introspection \
119         --disable-schemas-compile \
120         --disable-silent-rules \
121         --with-html-dir=%{_gtkdocdir}
122 %{__make}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT/lib/udev/rules.d
127
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT
130
131 install %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d
132
133 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la \
134         $RPM_BUILD_ROOT%{_libdir}/gnome-bluetooth/plugins/*.la
135
136 # workaround for (broken?) GnomeBluetoothApplet-1.0.typelib
137 ln -s %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.0 $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth-applet.so.0
138
139 %find_lang %{name} --with-gnome --with-omf --all-name
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %post
145 %update_icon_cache hicolor
146 %glib_compile_schemas
147
148 %postun
149 %update_icon_cache hicolor
150 %glib_compile_schemas
151
152 %post   libs -p /sbin/ldconfig
153 %postun libs -p /sbin/ldconfig
154
155 %files -f %{name}.lang
156 %defattr(644,root,root,755)
157 %doc AUTHORS ChangeLog NEWS README
158 %attr(755,root,root) %{_bindir}/bluetooth-sendto
159 %attr(755,root,root) %{_bindir}/bluetooth-wizard
160 %{_desktopdir}/bluetooth-sendto.desktop
161 %{_desktopdir}/bluetooth-wizard.desktop
162 %{_datadir}/gnome-bluetooth
163 %dir %{_libdir}/gnome-bluetooth/plugins
164 %attr(755,root,root) %{_libdir}/gnome-bluetooth/plugins/*.so
165 %{_iconsdir}/hicolor/*/*/*.png
166 %{_iconsdir}/hicolor/*/*/*.svg
167 %{_mandir}/man1/bluetooth-sendto.1*
168 %{_mandir}/man1/bluetooth-wizard.1*
169 /lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
170
171 %files libs
172 %defattr(644,root,root,755)
173 %attr(755,root,root) %{_libdir}/libgnome-bluetooth.so.*.*.*
174 %attr(755,root,root) %ghost %{_libdir}/libgnome-bluetooth.so.12
175 %dir %{_libdir}/gnome-bluetooth
176 %attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so
177 %attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.0
178 %attr(755,root,root) %{_libdir}/gnome-bluetooth/libgnome-bluetooth-applet.so.*.*.*
179 %attr(755,root,root) %{_libdir}/libgnome-bluetooth-applet.so.0
180 %{_libdir}/gnome-bluetooth/GnomeBluetoothApplet-1.0.typelib
181 %{_libdir}/girepository-1.0/GnomeBluetooth-1.0.typelib
182
183 %files devel
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/libgnome-bluetooth.so
186 %{_includedir}/gnome-bluetooth
187 %{_pkgconfigdir}/gnome-bluetooth-1.0.pc
188 %{_datadir}/gir-1.0/GnomeBluetooth-1.0.gir
189
190 %files apidocs
191 %defattr(644,root,root,755)
192 %{_gtkdocdir}/gnome-bluetooth
This page took 0.043515 seconds and 2 git commands to generate.