1 | Name: xfce4-notes-plugin |
---|
2 | Summary: Memo plugin for the Xfce4 panel |
---|
3 | Summary(ja): Xfce パネル用 メモプラグイン |
---|
4 | Version: 1.7.7 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: User Interface/Desktops |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://goodies.xfce.org/projects/panel-plugins/%{name} |
---|
10 | |
---|
11 | Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.7/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: libxfce4util-devel >= 4.4.0 |
---|
16 | BuildRequires: libxfce4ui-devel >= 4.4.0 |
---|
17 | BuildRequires: libxfcegui4-devel >= 4.4.0 |
---|
18 | BuildRequires: xfce4-panel-devel >= 4.4.0 |
---|
19 | BuildRequires: xfconf-devel >= 4.6.0 |
---|
20 | BuildRequires: unique-devel >= 1.0.0 |
---|
21 | |
---|
22 | Requires(post,postun): desktop-file-utils |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi |
---|
27 | |
---|
28 | |
---|
29 | %description |
---|
30 | The notes plugin provides you a quick way to write down a todo list, |
---|
31 | to paste a piece of code, to leave a note to your friend, or whatever |
---|
32 | else you had like to do with a post'it. |
---|
33 | |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --disable-static |
---|
40 | make %{?_smp_mflags} |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
45 | |
---|
46 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
47 | |
---|
48 | %find_lang %{name} |
---|
49 | |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | |
---|
55 | %post |
---|
56 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
57 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
58 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
59 | |
---|
60 | %postun |
---|
61 | if [ $1 -eq 0 ]; then |
---|
62 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
63 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
64 | fi |
---|
65 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
66 | |
---|
67 | |
---|
68 | %files -f %{name}.lang |
---|
69 | %defattr(-,root,root) |
---|
70 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
71 | %config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop |
---|
72 | %{_bindir}/xfce4-notes |
---|
73 | %{_bindir}/xfce4-notes-settings |
---|
74 | %{_bindir}/xfce4-popup-notes |
---|
75 | %{_libdir}/xfce4/panel-plugins/libnotes.so* |
---|
76 | %{_datadir}/applications/xfce4-notes.desktop |
---|
77 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
78 | %{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop |
---|
79 | %{_datadir}/%{name} |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|