]> git.pld-linux.org Git - packages/PerlPanel.git/blobdiff - PerlPanel.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/PerlPanel.git] / PerlPanel.spec
index 99623394e91df8ebc7b7dbae257f0f492e974d4b..429b337b92344aacae20dc9c56aa61dec6ee0159 100644 (file)
@@ -1,18 +1,20 @@
 #
-# TODO: split themes into subpkgs
+# 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
+Summary(pl.UTF-8):     Panel napisany w Perlu
 Name:          PerlPanel
-Version:       0.8.0
+Version:       0.9.1
 Release:       0.1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://jodrell.net/files/perlpanel/%{name}-%{version}.tar.gz
-# Source0-md5: b70fd6840305ea9aac33f478e42a72b2
-Patch0:                %{name}-DESTDIR.patch
+Source0:       http://jodrell.net/files/perlpanel/dist/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 4ed35b89add1cb3c67f1d2cab6780ef7
 URL:           http://jodrell.net/projects/perlpanel/
+BuildRequires: perl-Locale-gettext
+BuildRequires: perl-XML-Simple
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 Requires:      hicolor-icon-theme
@@ -26,27 +28,24 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 PerlPanel is an attempt to build a useable, lean panel program (like
 GNOME's gnome-panel and KDE's Kicker) in Perl, using Gtk2.
 
-%description -l pl
-PerlPanel jest prób± stworzenia ³atwego w u¿yciu, lekkiego panela
-(podobnego do panela GNOME i Kickera z KDE) w Perlu, przy u¿yciu Gtk2.
+%description -l pl.UTF-8
+PerlPanel jest próbą stworzenia łatwego w użyciu, lekkiego panela
+(podobnego do panela GNOME i Kickera z KDE) w Perlu, przy użyciu Gtk2.
 
 %prep
 %setup -q
-%patch0 -p1
-%{__perl} -pi -e 's/TrayManager/TrayIcon/g' lib/PerlPanel/Applet/NotificationArea.pm
 
 %build
 %{__make} \
        PREFIX=%{_prefix}
-       
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       PREFIX=%{_prefix} \
-       CONFDIR=%{_sysconfdir}
-       
+       PREFIX=%{_prefix}
+
 %find_lang %{name} --all-name
 
 %clean
@@ -56,7 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog doc/README
 %attr(755,root,root) %{_bindir}/*
-%config %{_sysconfdir}/*
 %{_libdir}/perlpanel
 %{_datadir}/perlpanel
 %{_iconsdir}/Bluecurve/48x48/apps/*
This page took 0.03365 seconds and 4 git commands to generate.