]> git.pld-linux.org Git - packages/xfce4-panel.git/blob - xfce4-panel.spec
- added
[packages/xfce4-panel.git] / xfce4-panel.spec
1 #
2 # TODO:
3 # - check the icon & the desktop file
4 Summary:        Next generation panel for Xfce
5 Summary(pl):    Panel nowej generacji dla Xfce
6 Name:           xfce4-panel
7 Version:        4.2.1.1
8 Release:        2
9 License:        GPL v2
10 Group:          X11/Applications
11 Source0:        http://www.us.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.gz
12 # Source0-md5:  93986465cd92a9f32de60a44718a249e
13 Patch0:         %{name}-locale-names.patch
14 URL:            http://www.xfce.org/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  intltool
18 BuildRequires:  libtool
19 BuildRequires:  libxfce4mcs-devel >= 4.2.1
20 BuildRequires:  libxfcegui4-devel >= 4.2.1
21 BuildRequires:  libxml2-devel >= 2.4.0
22 BuildRequires:  libxslt-progs
23 BuildRequires:  pkgconfig >= 1:0.9.0
24 BuildRequires:  xfce-mcs-manager-devel >= 4.2.1
25 Requires:       hicolor-icon-theme
26 Requires:       libxfce4mcs >= 4.2.1
27 Requires:       libxfcegui4 >= 4.2.1
28 Requires:       xfce4-icon-theme
29 Requires:       xfce-mcs-manager >= 4.2.1
30 Obsoletes:      xfce4-themes
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 xfce4-panel is the panel for the Xfce desktop environment.
35
36 %description -l pl
37 xfce4-panel to panel dla ¶rodowiska Xfce.
38
39 %package devel
40 Summary:        Header files for building Xfce panel plugins
41 Summary(pl):    Pliki nag³ówkowe do budowania wtyczek panelu Xfce
42 Group:          Development/Libraries
43 Requires:       libxfcegui4-devel >= 4.2.1
44 Requires:       libxml2-devel >= 2.4.0
45 # doesn't require base
46
47 %description devel
48 Header files for building Xfce panel plugins.
49
50 %description devel -l pl
51 Pliki nag³ówkowe do budowania wtyczek panelu Xfce.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 mv -f po/{nb_NO,nb}.po
58 mv -f po/{pt_PT,pt}.po
59
60 %build
61 glib-gettextize --copy --force
62 intltoolize --copy --force
63 %{__libtoolize}
64 %{__aclocal} -I m4
65 %{__autoheader}
66 %{__automake}
67 %{__autoconf}
68 %configure
69
70 %{__make}
71 %{__make} html
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/{mcs-plugins,panel-plugins}/*.la
80
81 %find_lang %{name}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog README TODO
89 %attr(755,root,root) %{_bindir}/*
90
91 %dir %{_sysconfdir}/xdg/xfce4/panel
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml
93 %lang(ar) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ar
94 %lang(az) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.az
95 %lang(ca) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ca
96 %lang(da) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.da
97 %lang(eu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.eu
98 %lang(fi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.fi
99 %lang(fr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.fr
100 %lang(he) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.he
101 %lang(hu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.hu
102 %lang(it) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.it
103 %lang(ja) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ja
104 %lang(ko) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ko
105 %lang(lt) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.lt
106 %lang(ms) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ms
107 %lang(nl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.nl
108 %lang(ro) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ro
109 %lang(ru) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.ru
110 %lang(sk) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.sk
111 %lang(tr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.tr
112 %lang(vi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.vi
113 %lang(zh_CN) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.zh_CN
114 %lang(zh_TW) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xdg/xfce4/panel/contents.xml.zh_TW
115
116 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
117 %dir %{_libdir}/xfce4/panel-plugins
118 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
119
120 %{_iconsdir}/hicolor/48x48/apps/xfce-mail.png
121 %{_desktopdir}/*.desktop
122 %{_iconsdir}/hicolor/*/*/*
123
124 %docdir %{_datadir}/xfce4/doc
125 %{_datadir}/xfce4/doc/C/*.html
126 %{_datadir}/xfce4/doc/C/images/*.png
127
128 %files devel
129 %defattr(644,root,root,755)
130 %{_includedir}/xfce4/panel
131 %{_pkgconfigdir}/*.pc
This page took 0.05251 seconds and 3 git commands to generate.