/[packages]/cauldron/kdeadmin4/current/SPECS/kdeadmin4.spec
ViewVC logotype

Contents of /cauldron/kdeadmin4/current/SPECS/kdeadmin4.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6964 - (show annotations) (download)
Wed Jan 12 03:53:55 2011 UTC (13 years, 3 months ago) by mikala
File size: 4996 byte(s)
imported package kdeadmin4
1 %define with_printer_applet 1
2 %{?_with_printer_applet: %{expand: %%global with_printer_applet 1}}
3
4 %define branch 0
5 %{?_branch: %{expand: %%global branch 1}}
6
7 %if %branch
8 %define kde_snapshot svn1198704
9 %endif
10
11 Name: kdeadmin4
12 Version: 4.5.95
13 Epoch: 2
14 Summary: K Desktop Environment - Administrative Tools
15 Group: Graphical desktop/KDE
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17 URL: http://www.kde.org
18 %if %branch
19 Release: %mkrel -c %kde_snapshot 1
20 Source: ftp://ftp.kde.org/pub/kde/unstable/%version/src/kdeadmin-%version%kde_snapshot.tar.bz2
21 %else
22 Release: %mkrel 1
23 Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/kdeadmin-%version.tar.bz2
24 %endif
25 License: GPL
26 Requires: pciutils
27 BuildRequires: kdelibs4-devel
28 BuildRequires: kdepimlibs4-devel
29 BuildRequires: python-kde4-devel
30 BuildRequires: python-qt4
31 BuildRequires: python-devel
32 BuildRequires: python-cups
33 %if %with_printer_applet
34 BuildRequires: system-config-printer-libs
35 %else
36 BuildConflicts: system-config-printer-libs
37 %endif
38 Obsoletes: ksysv
39 Suggests: kcron
40 Suggests: kuser
41 Suggests: ksystemlog
42
43 %if %mdkversion >= 201000
44 Obsoletes: kdeadmin < 2:3.5.10-2
45 Obsoletes: kdeadmin-kpackage < 2:3.5.10-2
46 Obsoletes: kdeadmin-ksysv < 2:3.5.10-2
47 %endif
48
49 %description
50 The kdeadmin package contains packages that usually only a system
51 administrator might need:
52 - kcron
53 Editor for the cron command scheduler.
54 - kuser
55 An user manager.
56
57 %files
58 %defattr(-,root,root)
59 %doc README
60
61 #------------------------------------------------------------------------
62
63 %package -n kuser
64 Group: Graphical desktop/KDE
65 Summary: Users and groups manager
66 Provides: kuser4
67 Conflicts: kdeadmin4 < 2:4.0.1
68 Obsoletes: kde4-kuser < 2:4.0.68
69 Provides: kde4-kuser = %epoch:%version
70
71 %description -n kuser
72 Kuser is a tool to create, remove and modify user accounts and groups.
73
74 %files -n kuser
75 %defattr(-,root,root)
76 %_kde_bindir/kuser
77 %_kde_datadir/applications/kde4/kuser.desktop
78 %_kde_datadir/apps/kuser
79 %_kde_datadir/config.kcfg/kuser.kcfg
80 %_kde_docdir/*/*/kuser
81 %_kde_iconsdir/*/*/*/kuser*
82
83 #------------------------------------------------------------------------
84
85 %package -n kcron
86 Group: Graphical desktop/KDE
87 Summary: Graphical task scheduler
88 Provides: kcron4
89 Conflicts: kdeadmin4 < 2:4.0.1
90 Obsoletes: kde4-kcron < 2:4.0.68
91 Provides: kde4-kcron = %epoch:%version
92
93 %description -n kcron
94 Kcron is a graphical frontend to the cron system, used to schedule regular
95 tasks on a Unix system.
96
97 %files -n kcron
98 %defattr(-,root,root)
99 %_kde_datadir/kde4/services/kcm_cron.desktop
100 %_kde_libdir/kde4/kcm_cron.so
101 %_kde_docdir/*/*/kcron
102
103 #------------------------------------------------------------------------
104
105 %package -n ksystemlog
106 Group: Graphical desktop/KDE
107 Summary: System log viewer tool for KDE 4
108 Provides: ksystemlog4
109
110 %description -n ksystemlog
111 This program is developed for being used by beginner users,
112 which don't know how to find information about their Linux system,
113 and how the log files are in their computer.
114 But it is also designed for advanced users,
115 who want to quickly see problems occuring on their server.
116
117 KSystemLog has the following features :
118
119 - View all the main log of your system, by selecting them
120 directly in a menu
121 - Auto display new lines logged in bold
122 - Tabbed view to allow displaying several logs at the same time
123 - Saving in a file and copying to clipboard the selected log
124 lines are also implemented (and email to your friends)
125 - It can parse the following log files of your system :
126
127 - X.org (or Xfree) logs
128 - System logs (using the Syslog parser of KSystemLog)
129 - Kernel logs
130 - Daemons logs
131 - Cron logs
132 - Boot logs
133 - Authentication logs
134 - Cups logs
135 - ACPID logs
136
137 %files -n ksystemlog
138 %defattr(-,root,root)
139 %_kde_bindir/ksystemlog
140 %_kde_appsdir/ksystemlog
141 %_kde_datadir/applications/kde4/ksystemlog.desktop
142 %_kde_docdir/*/*/ksystemlog
143
144 #------------------------------------------------------------------------
145
146 %if %with_printer_applet
147 %package -n system-config-printer-kde
148 Summary: View current print jobs and configure new printers
149 Group: Graphical desktop/KDE
150 URL: http://utils.kde.org/projects/printer-applet
151 Requires: python-kde4 >= 1:4.1.0
152 Requires: python-cups
153 Requires: python-dbus
154 Requires: printer-applet
155
156 %description -n system-config-printer-kde
157 Printer Applet is a system tray utility that shows current print jobs,
158 shows printer warnings and errors and shows when printers that have
159 been plugged in for the first time are being auto-configured by
160 hal-cups-utils.
161
162 %files -n system-config-printer-kde
163 %defattr(-,root,root)
164 %_kde_datadir/kde4/services/system-config-printer-kde.desktop
165 %_kde_appsdir/system-config-printer-kde
166 %endif
167 #------------------------------------------------------------------------
168
169 %prep
170 %if %branch
171 %setup -q -n kdeadmin-%version%kde_snapshot
172 %else
173 %setup -q -n kdeadmin-%version
174 %endif
175
176 %build
177 %cmake_kde4
178 %make
179
180 %install
181 rm -fr %buildroot
182 %makeinstall_std -C build
183
184 %clean
185 rm -fr %buildroot
186
187
188

  ViewVC Help
Powered by ViewVC 1.1.30