]> git.pld-linux.org Git - packages/xfdesktop.git/blob - xfdesktop.spec
- added locale-names patch, rename no->nb
[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.5
5 Release:        3
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:  eef02de6de0ac2b8343f4ce2c2f8cf12
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:  pkgconfig >= 0.9.0
21 BuildRequires:  xfce-mcs-manager-devel >= %{version}
22 Requires(post): vfmg >= 0.9.16-2
23 Requires:       libxfce4mcs >= %{version}
24 Requires:       libxfcegui4 >= %{version}
25 Requires:       vfmg > 0.9.16-2
26 Requires:       xfce-mcs-manager >= %{version}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 xfdesktop contain a desktop manager for the XFce Desktop Environment.
31
32 %description -l pl
33 xfdesktop zawiera zarz±dcê pulpitu dla ¶rodowiska XFce.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 mv -f po/{no,nb}.po
41
42 %build
43 glib-gettextize --copy --force
44 intltoolize --copy --force
45 %{__libtoolize}
46 %{__aclocal} -I m4
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 touch $RPM_BUILD_ROOT%{_sysconfdir}/xfce4/menu2.xml
61 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 vfmg -i -f -x -c -u xfce4 > %{_sysconfdir}/xfce4/menu2.xml 2>/dev/null
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README TODO
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
76 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml
77 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu2.xml
78 %lang(az) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.az
79 %lang(ca) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ca
80 %lang(de) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.de
81 %lang(fr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.fr
82 %lang(hu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.hu
83 %lang(it) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.it
84 %lang(nl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.nl
85 %lang(pl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.pl
86 %lang(ta) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ta
87 %lang(tr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.tr
88 %lang(vi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.vi
89 %lang(zh_CN) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_CN
90 %lang(zh_TW) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_TW
91 %{_datadir}/xfce4/backdrops
92 %docdir %{_datadir}/xfce4/doc
93 %{_datadir}/xfce4/doc/C/*.html
94 %{_datadir}/xfce4/doc/C/images/*
95 # these dirs to be moved to more common xfce package?
96 %lang(fr) %dir %{_datadir}/xfce4/doc/fr
97 %lang(fr) %dir %{_datadir}/xfce4/doc/fr/images
98 %lang(fr) %{_datadir}/xfce4/doc/fr/*.html
99 %lang(fr) %{_datadir}/xfce4/doc/fr/images/*
This page took 0.119888 seconds and 4 git commands to generate.