]>
Commit | Line | Data |
---|---|---|
fbe59eba | 1 | Summary: Notes plugin for the Xfce panel |
0c2c9965 | 2 | Summary(pl.UTF-8): Notatki dla panelu Xfce |
6f570b59 | 3 | Name: xfce4-notes-plugin |
53ebc04a | 4 | Version: 1.8.1 |
90788a8b | 5 | Release: 5 |
6f570b59 | 6 | License: GPL |
c113864c | 7 | Group: X11/Applications |
53ebc04a JR |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/1.8/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 31cb9520b01512a94344770b4befdb3b | |
10 | Patch0: format-security.patch | |
90788a8b | 11 | Patch1: git.patch |
5418512b | 12 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin |
4379a039 | 13 | BuildRequires: Thunar-devel >= 1.2.0 |
7659a7e0 JR |
14 | BuildRequires: autoconf >= 2.63 |
15 | BuildRequires: automake | |
16 | BuildRequires: intltool | |
17 | BuildRequires: libtool | |
4379a039 | 18 | BuildRequires: libunique-devel |
7659a7e0 | 19 | BuildRequires: libxfce4ui-devel |
2e9d6ff5 | 20 | BuildRequires: pkgconfig |
4379a039 | 21 | BuildRequires: rpmbuild(macros) >= 1.601 |
90788a8b JR |
22 | BuildRequires: vala-xfconf >= 4.16.0 |
23 | BuildRequires: vala-xfce4-panel >= 4.16.0 | |
4379a039 MB |
24 | BuildRequires: xfce4-dev-tools >= 4.8.0 |
25 | BuildRequires: xfce4-panel-devel >= 4.8.0 | |
26 | BuildRequires: xfconf-devel >= 4.8.0 | |
27 | Requires: gtk-update-icon-cache | |
28 | Requires: hicolor-icon-theme | |
29 | Requires: xfce4-panel >= 4.8.0 | |
6f570b59 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
fbe59eba MC |
33 | xfce4-notes is a plugin for the Xfce panel which provides a simple |
34 | system for managing sticky notes on your desktop. | |
35 | ||
4f9aafa6 JR |
36 | %description -l pl.UTF-8 |
37 | xfce4-notes jest wtyczką dla panelu Xfce pozwalającą na umieszczanie | |
6f570b59 | 38 | notatek na pulpicie. |
39 | ||
40 | %prep | |
fbe59eba | 41 | %setup -q |
7659a7e0 | 42 | %patch0 -p1 |
90788a8b JR |
43 | %patch1 -p1 |
44 | ||
45 | %{__rm} lib/ext-gdk.* lib/popup.* lib/theme-gtkrc.* src/xfce4-popup-notes.* | |
6f570b59 | 46 | |
47 | %build | |
7659a7e0 JR |
48 | %{__intltoolize} |
49 | %{__libtoolize} | |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
e211ec58 | 54 | %configure \ |
90788a8b | 55 | --enable-maintainer-mode \ |
4379a039 | 56 | --disable-silent-rules \ |
e211ec58 | 57 | --disable-static |
fbe59eba | 58 | |
f127655c | 59 | %{__make} |
6f570b59 | 60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
53ebc04a | 67 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
4379a039 MB |
68 | |
69 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK | |
be970bb8 | 70 | |
5418512b | 71 | %find_lang %{name} |
e211ec58 | 72 | |
6f570b59 | 73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
5418512b MB |
76 | %post |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %postun | |
80 | %update_icon_cache hicolor | |
81 | ||
82 | %files -f %{name}.lang | |
6f570b59 | 83 | %defattr(644,root,root,755) |
4379a039 | 84 | %doc AUTHORS ChangeLog NEWS README |
50ab63af JR |
85 | %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop |
86 | %attr(755,root,root) %{_bindir}/xfce4-notes | |
5418512b | 87 | %attr(755,root,root) %{_bindir}/xfce4-popup-notes |
50ab63af | 88 | %attr(755,root,root) %{_bindir}/xfce4-notes-settings |
53ebc04a | 89 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libnotes.so* |
4379a039 | 90 | %{_datadir}/xfce4-notes-plugin |
90788a8b | 91 | %{_datadir}/xfce4/panel/plugins/xfce4-notes-plugin.desktop |
5418512b | 92 | %{_iconsdir}/hicolor/*/apps/*.* |
50ab63af | 93 | %{_desktopdir}/xfce4-notes.desktop |