source: projects/specs/trunk/x/xfce4-notes-plugin/xfce4-notes-plugin-vl.spec @ 8073

Revision 8073, 2.3 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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