+#
+# TODO:
+# - spec! new R: perl(X11::FreeDesktop::DesktopEntry)
+# - split themes into subpkgs (low priority)
+#
%include /usr/lib/rpm/macros.perl
Summary: Panel program written in Perl
Summary(pl): Panel napisany w Perlu
Name: PerlPanel
-Version: 0.4.0
-Release: 1
+Version: 0.9.1
+Release: 0.1
License: GPL v2
Group: X11/Applications
-Source0: http://jodrell.net/files/%{name}-%{version}.tar.gz
-# Source0-md5: 706b3d2af9463d407321752689923484
+Source0: http://jodrell.net/files/perlpanel/dist/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 4ed35b89add1cb3c67f1d2cab6780ef7
URL: http://jodrell.net/projects/perlpanel/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-Locale-gettext
+BuildRequires: perl-XML-Simple
BuildRequires: rpm-perlprov >= 4.1-13
+Requires: hicolor-icon-theme
Requires: perl-Glib >= 1.031
Requires: perl-Gtk2 >= 1.031
Requires: perl-XML-Parser
%build
%{__make} \
- PREFIX=%{_prefix} \
+ PREFIX=%{_prefix}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
PREFIX=%{_prefix}
+
+%find_lang %{name} --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc ChangeLog doc/README
%attr(755,root,root) %{_bindir}/*
%{_libdir}/perlpanel
%{_datadir}/perlpanel
-%{_pixmapsdir}/*
+%{_iconsdir}/Bluecurve/48x48/apps/*
+%{_iconsdir}/hicolor/48x48/apps/*
+%{_iconsdir}/crystalsvg/48x48/apps/*
%{_mandir}/man1/*
%{_mandir}/man3/*