Summary: Notes plugin for the Xfce panel
Summary(pl.UTF-8): Notatki dla panelu Xfce
Name: xfce4-notes-plugin
-Version: 1.7.2
-Release: 2
+Version: 1.10.0
+Release: 1
License: GPL
Group: X11/Applications
-Source0: http://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/1.7/%{name}-%{version}.tar.bz2
-# Source0-md5: 054742ecc4bb83de6c1447b023938d3e
-URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
-BuildRequires: Thunar-devel >= 0.8.0
+Source0: https://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/1.10/%{name}-%{version}.tar.bz2
+# Source0-md5: 2126a751c80ead1261d40a817eb24e96
+URL: https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
+BuildRequires: Thunar-devel >= 1.2.0
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: libunique-devel
+BuildRequires: libxfce4ui-devel
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: xfce4-dev-tools >= 4.6.0
-BuildRequires: xfce4-panel-devel >= 4.6.0
-BuildRequires: xfconf-devel >= 4.6.0
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
-Requires: xfce4-panel >= 4.6.0
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: vala-xfce4-panel >= 4.16.0
+BuildRequires: vala-xfconf >= 4.16.0
+BuildRequires: xfce4-dev-tools >= 4.8.0
+BuildRequires: xfce4-panel-devel >= 4.8.0
+BuildRequires: xfconf-devel >= 4.8.0
+Requires: gtk-update-icon-cache
+Requires: hicolor-icon-theme
+Requires: xfce4-panel >= 4.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+#%{__rm} lib/ext-gdk.* lib/popup.* lib/theme-gtkrc.* src/xfce4-popup-notes.*
+
%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --enable-maintainer-mode \
+ --disable-silent-rules \
--disable-static
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_datadir}/locale/ur{_PK,}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
+
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK}
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+%doc AUTHORS ChangeLog NEWS
%{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop
%attr(755,root,root) %{_bindir}/xfce4-notes
%attr(755,root,root) %{_bindir}/xfce4-popup-notes
%attr(755,root,root) %{_bindir}/xfce4-notes-settings
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-notes-plugin
-%{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin.desktop
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libnotes.so*
+%{_datadir}/xfce4-notes-plugin
+%{_datadir}/xfce4/panel/plugins/xfce4-notes-plugin.desktop
%{_iconsdir}/hicolor/*/apps/*.*
%{_desktopdir}/xfce4-notes.desktop