]> git.pld-linux.org Git - packages/blueman.git/blobdiff - blueman.spec
clean .py
[packages/blueman.git] / blueman.spec
index 8860ab1dad51d266304d9f407df443a5d34c4eea..e25646998f7396c942e2f4deb64719fe999f561d 100644 (file)
@@ -21,6 +21,7 @@ BuildRequires:        python-dbus
 BuildRequires: python-devel >= 2.7
 BuildRequires: python-pygobject3-common-devel
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires:      bluez-libs >= 4.25
@@ -70,10 +71,14 @@ Wtyczka Blueman-a dla Thunar-a.
 %setup -q
 
 %build
-export NOCONFIGURE='yes' && ./autogen.sh \
-       --enable-xfce-settings=yes \
-       --no-configure
+%{__aclocal}
+%{__autoheader}
+%{__libtoolize}
+%{__intltoolize}
+%{__automake}
+%{__autoconf}
 %configure \
+       --enable-xfce-settings=yes \
        --disable-static \
        --disable-schemas-compile \
 
@@ -87,6 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_blueman.la
 
+%py_postclean
 %find_lang %{name} --with-gnome
 
 %clean
@@ -122,6 +128,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{_mandir}/man1/blueman-sendto.1*
 %{_mandir}/man1/blueman-services.1*
 %attr(755,root,root) %{_libdir}/%{name}-mechanism
+%attr(755,root,root) %{_libdir}/%{name}-rfcomm-watcher
 %{_datadir}/%{name}
 %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
 %{_desktopdir}/blueman-manager.desktop
@@ -130,7 +137,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{_iconsdir}/hicolor/*/*/*.png
 %dir %{_pixmapsdir}/blueman
 %{_pixmapsdir}/blueman/blueman-*.png
-%{_libdir}/blueman-rfcomm-watcher
 %{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml
 %{_datadir}/dbus-1/services/blueman-applet.service
 %{_datadir}/polkit-1/actions/org.blueman.policy
This page took 0.028318 seconds and 4 git commands to generate.