]> git.pld-linux.org Git - packages/xfce4-panel.git/blob - xfce4-panel.spec
- updated to 4.4.0
[packages/xfce4-panel.git] / xfce4-panel.spec
1 Summary:        Next generation panel for Xfce
2 Summary(pl):    Panel nowej generacji dla Xfce
3 Name:           xfce4-panel
4 Version:        4.4.0
5 Release:        1
6 License:        GPL v2, LGPL v2
7 Group:          X11/Applications
8 Source0:        http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c46925d2df393dba8f16979ba87d4776
10 Patch0:         %{name}-locale-names.patch
11 URL:            http://www.xfce.org/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  docbook-style-xsl
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk-doc-automake
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  libxfce4mcs-devel >= %{version}
21 BuildRequires:  libxfcegui4-devel >= %{version}
22 BuildRequires:  libxml2-devel >= 1:2.6.26
23 BuildRequires:  libxslt-progs
24 BuildRequires:  pkgconfig >= 1:0.9.0
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  xfce-mcs-manager-devel >= %{version}
27 BuildRequires:  xfce4-dev-tools >= %{version}
28 Requires:       %{name}-libs = %{version}-%{release}
29 Requires(post,postun):  gtk+2
30 Requires(post,postun):  hicolor-icon-theme
31 Requires:       xfce-mcs-manager >= %{version}
32 Requires:       xfce4-icon-theme
33 Obsoletes:      xfce4-systray
34 Obsoletes:      xfce4-themes
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 xfce4-panel is the panel for the Xfce desktop environment.
39
40 %description -l pl
41 xfce4-panel to panel dla ¶rodowiska Xfce.
42
43 %package apidocs
44 Summary:        Xfce panel API documentation
45 Summary(pl):    Dokumentacja API panelu Xfce
46 Group:          Documentation
47 Requires:       gtk-doc-common
48
49 %description apidocs
50 Xfce panel API documentation.
51
52 %description apidocs -l pl
53 Dokumentacja API panelu Xfce.
54
55 %package libs
56 Summary:        xfce4panel library
57 Summary(pl):    Biblioteka xfce4panel
58 Group:          Development/Libraries
59
60 %description libs
61 This package contains xfce4panel library.
62
63 %description libs -l pl
64 Pakiet ten zawiera bibliotekê xfce4panel.
65
66 %package devel
67 Summary:        Header files for building Xfce panel plugins
68 Summary(pl):    Pliki nag³ówkowe do budowania wtyczek panelu Xfce
69 Group:          Development/Libraries
70 Requires:       %{name}-libs = %{version}-%{release}
71 Requires:       libxfcegui4-devel >= %{version}
72 Requires:       libxml2-devel >= 1:2.6.26
73
74 %description devel
75 Header files for building Xfce panel plugins.
76
77 %description devel -l pl
78 Pliki nag³ówkowe do budowania wtyczek panelu Xfce.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83
84 mv -f po/{nb_NO,nb}.po
85 mv -f po/{pt_PT,pt}.po
86
87 %build
88 %{__glib_gettextize}
89 %{__intltoolize}
90 %{__libtoolize}
91 %{__aclocal}
92 %{__autoheader}
93 %{__automake}
94 %{__autoconf}
95 %configure \
96         --enable-gtk-doc \
97         --enable-startup-notification \
98         --with-html-dir=%{_gtkdocdir}
99
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 rm -f $RPM_BUILD_ROOT%{_libdir}/{,xfce4/{mcs-plugins,panel-plugins}}/*.la
109
110 %find_lang %{name}
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post
116 %update_icon_cache hicolor
117
118 %postun
119 %update_icon_cache hicolor
120
121 %post   libs -p /sbin/ldconfig
122 %postun libs -p /sbin/ldconfig
123
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog HACKING NEWS README README.Kiosk README.Plugins
127 %attr(755,root,root) %{_bindir}/*
128
129 %dir %{_sysconfdir}/xdg/xfce4/panel
130 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/clock-14.rc
131 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-7.rc
132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-8.rc
133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-9.rc
134 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-10.rc
135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/panels.xml
136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/systray-4.rc
137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/xfce4-menu-5.rc
138 %dir %{_libdir}/xfce4/panel-plugins
139 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
140 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
141 %{_datadir}/xfce4/panel-plugins
142 %{_iconsdir}/hicolor/*/*/*
143 %{_desktopdir}/*.desktop
144
145 %{_datadir}/xfce4/doc/C/*
146 %docdir %{_datadir}/xfce4/doc
147
148 %files apidocs
149 %defattr(644,root,root,755)
150 %{_gtkdocdir}/libxfce4panel
151
152 %files libs
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libxfce4panel.so.*.*
155
156 %files devel
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/libxfce4panel.so
159 %{_includedir}/xfce4/libxfce4panel
160 %{_pkgconfigdir}/*.pc
This page took 0.058451 seconds and 3 git commands to generate.