Accepting request 580215 from GNOME:Next

spdx3

OBS-URL: https://build.opensuse.org/request/show/580215
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/telepathy-glib?expand=0&rev=165
This commit is contained in:
Dominique Leuenberger 2018-03-01 11:12:11 +00:00 committed by Git OBS Bridge
parent f8f9b6ef54
commit 63b1d8359d
2 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 11:54:46 UTC 2018 - dimstar@opensuse.org
- Use SPDX3.0 license tags and package COPYING as %license.
-------------------------------------------------------------------
Thu Apr 14 10:28:00 UTC 2016 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package telepathy-glib
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,14 @@ Name: telepathy-glib
Version: 0.24.1
Release: 0
Summary: GObject-based library for the Telepathy D-Bus API
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Development/Languages/C and C++
Url: http://telepathy.freedesktop.org/
Source: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
Source99: baselibs.conf
BuildRequires: gtk-doc >= 1.17
BuildRequires: libxslt-devel
BuildRequires: pkgconfig
BuildRequires: python-xml
BuildRequires: vala >= 0.16.0
BuildRequires: pkgconfig(dbus-1) >= 0.95
@ -36,7 +37,6 @@ BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.32.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.30
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The telepathy-glib library is a GObject-based C binding for the
@ -87,29 +87,23 @@ Telepathy D-Bus API.
%build
%configure --disable-static \
--enable-vala-bindings
%__make %{_smp_mflags}
make %{?_smp_mflags}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libtelepathy-glib0 -p /sbin/ldconfig
%postun -n libtelepathy-glib0 -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files -n libtelepathy-glib0
%defattr(-,root,root)
%license COPYING
%{_libdir}/libtelepathy-glib*.so.0*
%files -n typelib-1_0-TelepathyGlib-0_12
%defattr(-,root,root)
%{_libdir}/girepository-1.0/TelepathyGLib-0.12.typelib
%files devel
%defattr(-,root,root)
%dir %{_includedir}/telepathy-1.0
%{_includedir}/telepathy-1.0/telepathy-glib/
%{_libdir}/lib*.so
@ -120,7 +114,6 @@ rm -rf %{buildroot}
%{_datadir}/vala/vapi/telepathy-glib.*
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/telepathy-glib
%changelog