]> git.pld-linux.org Git - packages/PerlPanel.git/blob - PerlPanel.spec
- updated Source URL
[packages/PerlPanel.git] / PerlPanel.spec
1 #
2 # TODO: split themes into subpkgs (low priority)
3 #       write perl-Gtk2-TrayManager.spec (high priority)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        Panel program written in Perl
7 Summary(pl):    Panel napisany w Perlu
8 Name:           PerlPanel
9 Version:        0.8.0
10 Release:        0.1
11 License:        GPL v2
12 Group:          X11/Applications
13 Source0:        http://jodrell.net/files/perlpanel/dist/%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5:  b70fd6840305ea9aac33f478e42a72b2
15 Patch0:         %{name}-DESTDIR.patch
16 URL:            http://jodrell.net/projects/perlpanel/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 Requires:       hicolor-icon-theme
20 Requires:       perl-Glib >= 1.031
21 Requires:       perl-Gtk2 >= 1.031
22 Requires:       perl-XML-Parser
23 Requires:       perl-XML-Simple
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 PerlPanel is an attempt to build a useable, lean panel program (like
28 GNOME's gnome-panel and KDE's Kicker) in Perl, using Gtk2.
29
30 %description -l pl
31 PerlPanel jest prób± stworzenia ³atwego w u¿yciu, lekkiego panela
32 (podobnego do panela GNOME i Kickera z KDE) w Perlu, przy u¿yciu Gtk2.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__make} \
40         PREFIX=%{_prefix}
41         
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         PREFIX=%{_prefix} \
48         CONFDIR=%{_sysconfdir}
49         
50 %find_lang %{name} --all-name
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc ChangeLog doc/README
58 %attr(755,root,root) %{_bindir}/*
59 %config %{_sysconfdir}/*
60 %{_libdir}/perlpanel
61 %{_datadir}/perlpanel
62 %{_iconsdir}/Bluecurve/48x48/apps/*
63 %{_iconsdir}/hicolor/48x48/apps/*
64 %{_iconsdir}/crystalsvg/48x48/apps/*
65 %{_mandir}/man1/*
66 %{_mandir}/man3/*
This page took 0.039128 seconds and 3 git commands to generate.