]> git.pld-linux.org Git - packages/xfdesktop.git/blob - xfdesktop.spec
- updated locale-names patch (fix fa,pt names); release 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.5
5 Release:        6
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/{fa_IR,fa}.po
41 mv -f po/{no,nb}.po
42 mv -f po/{pt_PT,pt}.po
43
44 %build
45 glib-gettextize --copy --force
46 intltoolize --copy --force
47 %{__libtoolize}
48 %{__aclocal} -I m4
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 touch $RPM_BUILD_ROOT%{_sysconfdir}/xfce4/menu2.xml
63 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 vfmg -i -f -x -c -u -m xfce4 > %{_sysconfdir}/xfce4/menu2.xml 2>/dev/null
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog README TODO
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
78 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml
79 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu2.xml
80 %lang(az) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.az
81 %lang(ca) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ca
82 %lang(de) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.de
83 %lang(fr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.fr
84 %lang(hu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.hu
85 %lang(it) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.it
86 %lang(nl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.nl
87 %lang(pl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.pl
88 %lang(ta) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ta
89 %lang(tr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.tr
90 %lang(vi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.vi
91 %lang(zh_CN) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_CN
92 %lang(zh_TW) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_TW
93 %{_datadir}/xfce4/backdrops
94 %docdir %{_datadir}/xfce4/doc
95 %{_datadir}/xfce4/doc/C/*.html
96 %{_datadir}/xfce4/doc/C/images/*
97 %lang(fr) %{_datadir}/xfce4/doc/fr/*.html
98 %lang(fr) %{_datadir}/xfce4/doc/fr/images/*
This page took 0.047218 seconds and 4 git commands to generate.