]> git.pld-linux.org Git - SPECS.git/blob - pirut.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / pirut.spec
1 Summary:        Package Installation, Removal and Update Tools
2 Summary(pl.UTF-8):      Narzędzia do instalowania, usuwania i uaktualniania pakietów
3 Name:           pirut
4 Version:        1.3.31
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://pkgs.fedoraproject.org/repo/pkgs/pirut/%{name}-%{version}.tar.gz/c6994f02627834c374f0855540850cd7/pirut-%{version}.tar.gz
9 # Source0-md5:  c6994f02627834c374f0855540850cd7
10 URL:            https://fedoraproject.org/wiki/Tools/pirut
11 Patch0:         %{name}-desktop.patch
12 Patch1:         %{name}-consolehelper.patch
13 BuildRequires:  gettext
14 BuildRequires:  intltool
15 BuildRequires:  python
16 Requires(post,postun):  desktop-file-utils >= 0.8
17 Requires:       comps-extras
18 Requires:       desktop-file-utils
19 Requires:       gtk-update-icon-cache
20 Requires:       python-dbus
21 Requires:       python-gnome-gconf
22 Requires:       python-iniparse
23 Requires:       python-pygtk-glade
24 Requires:       python-pygtk-glade
25 Requires:       python-pygtk-gtk >= 2.9.2
26 Requires:       python-pynotify
27 Requires:       rhpl
28 Requires:       shared-mime-info
29 Requires:       usermode
30 Requires:       yum >= 3.2.5-2
31 Obsoletes:      pup
32 Obsoletes:      redhat-config-packages
33 Obsoletes:      rhn-applet
34 Obsoletes:      system-config-packages
35 Obsoletes:      up2date-gnome
36 BuildArch:      noarch
37 BuildArch:      noarch
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 pirut (pronounced "pirate") provides a set of graphical tools for
42 managing software.
43
44 %description -l pl.UTF-8
45 pirut (wymawiane tak, jak angielskie słowo "pirate") to zbiór
46 graficznych narzędzi do zarządzania oprogramowaniem.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 %{__aclocal}
55 %{__automake}
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 # not using "consolehelper"
65 %{__rm} -r $RPM_BUILD_ROOT/etc/pam.d
66 %{__rm} -r $RPM_BUILD_ROOT/etc/security/console.apps
67
68 %find_lang %{name}
69 %py_postclean
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %update_desktop_database
76 %update_mime_database
77
78 %postun
79 %update_desktop_database
80 %update_mime_database
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc README NEWS AUTHORS
85 /etc/xdg/autostart/puplet.desktop
86 %attr(755,root,root) %{_sbindir}/pirut
87 %attr(755,root,root) %{_sbindir}/pup
88 %attr(755,root,root) %{_sbindir}/system-install-packages
89 %{py_sitescriptdir}/pirut
90 %{_datadir}/pirut
91 %{_desktopdir}/pirut.desktop
92 %{_desktopdir}/pup.desktop
93 %{_desktopdir}/system-install-packages.desktop
94 %attr(755,root,root) %{_bindir}/getproxy
95 %attr(755,root,root) %{_bindir}/puplet
96 %attr(755,root,root) %{_sbindir}/system-cdinstall-helper
97 %attr(755,root,root) %{_sbindir}/system-config-packages
98 %{_mandir}/man8/pirut.8*
99 %{_mandir}/man8/pup.8*
100 %{_mandir}/man8/puplet.8*
101 %{_mandir}/man8/system-cdinstall-helper.8*
102 %{_mandir}/man8/system-install-packages.8*
This page took 0.431712 seconds and 3 git commands to generate.