]> git.pld-linux.org Git - packages/xfdesktop.git/blob - xfdesktop.spec
- updated to 4.0.6
[packages/xfdesktop.git] / xfdesktop.spec
1 Summary:        Desktop manager for the XFce Desktop Environment
2 Summary(pl):    Zarz±dca pulpitu dla ¶rodowiska XFce
3 Name:           xfdesktop
4 Version:        4.0.6
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 #Source0:       ftp://ftp.berlios.de/pub/xfce-goodies/%{version}/%{name}-%{version}.tar.gz
9 Source0:        http://hannelore.f1.fhtw-berlin.de/mirrors/xfce4/xfce-%{version}/src/%{name}-%{version}.tar.gz
10 # Source0-md5:  8f7a87ada82eaa60fb37998553787002
11 Patch0:         %{name}-menu.patch
12 Patch1:         %{name}-locale-names.patch
13 URL:            http://www.xfce.org/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  intltool
17 BuildRequires:  libtool
18 BuildRequires:  libxfce4mcs-devel >= %{version}
19 BuildRequires:  libxfcegui4-devel >= %{version}
20 BuildRequires:  libxml2-devel >= 2.4.0
21 BuildRequires:  pkgconfig >= 0.9.0
22 BuildRequires:  startup-notification-devel
23 BuildRequires:  xfce-mcs-manager-devel >= %{version}
24 Requires(post): vfmg >= 0.9.16-2
25 Requires:       libxfce4mcs >= %{version}
26 Requires:       libxfcegui4 >= %{version}
27 Requires:       libxml2 >= 2.4.0
28 Requires:       startup-notification
29 Requires:       vfmg > 0.9.16-2
30 Requires:       xfce-mcs-manager >= %{version}
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 xfdesktop contain a desktop manager for the XFce Desktop Environment.
35
36 %description -l pl
37 xfdesktop zawiera zarz±dcê pulpitu dla ¶rodowiska XFce.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43
44 mv -f po/{fa_IR,fa}.po
45 mv -f po/{no,nb}.po
46 mv -f po/{pt_PT,pt}.po
47
48 %build
49 glib-gettextize --copy --force
50 intltoolize --copy --force
51 %{__libtoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 touch $RPM_BUILD_ROOT%{_sysconfdir}/xfce4/menu2.xml
67 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 vfmg -i -f -x -c -u -m xfce4 > %{_sysconfdir}/xfce4/menu2.xml 2>/dev/null
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
82 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml
83 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu2.xml
84 %lang(az) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.az
85 %lang(ca) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ca
86 %lang(de) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.de
87 %lang(fr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.fr
88 %lang(hu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.hu
89 %lang(it) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.it
90 %lang(nl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.nl
91 %lang(pl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.pl
92 %lang(ta) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ta
93 %lang(tr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.tr
94 %lang(vi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.vi
95 %lang(zh_CN) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_CN
96 %lang(zh_TW) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_TW
97 %{_datadir}/xfce4/backdrops
98 %docdir %{_datadir}/xfce4/doc
99 %{_datadir}/xfce4/doc/C/*.html
100 %{_datadir}/xfce4/doc/C/images/*
101 %lang(fr) %{_datadir}/xfce4/doc/fr/*.html
102 %lang(fr) %{_datadir}/xfce4/doc/fr/images/*
This page took 0.09364 seconds and 4 git commands to generate.