]> git.pld-linux.org Git - packages/xfce4-notes-plugin.git/blob - xfce4-notes-plugin.spec
- add updates from upstream git
[packages/xfce4-notes-plugin.git] / xfce4-notes-plugin.spec
1 Summary:        Notes plugin for the Xfce panel
2 Summary(pl.UTF-8):      Notatki dla panelu Xfce
3 Name:           xfce4-notes-plugin
4 Version:        1.8.1
5 Release:        5
6 License:        GPL
7 Group:          X11/Applications
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
11 Patch1:         git.patch
12 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
13 BuildRequires:  Thunar-devel >= 1.2.0
14 BuildRequires:  autoconf >= 2.63
15 BuildRequires:  automake
16 BuildRequires:  intltool
17 BuildRequires:  libtool
18 BuildRequires:  libunique-devel
19 BuildRequires:  libxfce4ui-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.601
22 BuildRequires:  vala-xfconf >= 4.16.0
23 BuildRequires:  vala-xfce4-panel >= 4.16.0
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
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 xfce4-notes is a plugin for the Xfce panel which provides a simple
34 system for managing sticky notes on your desktop.
35
36 %description -l pl.UTF-8
37 xfce4-notes jest wtyczką dla panelu Xfce pozwalającą na umieszczanie
38 notatek na pulpicie.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %{__rm} lib/ext-gdk.* lib/popup.* lib/theme-gtkrc.* src/xfce4-popup-notes.*
46
47 %build
48 %{__intltoolize}
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure \
55         --enable-maintainer-mode \
56         --disable-silent-rules \
57         --disable-static
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
68
69 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %update_icon_cache hicolor
78
79 %postun
80 %update_icon_cache hicolor
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop
86 %attr(755,root,root) %{_bindir}/xfce4-notes
87 %attr(755,root,root) %{_bindir}/xfce4-popup-notes
88 %attr(755,root,root) %{_bindir}/xfce4-notes-settings
89 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libnotes.so*
90 %{_datadir}/xfce4-notes-plugin
91 %{_datadir}/xfce4/panel/plugins/xfce4-notes-plugin.desktop
92 %{_iconsdir}/hicolor/*/apps/*.*
93 %{_desktopdir}/xfce4-notes.desktop
This page took 0.065835 seconds and 3 git commands to generate.