|
@@ -2,19 +2,25 @@
|
|
|
|
|
|
Summary: libnotify notification library
|
|
Summary: libnotify notification library
|
|
Name: libnotify
|
|
Name: libnotify
|
|
-Version: 0.7.6
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 0.7.9
|
|
|
|
+Release: 1%{?_dist_release}
|
|
URL: http://www.galago-project.org/specs/notification/
|
|
URL: http://www.galago-project.org/specs/notification/
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
-Source0: %{name}-%{version}.tar.xz
|
|
|
|
|
|
+%define shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
|
|
|
|
+Source0: https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: meson, ninja
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: dbus-devel >= 1.0
|
|
BuildRequires: dbus-devel >= 1.0
|
|
BuildRequires: dbus-glib-devel
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
+BuildRequires: gtk-doc
|
|
|
|
+BuildRequires: libxslt
|
|
|
|
+BuildRequires: docbook5-style-xsl
|
|
|
|
+BuildRequires: xmlto
|
|
Requires: glib2 >= %{glib2_version}
|
|
Requires: glib2 >= %{glib2_version}
|
|
Requires: notification-daemon
|
|
Requires: notification-daemon
|
|
|
|
|
|
@@ -42,20 +48,18 @@ development of programs using %{name}.
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
|
|
-%__make %{?_smp_mflags}
|
|
|
|
|
|
+%meson
|
|
|
|
+%meson_build
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
-%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
+%meson_install
|
|
|
|
|
|
-# remove unpackaged files
|
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
|
|
+mv -f %{buildroot}%{_docdir}/libnotify/spec/notification-spec.html ./
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
@@ -63,13 +67,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc COPYING ChangeLog NEWS
|
|
|
|
|
|
+%license COPYING
|
|
|
|
+%doc ChangeLog NEWS
|
|
%{_bindir}/notify-send
|
|
%{_bindir}/notify-send
|
|
%{_libdir}/lib*.so*
|
|
%{_libdir}/lib*.so*
|
|
%{_libdir}/girepository-1.0/Notify-0.7.typelib
|
|
%{_libdir}/girepository-1.0/Notify-0.7.typelib
|
|
|
|
+%{_mandir}/man1/*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
|
|
+%doc notification-spec.html
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/libnotify.pc
|
|
%{_libdir}/pkgconfig/libnotify.pc
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
@@ -77,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.9-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.6-2
|
|
* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.6-2
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
|
|
|