]>
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 |
c257601d | 4 | Version: 1.6.0 |
4391efc5 | 5 | Release: 1 |
6f570b59 | 6 | License: GPL |
c113864c | 7 | Group: X11/Applications |
5418512b | 8 | Source0: http://goodies.xfce.org/releases/xfce4-notes-plugin/%{name}-%{version}.tar.bz2 |
c257601d MB |
9 | # Source0-md5: 979e3bce856ab217e7cfad14bd50cc26 |
10 | Patch0: %{name}-locale-names.patch | |
5418512b | 11 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin |
1c362223 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
c257601d | 14 | BuildRequires: intltool |
2e9d6ff5 | 15 | BuildRequires: pkgconfig |
5418512b MB |
16 | BuildRequires: rpmbuild(macros) >= 1.311 |
17 | BuildRequires: xfce4-dev-tools >= 4.4.0 | |
18 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
19 | Requires(post,postun): gtk+2 | |
20 | Requires(post,postun): hicolor-icon-theme | |
21 | Requires: xfce4-panel >= 4.4.0 | |
6f570b59 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
fbe59eba MC |
25 | xfce4-notes is a plugin for the Xfce panel which provides a simple |
26 | system for managing sticky notes on your desktop. | |
27 | ||
4f9aafa6 JR |
28 | %description -l pl.UTF-8 |
29 | xfce4-notes jest wtyczką dla panelu Xfce pozwalającą na umieszczanie | |
6f570b59 | 30 | notatek na pulpicie. |
31 | ||
32 | %prep | |
fbe59eba | 33 | %setup -q |
c257601d MB |
34 | %patch0 -p1 |
35 | ||
36 | mv -f po/{nb_NO,nb}.po | |
37 | mv -f po/{pt_PT,pt}.po | |
6f570b59 | 38 | |
39 | %build | |
c257601d | 40 | %{__intltoolize} |
5418512b | 41 | %{__aclocal} |
f127655c | 42 | %{__autoconf} |
43 | %{__autoheader} | |
44 | %{__automake} | |
e211ec58 KK |
45 | %configure \ |
46 | --disable-static | |
fbe59eba | 47 | |
f127655c | 48 | %{__make} |
6f570b59 | 49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
5418512b | 56 | %find_lang %{name} |
e211ec58 | 57 | |
6f570b59 | 58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
5418512b MB |
61 | %post |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_icon_cache hicolor | |
66 | ||
67 | %files -f %{name}.lang | |
6f570b59 | 68 | %defattr(644,root,root,755) |
5418512b MB |
69 | %doc AUTHORS ChangeLog NEWS README TODO |
70 | %attr(755,root,root) %{_bindir}/xfce4-popup-notes | |
71 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-notes-plugin | |
72 | %{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin.desktop | |
73 | %{_iconsdir}/hicolor/*/apps/*.* |