]> git.pld-linux.org Git - packages/dbus-glib.git/blobdiff - dbus-glib.spec
- ugh, bash-completion-dbus contains binary helper, so not noarch; release 2
[packages/dbus-glib.git] / dbus-glib.spec
index 797b357432b77653f74f9db70d87eb9064b8a453..b1f437553bedee28434ceb511ad667e013f9303f 100644 (file)
@@ -5,18 +5,18 @@
 
 %define                dbus_version    1.8
 %define                expat_version   1:1.95.5
-%define                glib2_version   1:2.32
+%define                glib2_version   1:2.40
 Summary:       GLib-based library for using D-BUS
 Summary(pl.UTF-8):     Biblioteka do używania D-BUS oparta o GLib
 Name:          dbus-glib
-Version:       0.104
-Release:       1
+Version:       0.112
+Release:       2
 License:       AFL v2.1 or GPL v2
 Group:         Libraries
-Source0:       http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
-# Source0-md5: 5497d2070709cf796f1878c75a72a039
+Source0:       https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
+# Source0-md5: 021e6c8a288df02c227e4aafbf7e7527
 Patch0:                %{name}-configure.patch
-URL:           http://www.freedesktop.org/Software/DBusBindings
+URL:           https://www.freedesktop.org/wiki/Software/DBusBindings
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake >= 1:1.9
 BuildRequires: dbus-devel >= %{dbus_version}
@@ -26,8 +26,9 @@ BuildRequires:        gettext-tools
 BuildRequires: glib2-devel >= %{glib2_version}
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.14}
 %{?with_apidocs:BuildRequires: gtk-doc-automake >= 1.14}
-BuildRequires: libtool
-BuildRequires: pkgconfig
+BuildRequires: libtool >= 2:2
+BuildRequires: pkgconfig >= 1:0.28
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.527
 Requires:      dbus-libs >= %{dbus_version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -71,9 +72,7 @@ Summary:      D-BUS-GLib API documentation
 Summary(pl.UTF-8):     Dokumentacja API D-BUS-GLib
 Group:         Documentation
 Requires:      gtk-doc-common
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 D-BUS-GLib API documentation.
@@ -119,7 +118,9 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        profiledir=/etc/bash_completion.d
 
-mv -f $RPM_BUILD_ROOT/etc/bash_completion.d/{dbus-bash-completion.sh,dbus}
+%{__mv} $RPM_BUILD_ROOT/etc/bash_completion.d/{dbus-bash-completion.sh,dbus}
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdbus-glib-1.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -130,7 +131,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 # AFL not in common-licenses, so COPYING included
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc AUTHORS COPYING NEWS README
 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdbus-glib-1.so.2
 
@@ -138,7 +139,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dbus-binding-tool
 %attr(755,root,root) %{_libdir}/libdbus-glib-1.so
-%{_libdir}/libdbus-glib-1.la
 %{_mandir}/man1/dbus-binding-tool.1*
 %{_includedir}/dbus-1.0/dbus/dbus-glib*.h
 %{_includedir}/dbus-1.0/dbus/dbus-gtype-specialized.h
@@ -160,4 +160,4 @@ rm -rf $RPM_BUILD_ROOT
 %files -n bash-completion-dbus
 %defattr(644,root,root,755)
 /etc/bash_completion.d/dbus
-%attr(755,root,root) %{_libdir}/dbus-bash-completion-helper
+%attr(755,root,root) %{_libexecdir}/dbus-bash-completion-helper
This page took 0.051129 seconds and 4 git commands to generate.