commit a921d3db9d103431177de4931070de11400bbd7d Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:57:24 2019 -0400 Package init diff --git a/libnotify-0.7.8.tar.xz b/libnotify-0.7.8.tar.xz new file mode 100644 index 0000000..a399a30 Binary files /dev/null and b/libnotify-0.7.8.tar.xz differ diff --git a/libnotify.spec b/libnotify.spec new file mode 100644 index 0000000..dad0bf7 --- /dev/null +++ b/libnotify.spec @@ -0,0 +1,61 @@ +Name: libnotify +Version: 0.7.8 +Release: 1 +Summary: Notification library on desktop +License: LGPLv2+ +URL: http://www.gnome.org +Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz +BuildRequires: glib2-devel gtk-doc meson xmlto +BuildRequires: gdk-pixbuf2-devel gtk3-devel gobject-introspection-devel +Requires: glib2 >= 2.26.0 + +%description +libnotify is a library for sending desktop notifications to a notification +daemon. These notifications can be used to inform the user about an event +or display some form of information without getting in the user's way. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and header files needed for development of programs using libnotify. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets + +%files +%defattr(-,root,root) +%doc AUTHORS +%license COPYING +%{_bindir}/notify-send +%{_libdir}/*.so.* +%{_libdir}/girepository-1.0/Notify-0.7.typelib + +%files devel +%defattr(-,root,root) +%{_libdir}/*.so +%{_includedir}/* +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/Notify-0.7.gir + +%files help +%defattr(-,root,root) +%doc NEWS +%doc %{_docdir}/libnotify/spec/* +%{_datadir}/gtk-doc/html/* + +%changelog +* Tue Aug 27 2019 openEuler Buildteam - 0.7.8-1 +- Package init