- from PLD
authorMarcin Krol <hawk@tld-linux.org>
Sun, 12 Jul 2015 10:47:21 +0000 (10:47 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 12 Jul 2015 10:47:21 +0000 (10:47 +0000)
lxpanel.spec [new file with mode: 0644]

diff --git a/lxpanel.spec b/lxpanel.spec
new file mode 100644 (file)
index 0000000..a1be880
--- /dev/null
@@ -0,0 +1,98 @@
+# TODO:  /etc/xdg/lxpanel - proper tags/flags etc.
+Summary:       LXPanel is a lightweight X11 desktop panel
+Name:          lxpanel
+Version:       0.7.0
+Release:       1
+License:       GPL v2
+Group:         X11/Applications
+Source0:       http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+# Source0-md5: 39698de2c5eda2837607762c9f522cd0
+URL:           http://wiki.lxde.org/en/LXPanel
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.12
+BuildRequires: alsa-lib-devel
+BuildRequires: gettext-tools
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: intltool
+BuildRequires: libiw-devel
+BuildRequires: libwnck2-devel
+BuildRequires: libtool
+BuildRequires: menu-cache-devel
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      lxmenu-data
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LXPanel is a lightweight X11 desktop panel.
+
+%package devel
+Summary:       Header files for lxpanel library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki lxpanel
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for lxpanel library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki lxpanel.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoheader}
+%{__libtoolize}
+%{__intltoolize}
+%{__automake}
+%{__autoconf}
+%configure
+%{__make} V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK,tt_RU}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/lxpanel
+%attr(755,root,root) %{_bindir}/lxpanelctl
+%dir %{_libdir}/lxpanel
+%dir %{_libdir}/lxpanel/plugins
+%attr(755,root,root) %{_libdir}/lxpanel/plugins/*.so
+%{_mandir}/man1/lxpanel.1*
+%{_mandir}/man1/lxpanelctl.1*
+
+%dir %{_datadir}/lxpanel
+##%{_datadir}/lxpanel/profile
+%{_datadir}/lxpanel/ui
+
+%dir %{_datadir}/lxpanel/images
+%{_datadir}/lxpanel/images/*.png
+
+%dir %{_datadir}/lxpanel/images/xkb-flags
+# TODO: lang tags here
+%{_datadir}/lxpanel/images/xkb-flags/*.png
+
+%dir %{_datadir}/lxpanel/xkeyboardconfig
+%{_datadir}/lxpanel/xkeyboardconfig/*.cfg
+
+%{_sysconfdir}/xdg/lxpanel
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{_includedir}/lxpanel
+%{_includedir}/lxpanel/*.h
+%{_pkgconfigdir}/lxpanel.pc