Autobuild autoformatter for 74708

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dbus-1-glib?expand=0&rev=32
This commit is contained in:
Sascha Peilicke 2011-06-30 10:56:08 +00:00 committed by Git OBS Bridge
parent 458c3a0dad
commit 70a0943349

View File

@ -37,7 +37,6 @@ Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
%package -n dbus-1-glib-devel %package -n dbus-1-glib-devel
License: Other uncritical OpenSource License License: Other uncritical OpenSource License
Summary: Developer package for D-Bus/GLib bindings Summary: Developer package for D-Bus/GLib bindings
@ -47,7 +46,6 @@ Requires: dbus-1-glib = %{version}
Requires: glib2-devel Requires: glib2-devel
Group: Development/Libraries/Other Group: Development/Libraries/Other
%package -n dbus-1-glib-doc %package -n dbus-1-glib-doc
License: GPLv2+ ; Other uncritical OpenSource License License: GPLv2+ ; Other uncritical OpenSource License
Summary: Documentation for the D-Bus/GLib bindings Summary: Documentation for the D-Bus/GLib bindings
@ -56,7 +54,6 @@ Group: Documentation/HTML
BuildArch: noarch BuildArch: noarch
%endif %endif
%description %description
D-Bus add-on library to integrate the standard D-Bus library with the D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop. GLib thread abstraction and main loop.
@ -72,7 +69,6 @@ GLib thread abstraction and main loop.
%prep %prep
%setup -n dbus-glib-%{version} -q %setup -n dbus-glib-%{version} -q
%build %build
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC" export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC"
%configure \ %configure \
@ -80,31 +76,25 @@ export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC"
--disable-static --disable-static
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
%makeinstall %makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la %{__rm} %{buildroot}/%{_libdir}/*.la
%post %post
%{run_ldconfig} %{run_ldconfig}
%postun %postun
%{run_ldconfig} %{run_ldconfig}
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/*glib*.so.* %{_libdir}/*glib*.so.*
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh %{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%files -n dbus-1-glib-devel %files -n dbus-1-glib-devel
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/dbus-binding-tool %{_bindir}/dbus-binding-tool
@ -113,13 +103,10 @@ export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC"
%{_libdir}/*glib*.so %{_libdir}/*glib*.so
%{_libdir}/pkgconfig/dbus-glib-1.pc %{_libdir}/pkgconfig/dbus-glib-1.pc
%files -n dbus-1-glib-doc %files -n dbus-1-glib-doc
%defattr(-, root, root) %defattr(-, root, root)
%dir %{_datadir}/gtk-doc/ %dir %{_datadir}/gtk-doc/
%dir %{_datadir}/gtk-doc/html %dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/dbus-glib %{_datadir}/gtk-doc/html/dbus-glib
%changelog %changelog