blob: 3bf54b510ab20d8ee2c218cfcee73f1eb5df7ad0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
# Changed by Makefile of cvs.
# Please change this file only in cvs!
%define version 1.2.2
%define name userdrake
Summary: A graphical interface for administering users and groups
Name: %{name}
Version: %{version}
Release: %mkrel 1
#cvs source
# http://www.mandrivalinux.com/en/cvs.php3
Source0: %{name}-%{version}.tar.bz2
URL: http://people.mandriva.com/~daouda/mandrake/userdrake.html
License: GPL
Packager: Daouda Lo <daouda@mandriva.com>
Group: System/Configuration/Other
Requires: drakxtools >= 9.2-0.15mdk, perl-Gtk2 >= 0.26.cvs.2003.07.09.1-2mdk, libuser >= 0.51.7-5mdk
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: gettext perl-devel libuser-devel libglib2.0-devel pam-devel
%description
Userdrake is a user-friendly and powerful tool for administrating users and
groups. It depends on the libuser library.
%prep
%setup -q
%build
cd USER
%{__perl} Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS -w"
%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT install
cd USER
%makeinstall_std
cd ..
#install lang
%{find_lang} userdrake
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
?package(%{name}):\
needs="x11" \
icon="userdrake.png" \
section="Configuration/Other" \
title="User Administration" \
longtitle="Add or remove users and groups" \
command="/usr/sbin/userdrake"
EOF
%post
%{update_menus}
%postun
%{clean_menus}
%clean
rm -rf %{buildroot}
%files -f userdrake.lang
%defattr(-,root,root)
%doc README COPYING RELEASE_NOTES
%config(noreplace) %{_sysconfdir}/sysconfig/userdrake
%{_prefix}/bin/*
%{_prefix}/sbin/*
%{_datadir}/userdrake
%{_mandir}/man3/USER*
%{_menudir}/%{name}
%{perl_vendorarch}/USER.pm
%{perl_vendorarch}/auto/USER
%{_iconsdir}/*.png
%{_miconsdir}/*.png
%{_liconsdir}/*.png
%changelog
* Fri Mar 17 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.2.2-1mdk
- cleanups
- assume GECOS data is utf-8 encoded (#4296)
- sub dialogs:
o make them all really be dialogs
o center them on their parent window
o make them transcient to the main window
o add a 5px border around the window (better looking)
* Tue Mar 8 2005 Daouda LO <daouda@mandrakesoft.com> 1.2.1-2mdk
- wrap an eval around sensitive home deletion
- home deletion option grayed when deletion might be dangerous (#11453)
- do not use absolute path to Mdk icons (oblin)
- leak patch for extra safefree((char*)self) in XS file (Francois Desarmenien)
- i18n updates
* Mon Feb 21 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2.1-1mdk
- translation updates
* Wed Jan 26 2005 Daouda LO <daouda@mandrakesoft.com> 1.2-3mdk
- fix 'About' dialog crash
- cleanups
* Fri Jan 21 2005 Daouda LO <daouda@mandrakesoft.com> 1.2-2mdk
- main loop fixed
- rebuild against new perl (XS)
* Wed Jan 12 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-1mdk
- fix crash when embedded
- show banner when embedded
* Tue Nov 16 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1-4mdk
- rebuild for new perl
* Mon Oct 04 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.1-3mdk
- rebuild
* Mon Oct 04 2004 Pablo Saratxaga <pablo@mandrakesoft.com> 1.1-2mdk
- updated translations
* Mon Jul 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1-1mdk
- Daouda: restore mouse cursor in sub dialogs
- Olivier Blin:
o do not crash in Delete when user is in non-existing group (#10242)
o stop the add process if an error happened when adding a user
o do not die when removing a non existent directory, just warn (#10241)
o fix dialogs (#10246):
* do not quit the whole program on success,
* wait for the answer to really return the choice made by the user
o really handle the group choice made by the user
- Thierry Vignaud:
o get rid of stock icons
o fix button layouts in dialogs
o set window icon
* Wed May 26 2004 Daouda LO <daouda@mandrakesoft.com> 1.0-3mdk
- right mouse click on Treeview items to access menu (Edit, Delete)
- don't allow more than 16 char to be consistent with groupadd (tvignaud)
* Mon May 10 2004 Daouda LO <daouda@mandrakesoft.com> 1.0-2mdk
- use md5sum to find current face icon (Oliver Blin) - #9653
* Mon May 10 2004 Daouda LO <daouda@mandrakesoft.com> 1.0-1mdk
- bumped to 1.0 (stable enough)
- random icon display and icon browsing fixes #8085 - #9653 (Olivier
Blin)
* Thu Feb 26 2004 Daouda LO <daouda@mandrakesoft.com> 0.92-30mdk
- new pixmaps
- po updates
* Mon Feb 2 2004 Daouda LO <daouda@mandrakesoft.com> 0.92-29mdk
- Replace Option Menu by Combo box to choose shells manually
- reorder fullname and login entries
- Changes faces (jarillon request)
- revert LastBranch Menu
* Thu Jan 22 2004 Daouda LO <daouda@mandrakesoft.com> 0.92-28mdk
- Replace Option Menu by Combo box to choose shells manually
* Wed Jan 21 2004 Daouda LO <daouda@mandrakesoft.com> 0.92-27mdk
- rebuild for new POs
- add drakuser symlink
* Mon Dec 22 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-26mdk
- rebuild for new drakxtools due to latest rpm policy regarding perl
dependancies
* Fri Nov 28 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-25mdk
- spec cleanup
- fix userdrake removehome hangs
- perl checker compliance
- BuildRequires (Stephan)
* Wed Sep 17 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-24mdk
- fix crash when a user lost accidentally its primary group (Titi)
- fix long translation in french (#5696)
- po updates
* Fri Sep 12 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-22mdk
- fix unpredictable deselection of primary group when editing user (qateam)
- fix typo when adding group (Arpad Biro)
- po updates
- drakhelp new schema
- gtkset_mousecursor_normal() when adding/deleting user/group
* Mon Aug 25 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-21mdk
- fix explanation call (titi)
* Fri Aug 22 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-20mdk
- made it lib64 aware
- replaced truncated and blurred icons
* Wed Aug 20 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-19mdk
- add splash screen when starting userdrake
- Explanations
- cosmetics (about dialog)
* Tue Aug 19 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-18mdk
- add LN brand new icons
- add label to filter group widget (titi)
* Mon Aug 18 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-17mdk
- small changes to follow any.pm api (#4793).
- string fixes (Pablo and Co)
* Mon Aug 4 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-16mdk
- Release for beta2
o remove help from toolbar (UI team request)
o sort columns feature
o ask before removing group
* Mon Jul 28 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-15mdk
- feature add-ons:
o ask before removing user. Choices to delete HomeDir and Spool
mail file
o Choose icon to be displayed in kdm/mdkkdm when adding user
- Replace Combo boxes by Option Menu when Combo should'nt be editable.
* Fri Jul 25 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-14mdk
- fix crash happening when tree selection get lost (by refresh action)
and edit or delete button is activated (found by David Baudens)
* Thu Jul 17 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-13mdk
- change date format (YYYY/MM/DD)
- Use SpinButton to display date format (autoset with current date)
- Cosmetic changes (stock icons everywhere, fix a locale fr typo)
* Wed Jul 16 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-12mdk
- use stock icons in menus
* Tue Jul 15 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-11mdk
- still more stock items
* Mon Jul 14 2003 Per Řyvind Karlsen <peroyvind@sintrax.net> 0.92-10mdk
- buildrequires
* Thu Jul 10 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-9mdk
- use stock items
* Thu Jul 10 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-8mdk
- more gtk2-perl-xs port fixes
* Thu Jul 10 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-7mdk
- fix embedding in mcc
* Thu Jul 10 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-6mdk
- fix gtk2-perl-xs port
* Wed Jul 9 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.92-5mdk
- convert from gtk2-perl to gtk2-perl-xs
- stop reinventing the wheel: reuse existent infrastructure instead of
duplicating it
* Fri Jul 4 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-4mdk
- Status of user account (Locked or Expired) displayed in main window
- Keystroke features:
o Space bar and Enter key to select deselect user/group
o Enter Key to perform filtering
o Ctrl+Q to Quit (titi)
- sanity checks
* Tue Jul 1 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-3mdk
- include link in %%files
- disable warnings when releasing (debug purpose)
* Fri Jun 27 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-2mdk
- added POs.
- fixed set_active bug on undefined widget (italian and dutch locale): need testing.
- sanity check (users that don't belong to any group)
- Check the context before enumerating users (avoir die assertion in gtk)
- link %%_bindir/userdrake to %%_sbindir/userdrake (for normal users and drakconf)
- remove trailing rm -rf %%{buildroot} after %%setup (Per Oyvind)
* Mon Jun 23 2003 Daouda LO <daouda@mandrakesoft.com> 0.92-1mdk
- Rewriting of userdrake with many features (Check RELEASE_NOTES files)
- perl-Gtk2 port.
- Use of libuser facility through xs.
|