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