Accepting request 582192 from GNOME:Factory
- Update to version 0.7.7+20170717.43aac61: + Conditionall call g_type_init() after a version check. + build: Update the list of headers in srcdir. + notify-send: Call setlocale in main function. - Switch to git-checkout via source service, following this, add gtk-doc and gnome-common BuildRequires ans pass autogen.sh to bootstrap tarball and pass --enable-gtk-doc to configure. - Clean up spec, use autosetup and make_build macros. - Add libnotify-rpmlintrc, silence rpmlint warning about shlib-policy-missing-lib. - Rectify RPM groups - Spec cleanup. OBS-URL: https://build.opensuse.org/request/show/582192 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnotify?expand=0&rev=38
This commit is contained in:
commit
fe820e2552
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="url">git://git.gnome.org/libnotify</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">0.7.7+%cd.%h</param>
|
||||||
|
<param name="revision">43aac613f1c2a56aa672c36c157c9b8eb193ac25</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version" />
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">git://git.gnome.org/libnotify</param>
|
||||||
|
<param name="changesrevision">43aac613f1c2a56aa672c36c157c9b8eb193ac25</param></service></servicedata>
|
3
libnotify-0.7.7+20170717.43aac61.tar.xz
Normal file
3
libnotify-0.7.7+20170717.43aac61.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:02b11290654a37f562b3f50b0f96c73d1c9e80bf33d12849c050ac769f0fe3c1
|
||||||
|
size 106284
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04
|
|
||||||
size 285356
|
|
2
libnotify-rpmlintrc
Normal file
2
libnotify-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Silence rpmlint about libnotify-tools.x86_64: W: shlib-policy-missing-lib
|
||||||
|
addFilter("libnotify-tools.* shlib-policy-missing-lib");
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 15:19:53 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.7.7+20170717.43aac61:
|
||||||
|
+ Conditionall call g_type_init() after a version check.
|
||||||
|
+ build: Update the list of headers in srcdir.
|
||||||
|
+ notify-send: Call setlocale in main function.
|
||||||
|
- Switch to git-checkout via source service, following this, add
|
||||||
|
gtk-doc and gnome-common BuildRequires ans pass autogen.sh to
|
||||||
|
bootstrap tarball and pass --enable-gtk-doc to configure.
|
||||||
|
- Clean up spec, use autosetup and make_build macros.
|
||||||
|
- Add libnotify-rpmlintrc, silence rpmlint warning about
|
||||||
|
shlib-policy-missing-lib.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 30 14:19:58 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Rectify RPM groups
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 10:11:13 UTC 2017 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Spec cleanup.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 14 09:10:15 UTC 2016 - zaitor@opensuse.org
|
Fri Oct 14 09:10:15 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libnotify
|
# spec file for package libnotify
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,23 +17,23 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libnotify
|
Name: libnotify
|
||||||
|
Version: 0.7.7+20170717.43aac61
|
||||||
|
Release: 0
|
||||||
|
Summary: Notifications Library
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Development/Libraries/X11
|
||||||
|
URL: http://galago-project.org/
|
||||||
|
#Source0: https://download.gnome.org/sources/libnotify/0.7/%%{name}-%%{version}.tar.xz
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
Source98: libnotify-rpmlintrc
|
||||||
|
Source99: baselibs.conf
|
||||||
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
%if 0%{?BUILD_FROM_VCS}
|
|
||||||
BuildRequires: gnome-common
|
|
||||||
BuildRequires: gtk-doc
|
|
||||||
%endif
|
|
||||||
Version: 0.7.7
|
|
||||||
Release: 0
|
|
||||||
Url: http://www.galago-project.org/
|
|
||||||
Summary: Notifications Library
|
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: System/Libraries
|
|
||||||
Source: http://download.gnome.org/sources/libnotify/0.7/%{name}-%{version}.tar.xz
|
|
||||||
Source99: baselibs.conf
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
D-BUS notifications library.
|
D-BUS notifications library.
|
||||||
@ -78,50 +78,40 @@ Obsoletes: libnotify-doc < %{version}
|
|||||||
D-BUS notifications library.
|
D-BUS notifications library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
%if 0%{?BUILD_FROM_VCS}
|
|
||||||
[ -x ./autogens.sh ] && NOCONFIGURE=1 ./autogen.sh
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure\
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
%if 0%{?BUILD_FROM_VCS}
|
%configure \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
%endif
|
--disable-static \
|
||||||
--disable-static
|
%{nil}
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libnotify4 -p /sbin/ldconfig
|
%post -n libnotify4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libnotify4 -p /sbin/ldconfig
|
%postun -n libnotify4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libnotify4
|
%files -n libnotify4
|
||||||
%defattr (-, root, root)
|
%license COPYING
|
||||||
# README is empty
|
# README is empty
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS
|
%doc AUTHORS ChangeLog NEWS
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Notify-0_7
|
%files -n typelib-1_0-Notify-0_7
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Notify-0.7.typelib
|
%{_libdir}/girepository-1.0/Notify-0.7.typelib
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_bindir}/notify-send
|
%{_bindir}/notify-send
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_datadir}/gir-1.0/*.gir
|
%{_datadir}/gir-1.0/*.gir
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
|
||||||
%dir %{_datadir}/gtk-doc
|
|
||||||
%dir %{_datadir}/gtk-doc/html
|
|
||||||
%{_datadir}/gtk-doc/html/libnotify
|
%{_datadir}/gtk-doc/html/libnotify
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user