]> TLD Linux GIT Repositories - packages/lxpanel.git/blob - lxpanel.spec
- from PLD
[packages/lxpanel.git] / lxpanel.spec
1 # TODO:  /etc/xdg/lxpanel - proper tags/flags etc.
2 Summary:        LXPanel is a lightweight X11 desktop panel
3 Name:           lxpanel
4 Version:        0.7.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
9 # Source0-md5:  39698de2c5eda2837607762c9f522cd0
10 URL:            http://wiki.lxde.org/en/LXPanel
11 BuildRequires:  autoconf
12 BuildRequires:  automake >= 1:1.12
13 BuildRequires:  alsa-lib-devel
14 BuildRequires:  gettext-tools
15 BuildRequires:  gtk+2-devel >= 2:2.12.0
16 BuildRequires:  intltool
17 BuildRequires:  libiw-devel
18 BuildRequires:  libwnck2-devel
19 BuildRequires:  libtool
20 BuildRequires:  menu-cache-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires:       lxmenu-data
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 LXPanel is a lightweight X11 desktop panel.
29
30 %package devel
31 Summary:        Header files for lxpanel library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki lxpanel
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for lxpanel library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki lxpanel.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__aclocal}
47 %{__autoheader}
48 %{__libtoolize}
49 %{__intltoolize}
50 %{__automake}
51 %{__autoconf}
52 %configure
53 %{__make} V=1
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK,tt_RU}
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS README
70 %attr(755,root,root) %{_bindir}/lxpanel
71 %attr(755,root,root) %{_bindir}/lxpanelctl
72 %dir %{_libdir}/lxpanel
73 %dir %{_libdir}/lxpanel/plugins
74 %attr(755,root,root) %{_libdir}/lxpanel/plugins/*.so
75 %{_mandir}/man1/lxpanel.1*
76 %{_mandir}/man1/lxpanelctl.1*
77
78 %dir %{_datadir}/lxpanel
79 ##%{_datadir}/lxpanel/profile
80 %{_datadir}/lxpanel/ui
81
82 %dir %{_datadir}/lxpanel/images
83 %{_datadir}/lxpanel/images/*.png
84
85 %dir %{_datadir}/lxpanel/images/xkb-flags
86 # TODO: lang tags here
87 %{_datadir}/lxpanel/images/xkb-flags/*.png
88
89 %dir %{_datadir}/lxpanel/xkeyboardconfig
90 %{_datadir}/lxpanel/xkeyboardconfig/*.cfg
91
92 %{_sysconfdir}/xdg/lxpanel
93
94 %files devel
95 %defattr(644,root,root,755)
96 %dir %{_includedir}/lxpanel
97 %{_includedir}/lxpanel/*.h
98 %{_pkgconfigdir}/lxpanel.pc