]> git.pld-linux.org Git - packages/xfce4-panel.git/blob - xfce4-panel.spec
- updated to 4.4.2
[packages/xfce4-panel.git] / xfce4-panel.spec
1 Summary:        Next generation panel for Xfce
2 Summary(pl.UTF-8):      Panel nowej generacji dla Xfce
3 Name:           xfce4-panel
4 Version:        4.4.2
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:  8f26b32c442bf9926f98f285a3c251dd
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 >= 4.4.0.1
28 Requires(post,postun):  gtk+2
29 Requires(post,postun):  hicolor-icon-theme
30 Requires:       %{name}-libs = %{version}-%{release}
31 Requires:       xfce-mcs-manager >= %{version}
32 Requires:       xfce4-icon-theme
33 Obsoletes:      xfce4-iconbox
34 Obsoletes:      xfce4-showdesktop-plugin
35 Obsoletes:      xfce4-systray
36 Obsoletes:      xfce4-taskbar-plugin
37 Obsoletes:      xfce4-themes
38 Obsoletes:      xfce4-windowlist-plugin
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 xfce4-panel is the panel for the Xfce desktop environment.
43
44 %description -l pl.UTF-8
45 xfce4-panel to panel dla środowiska Xfce.
46
47 %package apidocs
48 Summary:        Xfce panel API documentation
49 Summary(pl.UTF-8):      Dokumentacja API panelu Xfce
50 Group:          Documentation
51 Requires:       gtk-doc-common
52
53 %description apidocs
54 Xfce panel API documentation.
55
56 %description apidocs -l pl.UTF-8
57 Dokumentacja API panelu Xfce.
58
59 %package libs
60 Summary:        xfce4panel library
61 Summary(pl.UTF-8):      Biblioteka xfce4panel
62 Group:          Development/Libraries
63
64 %description libs
65 This package contains xfce4panel library.
66
67 %description libs -l pl.UTF-8
68 Pakiet ten zawiera bibliotekę xfce4panel.
69
70 %package devel
71 Summary:        Header files for building Xfce panel plugins
72 Summary(pl.UTF-8):      Pliki nagłówkowe do budowania wtyczek panelu Xfce
73 Group:          Development/Libraries
74 Requires:       %{name}-libs = %{version}-%{release}
75 Requires:       libxfcegui4-devel >= %{version}
76 Requires:       libxml2-devel >= 1:2.6.26
77
78 %description devel
79 Header files for building Xfce panel plugins.
80
81 %description devel -l pl.UTF-8
82 Pliki nagłówkowe do budowania wtyczek panelu Xfce.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87
88 mv -f po/{nb_NO,nb}.po
89 mv -f po/{pt_PT,pt}.po
90
91 %build
92 %{__glib_gettextize}
93 %{__intltoolize}
94 %{__libtoolize}
95 %{__aclocal}
96 %{__autoheader}
97 %{__automake}
98 %{__autoconf}
99 %configure \
100         --enable-gtk-doc \
101         --enable-startup-notification \
102         --with-html-dir=%{_gtkdocdir}
103
104 %{__make}
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT
111
112 rm -f $RPM_BUILD_ROOT%{_libdir}/{,xfce4/{mcs-plugins,panel-plugins}}/*.la
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %post
120 %update_icon_cache hicolor
121
122 %postun
123 %update_icon_cache hicolor
124
125 %post   libs -p /sbin/ldconfig
126 %postun libs -p /sbin/ldconfig
127
128 %files -f %{name}.lang
129 %defattr(644,root,root,755)
130 %doc AUTHORS ChangeLog HACKING NEWS README README.Kiosk README.Plugins
131 %attr(755,root,root) %{_bindir}/*
132
133 %dir %{_sysconfdir}/xdg/xfce4/panel
134 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/clock-14.rc
135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-7.rc
136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-8.rc
137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-9.rc
138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-10.rc
139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/panels.xml
140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/systray-4.rc
141 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/xfce4-menu-5.rc
142 %dir %{_libdir}/xfce4/panel-plugins
143 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
144 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
145 %{_datadir}/xfce4/panel-plugins
146 %{_iconsdir}/hicolor/*/*/*
147 %{_desktopdir}/*.desktop
148
149 %{_datadir}/xfce4/doc/C/*
150 %docdir %{_datadir}/xfce4/doc
151
152 %files apidocs
153 %defattr(644,root,root,755)
154 %{_gtkdocdir}/libxfce4panel
155
156 %files libs
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/libxfce4panel.so.*.*.*
159
160 %files devel
161 %defattr(644,root,root,755)
162 %attr(755,root,root) %{_libdir}/libxfce4panel.so
163 %{_includedir}/xfce4/libxfce4panel
164 %{_pkgconfigdir}/*.pc
This page took 0.055878 seconds and 3 git commands to generate.