aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-spec-mode.el
blob: 9b2e9462bd7ba7ecb1f712f7da9938a92e6a6232 (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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
;;; rpm-spec-mode.el --- RPM spec file editing commands for Emacs/XEmacs


;; Copyright (C) 1997-2002 Stig Bjřrlykke, <stigb@tihlde.org>

;; Author:   Stig Bjřrlykke, <stigb@tihlde.org>
;; Keywords: unix, languages
;; Version:  0.12

;; This file is part of XEmacs.

;; XEmacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; XEmacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with XEmacs; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
;; MA 02111-1307, USA.

;;; Synched up with: not in GNU Emacs.

;;; Thanx to:

;;     Tore Olsen <toreo@tihlde.org> for some general fixes.
;;     Steve Sanbeg <sanbeg@dset.com> for navigation functions and
;;          some Emacs fixes.
;;     Tim Powers <timp@redhat.com> and Trond Eivind Glomsrřd
;;          <teg@redhat.com> for Red Hat adaptions and some fixes.
;;     Chmouel Boudjnah <chmouel@mandrakesoft.com> for Mandrake fixes.

;;; ToDo:

;; - rewrite function names.
;; - autofill changelog entries.
;; - customize rpm-tags-list and rpm-group-tags-list.
;; - get values from `rpm --showrc'.
;; - ssh/rsh for compile.
;; - finish integrating the new navigation functions in with existing stuff.
;; - use a single prefix consistently (internal)

;;; Commentary:

;; This mode is used for editing spec files used for building RPM packages.
;;
;; Most recent version is available from:
;;  <URL:http://www.tihlde.org/~stigb/rpm-spec-mode.el>
;;
;; Put this in your .emacs file to enable autoloading of rpm-spec-mode,
;; and auto-recognition of ".spec" files:
;;
;;  (autoload 'rpm-spec-mode "rpm-spec-mode.el" "RPM spec mode." t)
;;  (setq auto-mode-alist (append '(("\\.spec" . rpm-spec-mode))
;;                                auto-mode-alist))
;;------------------------------------------------------------
;;

;;; Code:
(require 'cl)

(defconst rpm-spec-mode-version "0.12" "Version of `rpm-spec-mode'.")

;Fix for GNU/Emacs
(if (not(featurep 'xemacs))
	(fset 'define-obsolete-variable-alias 'make-obsolete))

(defgroup rpm-spec nil
  "RPM spec mode with Emacs/XEmacs enhancements."
  :prefix "rpm-spec-"
  :group 'languages)

(defcustom rpm-spec-build-command "rpmbuild"
  "Command for building a RPM package."
  :type 'string
  :group 'rpm-spec)

(defcustom rpm-spec-add-attr nil
  "Add \"%attr\" entry for file listings or not."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-short-circuit nil
  "Skip straight to specified stage.
(ie, skip all stages leading up to the specified stage).  Only valid
in \"%build\" and \"%install\" stage."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-no-deps nil
  "Do not verify the dependencies."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-timecheck "0"
  "Set the \"timecheck\" age (0 to disable).
The timecheck value expresses, in seconds, the maximum age of a file
being packaged.  Warnings will be printed for all files beyond the
timecheck age."
  :type 'integer
  :group 'rpm-spec)

(defcustom rpm-spec-buildroot ""
  "Override the BuildRoot tag with directory <dir>."
  :type 'string
  :group 'rpm-spec)

(defcustom rpm-spec-target ""
  "Interpret given string as `arch-vendor-os'.
Set the macros _target, _target_arch and _target_os accordingly"
  :type 'string
  :group 'rpm-spec)

(define-obsolete-variable-alias
  'rpm-completion-ignore-case 'rpm-spec-completion-ignore-case)

(defcustom rpm-spec-completion-ignore-case t
  "*Non-nil means that case differences are ignored during completion.
A value of nil means that case is significant.
This is used during Tempo template completion."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-clean nil
  "Remove the build tree after the packages are made."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-rmsource nil
  "Remove the source and spec file after the packages are made."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-nobuild nil
  "Do not execute any build stages.  Useful for testing out spec files."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-sign-gpg nil
  "Embed a GPG signature in the package.
This signature can be used to verify the integrity and the origin of
the package."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-nodeps nil
  "Do not verify build dependencies."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-old-rpm nil
  "Set if using `rpm' as command for building packages."
  :type 'boolean
  :group 'rpm-spec)

(define-obsolete-variable-alias
  'rpm-initialize-sections 'rpm-spec-initialize-sections)

(defcustom rpm-spec-initialize-sections t
  "Automatically add empty section headings to new spec files."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-use-tabs nil
  "Use tabs instead of a space to indent tags."
  :type 'boolean
  :group 'rpm-spec)

(define-obsolete-variable-alias
  'rpm-insert-version 'rpm-spec-insert-changelog-version)

(defcustom rpm-spec-insert-changelog-version t
  "Automatically add version in a new change log entry."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-insert-changelog-version-with-shell t
  "Automatically add version with shell in a new change log entry."
  :type 'boolean
  :group 'rpm-spec)

(defcustom rpm-spec-user-full-name nil
  "*Full name of the user.
This is used in the change log and the Packager tag.  It defaults to the
value returned by function `user-full-name'."
  :type '(choice (const :tag "Use `user-full-name'" nil)
                 string)
  :group 'rpm-spec)

(defcustom rpm-spec-user-mail-address nil
  "*Email address of the user.
This is used in the change log and the Packager tag.  It defaults to the
value returned by function `user-mail-address'."
  :type '(choice (const :tag "Use `user-mail-address'" nil)
                 string)
  :group 'rpm-spec)

(defgroup rpm-spec-faces nil
  "Font lock faces for `rpm-spec-mode'."
  :group 'rpm-spec
  :group 'faces)

;;------------------------------------------------------------
;; variables used by navigation functions.

(defconst rpm-sections
  '("preamble" "description" "prep" "setup" "build" "install" "clean"
    "changelog" "files")
  "Partial list of section names.")
(defvar rpm-section-list
  '(("preamble") ("description") ("prep") ("setup") ("build") ("install")
    ("clean") ("changelog") ("files"))
  "Partial list of section names.")
(defconst rpm-scripts
  '("pre" "post" "preun" "postun"
    "trigger" "triggerin" "triggerun" "triggerpostun")
  "List of rpm scripts.")
(defconst rpm-section-seperate "^%\\(\\w+\\)\\s-")
(defconst rpm-section-regexp
  (eval-when-compile
    (concat "^%"
            (regexp-opt
             ;; From RPM 4.1 sources, file build/parseSpec.c: partList[].
             '("build" "changelog" "clean" "description" "files" "install"
               "package" "post" "postun" "pre" "prep" "preun" "trigger"
               "triggerin" "triggerpostun" "triggerun" "verifyscript") t)
            "\\b"))
  "Regular expression to match beginning of a section.")

;;------------------------------------------------------------

(defface rpm-spec-tag-face
  '(( ((class color) (background light)) (:foreground "blue") )
    ( ((class color) (background dark)) (:foreground "blue") ))
  "*The face used for tags."
  :group 'rpm-spec-faces)

(defface rpm-spec-macro-face
  '(( ((class color) (background light)) (:foreground "purple") )
    ( ((class color) (background dark)) (:foreground "yellow") ))
  "*The face used for macros."
  :group 'rpm-spec-faces)

(defface rpm-spec-var-face
  '(( ((class color) (background light)) (:foreground "maroon") )
    ( ((class color) (background dark)) (:foreground "maroon") ))
  "*The face used for environment variables."
  :group 'rpm-spec-faces)

(defface rpm-spec-doc-face
  '(( ((class color) (background light)) (:foreground "magenta") )
    ( ((class color) (background dark)) (:foreground "magenta") ))
  "*The face used for document files."
  :group 'rpm-spec-faces)

(defface rpm-spec-dir-face
  '(( ((class color) (background light)) (:foreground "green") )
    ( ((class color) (background dark)) (:foreground "green") ))
  "*The face used for directories."
  :group 'rpm-spec-faces)

(defface rpm-spec-package-face
  '(( ((class color) (background light)) (:foreground "red") )
    ( ((class color) (background dark)) (:foreground "red") ))
  "*The face used for files."
  :group 'rpm-spec-faces)

(defface rpm-spec-ghost-face
  '(( ((class color) (background light)) (:foreground "red") )
    ( ((class color) (background dark)) (:foreground "red") ))
  "*The face used for ghost tags."
  :group 'rpm-spec-faces)

;;; GNU emacs font-lock needs these...
(defvar rpm-spec-macro-face
  'rpm-spec-macro-face "*Face for macros.")
(defvar rpm-spec-var-face
  'rpm-spec-var-face "*Face for environment variables.")
(defvar rpm-spec-tag-face
  'rpm-spec-tag-face "*Face for tags.")
(defvar rpm-spec-package-face
  'rpm-spec-package-face "*Face for package tag.")
(defvar rpm-spec-dir-face
  'rpm-spec-dir-face "*Face for directory entries.")
(defvar rpm-spec-doc-face
  'rpm-spec-doc-face "*Face for documentation entries.")
(defvar rpm-spec-ghost-face
  'rpm-spec-ghost-face "*Face for \"%ghost\" files.")

(defvar rpm-default-umask "-"
  "*Default umask for files, specified with \"%attr\".")
(defvar rpm-default-owner "root"
  "*Default owner for files, specified with \"%attr\".")
(defvar rpm-default-group "root"
  "*Default group for files, specified with \"%attr\".")

;;------------------------------------------------------------

(defvar rpm-no-gpg nil "Tell rpm not to sign package.")

(defvar rpm-tags-list
  ;; From RPM 4.1 sources, file build/parsePreamble.c: preambleList[].")
  '(("AutoProv")
    ("AutoReq")
    ("AutoReqProv")
    ("BuildArch")
    ("BuildArchitectures")
    ("BuildConflicts")
    ("BuildPreReq")
    ("BuildRequires")
    ("BuildRoot")
    ("Conflicts")
    ("License")
    ("%description")
    ("Distribution")
    ("DistURL")
    ("DocDir")
    ("Epoch")
    ("ExcludeArch")
    ("ExcludeOS")
    ("ExclusiveArch")
    ("ExclusiveOS")
    ("%files")
    ("Group")
    ("Icon")
    ("%ifarch")
    ("License")
    ("Name")
    ("NoPatch")
    ("NoSource")
    ("Obsoletes")
    ("%package")
    ("Packager")
    ("Patch")
    ("Prefix")
    ("Prefixes")
    ("PreReq")
    ("Provides")
    ("Release")
    ("Requires")
    ("RHNPlatform")
    ("Serial")
    ("Source")
    ("Summary")
    ("URL")
    ("Vendor")
    ("Version"))
  "List of elements that are valid tags.")

;; echo "(defvar rpm-group-tags-list"
;; echo "      ;; Auto generated from Mageia GROUPS file"
;; printf "\t%s\n" "'("
;; cat /usr/share/doc/*/GROUPS | while read i; do
;;             printf "\t   %s%s%s\n" '("' "$i" '")'
;; done
;; printf "\t%s\n\t%s" ")" '"List of elements that are valid group tags.")'

(defvar rpm-group-tags-list
      ;; Auto generated from Mageia GROUPS file
	'(
	   ("Accessibility")
	   ("Archiving/Backup")
	   ("Archiving/Cd burning")
	   ("Archiving/Compression")
	   ("Archiving/Other")
	   ("Books/Computer books")
	   ("Books/Faqs")
	   ("Books/Howtos")
	   ("Books/Literature")
	   ("Books/Other")
	   ("Communications")
	   ("Databases")
	   ("Development/C")
	   ("Development/C++")
	   ("Development/Databases")
	   ("Development/GNOME and GTK+")
	   ("Development/Java")
	   ("Development/KDE and Qt")
	   ("Development/Kernel")
	   ("Development/Other")
	   ("Development/Perl")
	   ("Development/PHP")
	   ("Development/Python")
	   ("Development/Ruby")
	   ("Editors")
	   ("Education")
	   ("Emulators")
	   ("File tools")
	   ("Games/Adventure")
	   ("Games/Arcade")
	   ("Games/Boards")
	   ("Games/Cards")
	   ("Games/Other")
	   ("Games/Puzzles")
	   ("Games/Sports")
	   ("Games/Strategy")
	   ("Graphical desktop/Enlightenment")
	   ("Graphical desktop/FVWM based")
	   ("Graphical desktop/GNOME")
	   ("Graphical desktop/Icewm")
	   ("Graphical desktop/KDE")
	   ("Graphical desktop/Other")
	   ("Graphical desktop/Sawfish")
	   ("Graphical desktop/WindowMaker")
	   ("Graphical desktop/Xfce")
	   ("Graphics")
	   ("Monitoring")
	   ("Networking/Chat")
	   ("Networking/File transfer")
	   ("Networking/IRC")
	   ("Networking/Instant messaging")
	   ("Networking/Mail")
	   ("Networking/News")
	   ("Networking/Other")
	   ("Networking/Remote access")
	   ("Networking/WWW")
	   ("Office")
	   ("Publishing")
	   ("Sciences/Astronomy")
	   ("Sciences/Biology")
	   ("Sciences/Chemistry")
	   ("Sciences/Computer science")
	   ("Sciences/Geosciences")
	   ("Sciences/Mathematics")
	   ("Sciences/Other")
	   ("Sciences/Physics")
	   ("Shells")
	   ("Sound")
	   ("System/Base")
	   ("System/Configuration/Boot and Init")
	   ("System/Configuration/Hardware")
	   ("System/Configuration/Networking")
	   ("System/Configuration/Other")
	   ("System/Configuration/Packaging")
	   ("System/Configuration/Printing")
	   ("System/Fonts/Console")
	   ("System/Fonts/True type")
	   ("System/Fonts/Type1")
	   ("System/Fonts/X11 bitmap")
	   ("System/Internationalization")
	   ("System/Kernel and hardware")
	   ("System/Libraries")
	   ("System/Servers")
	   ("System/X11")
	   ("Terminals")
	   ("Text tools")
	   ("Toys")
	   ("Video")
	)
	"List of elements that are valid group tags.")

(defvar rpm-spec-mode-syntax-table nil
  "Syntax table in use in `rpm-spec-mode' buffers.")
(unless rpm-spec-mode-syntax-table
  (setq rpm-spec-mode-syntax-table (make-syntax-table))
  (modify-syntax-entry ?\\ "\\" rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?\n ">   " rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?\f ">   " rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?\# "<   " rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?/ "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?* "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?+ "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?- "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?= "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?% "_" rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?< "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?> "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?& "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?| "." rpm-spec-mode-syntax-table)
  (modify-syntax-entry ?\' "." rpm-spec-mode-syntax-table))

(defvar rpm-spec-mode-map nil
  "Keymap used in `rpm-spec-mode'.")
(unless rpm-spec-mode-map
  (setq rpm-spec-mode-map (make-sparse-keymap))
  (and (functionp 'set-keymap-name)
       (set-keymap-name rpm-spec-mode-map 'rpm-spec-mode-map))
  (define-key rpm-spec-mode-map "\C-c\C-c"  'rpm-change-tag)
  (define-key rpm-spec-mode-map "\C-c\C-e"  'rpm-add-change-log-entry)
  (define-key rpm-spec-mode-map "\C-c\C-i"  'rpm-insert-tag)
  (define-key rpm-spec-mode-map "\C-c\C-n"  'rpm-forward-section)
  (define-key rpm-spec-mode-map "\C-c\C-o"  'rpm-goto-section)
  (define-key rpm-spec-mode-map "\C-c\C-p"  'rpm-backward-section)
  (define-key rpm-spec-mode-map "\C-c\C-r"  'rpm-increase-release-tag)
  (define-key rpm-spec-mode-map "\C-c\C-u"  'rpm-insert-true-prefix)
  (define-key rpm-spec-mode-map "\C-c\C-ba" 'rpm-build-all)
  (define-key rpm-spec-mode-map "\C-c\C-bb" 'rpm-build-binary)
  (define-key rpm-spec-mode-map "\C-c\C-bc" 'rpm-build-compile)
  (define-key rpm-spec-mode-map "\C-c\C-bi" 'rpm-build-install)
  (define-key rpm-spec-mode-map "\C-c\C-bl" 'rpm-list-check)
  (define-key rpm-spec-mode-map "\C-c\C-bp" 'rpm-build-prepare)
  (define-key rpm-spec-mode-map "\C-c\C-bs" 'rpm-build-source)
  (define-key rpm-spec-mode-map "\C-c\C-dd" 'rpm-insert-dir)
  (define-key rpm-spec-mode-map "\C-c\C-do" 'rpm-insert-docdir)
  (define-key rpm-spec-mode-map "\C-c\C-fc" 'rpm-insert-config)
  (define-key rpm-spec-mode-map "\C-c\C-fd" 'rpm-insert-doc)
  (define-key rpm-spec-mode-map "\C-c\C-ff" 'rpm-insert-file)
  (define-key rpm-spec-mode-map "\C-c\C-fg" 'rpm-insert-ghost)
  (define-key rpm-spec-mode-map "\C-c\C-xa" 'rpm-toggle-add-attr)
  (define-key rpm-spec-mode-map "\C-c\C-xb" 'rpm-change-buildroot-option)
  (define-key rpm-spec-mode-map "\C-c\C-xc" 'rpm-toggle-clean)
  (define-key rpm-spec-mode-map "\C-c\C-xd" 'rpm-toggle-nodeps)
  (define-key rpm-spec-mode-map "\C-c\C-xf" 'rpm-files-group)
  (define-key rpm-spec-mode-map "\C-c\C-xg" 'rpm-toggle-sign-gpg)
  (define-key rpm-spec-mode-map "\C-c\C-xi" 'rpm-change-timecheck-option)
  (define-key rpm-spec-mode-map "\C-c\C-xn" 'rpm-toggle-nobuild)
  (define-key rpm-spec-mode-map "\C-c\C-xo" 'rpm-files-owner)
  (define-key rpm-spec-mode-map "\C-c\C-xp" 'rpm-change-target-option)
  (define-key rpm-spec-mode-map "\C-c\C-xr" 'rpm-toggle-rmsource)
  (define-key rpm-spec-mode-map "\C-cxd"    'rpm-toggle-no-deps)
  (define-key rpm-spec-mode-map "\C-c\C-xs" 'rpm-toggle-short-circuit)
  (define-key rpm-spec-mode-map "\C-c\C-xu" 'rpm-files-umask)
  ;;(define-key rpm-spec-mode-map "\C-q" 'indent-spec-exp)
  ;;(define-key rpm-spec-mode-map "\t" 'sh-indent-line)
  )

(defconst rpm-spec-mode-menu
  (purecopy '("RPM spec"
              ["Insert Tag..."           rpm-insert-tag                t]
              ["Change Tag..."           rpm-change-tag                t]
              "---"
              ["Go to section..."        rpm-mouse-goto-section  :keys "C-c C-o"]
              ["Forward section"         rpm-forward-section           t]
              ["Backward section"        rpm-backward-section          t]
              "---"
              ["Add change log entry..." rpm-add-change-log-entry      t]
              ["Increase release tag"    rpm-increase-release-tag      t]
              "---"
              ("Add file entry"
               ["Regular file..."        rpm-insert-file               t]
               ["Config file..."         rpm-insert-config             t]
               ["Document file..."       rpm-insert-doc                t]
               ["Ghost file..."          rpm-insert-ghost              t]
               "---"
               ["Directory..."           rpm-insert-dir                t]
               ["Document directory..."  rpm-insert-docdir             t]
               "---"
               ["Insert %{prefix}"       rpm-insert-true-prefix        t]
               "---"
               ["Default add \"%attr\" entry" rpm-toggle-add-attr
                :style toggle :selected rpm-spec-add-attr]
               ["Change default umask for files..."  rpm-files-umask   t]
               ["Change default owner for files..."  rpm-files-owner   t]
               ["Change default group for files..."  rpm-files-group   t])
              ("Build Options"
               ["Short circuit" rpm-toggle-short-circuit
                :style toggle :selected rpm-spec-short-circuit]
			   ["No deps" rpm-toggle-no-deps
				:style toggle :selected rpm-spec-no-deps]
               ["Remove source" rpm-toggle-rmsource
                :style toggle :selected rpm-spec-rmsource]
               ["Clean"         rpm-toggle-clean
                :style toggle :selected rpm-spec-clean]
               ["No build"      rpm-toggle-nobuild
                :style toggle :selected rpm-spec-nobuild]
               ["GPG sign"      rpm-toggle-sign-gpg
                :style toggle :selected rpm-spec-sign-gpg]
               ["Ignore dependencies" rpm-toggle-nodeps
                :style toggle :selected rpm-spec-nodeps]
               "---"
               ["Change timecheck value..."  rpm-change-timecheck-option   t]
               ["Change buildroot value..."  rpm-change-buildroot-option   t]
               ["Change target value..."     rpm-change-target-option      t])
              ("RPM Build"
               ["Execute \"%prep\" stage"    rpm-build-prepare             t]
               ["Do a \"list check\""        rpm-list-check                t]
               ["Do the \"%build\" stage"    rpm-build-compile             t]
               ["Do the \"%install\" stage"  rpm-build-install             t]
               "---"
               ["Build binary package"       rpm-build-binary              t]
               ["Build source package"       rpm-build-source              t]
               ["Build binary and source"    rpm-build-all                 t])
              "---"
              ["About rpm-spec-mode"         rpm-about-rpm-spec-mode       t]
              )))

(defvar rpm-spec-font-lock-keywords
  '(
    ("%[a-zA-Z0-9-_]+" 0 rpm-spec-macro-face)
    ("^\\([a-zA-Z0-9]+\\)\\(\([a-zA-Z0-9,]+\)\\):"
     (1 rpm-spec-tag-face)
     (2 rpm-spec-ghost-face))
    ("^\\([a-zA-Z0-9]+\\):" 1 rpm-spec-tag-face)
    ("%\\(de\\(fine\\|scription\\)\\|files\\|package\\)[ \t]+\\([^-][^ \t\n]*\\)"
     (3 rpm-spec-package-face))
    ("%p\\(ost\\|re\\)\\(un\\)?[ \t]+\\([^-][^ \t\n]*\\)"
     (3 rpm-spec-package-face))
    ("%configure " 0 rpm-spec-macro-face)
    ("%dir[ \t]+\\([^ \t\n]+\\)[ \t]*" 1 rpm-spec-dir-face)
    ("%doc\\(dir\\)?[ \t]+\\(.*\\)\n" 2 rpm-spec-doc-face)
    ("%\\(ghost\\|config\\)[ \t]+\\(.*\\)\n" 2 rpm-spec-ghost-face)
    ("^%.+-[a-zA-Z][ \t]+\\([a-zA-Z0-9\.-]+\\)" 1 rpm-spec-doc-face)
    ("^\\(.+\\)(\\([a-zA-Z]\\{2,2\\}\\)):"
     (1 rpm-spec-tag-face)
     (2 rpm-spec-doc-face))
    ("^\\*\\(.*[0-9] \\)\\(.*\\)\\(<.*>\\)\\(.*\\)\n"
     (1 rpm-spec-dir-face)
     (2 rpm-spec-package-face)
     (3 rpm-spec-tag-face)
     (4 font-lock-warning-face))
    ("%{[^{}]*}" 0 rpm-spec-macro-face)
    ("$[a-zA-Z0-9_]+" 0 rpm-spec-var-face)
    ("${[a-zA-Z0-9_]+}" 0 rpm-spec-var-face)
    )
  "Additional expressions to highlight in `rpm-spec-mode'.")

;;Initialize font lock for xemacs
(put 'rpm-spec-mode 'font-lock-defaults '(rpm-spec-font-lock-keywords))

(defvar rpm-spec-mode-abbrev-table nil
  "Abbrev table in use in `rpm-spec-mode' buffers.")
(define-abbrev-table 'rpm-spec-mode-abbrev-table ())

;;------------------------------------------------------------

;;;###autoload
(defun rpm-spec-mode ()
  "Major mode for editing RPM spec files.
This is much like C mode except for the syntax of comments.  It uses
the same keymap as C mode and has the same variables for customizing
indentation.  It has its own abbrev table and its own syntax table.

Turning on RPM spec mode calls the value of the variable `rpm-spec-mode-hook'
with no args, if that value is non-nil."
  (interactive)
  (kill-all-local-variables)
  (condition-case nil
      (require 'shindent)
    (error
     (require 'sh-script)))
  (require 'cc-mode)
  (use-local-map rpm-spec-mode-map)
  (setq major-mode 'rpm-spec-mode)
  (rpm-update-mode-name)
  (setq local-abbrev-table rpm-spec-mode-abbrev-table)
  (set-syntax-table rpm-spec-mode-syntax-table)

  (require 'easymenu)
  (easy-menu-define rpm-spec-call-menu rpm-spec-mode-map
                    "Post menu for `rpm-spec-mode'." rpm-spec-mode-menu)
  (easy-menu-add rpm-spec-mode-menu)

  (if (= (buffer-size) 0)
      (rpm-spec-initialize))

  (if (executable-find "rpmbuild")
      (setq rpm-spec-build-command "rpmbuild")
    (setq rpm-spec-old-rpm t)
    (setq rpm-spec-build-command "rpm"))
  
  (make-local-variable 'paragraph-start)
  (setq paragraph-start (concat "$\\|" page-delimiter))
  (make-local-variable 'paragraph-separate)
  (setq paragraph-separate paragraph-start)
  (make-local-variable 'paragraph-ignore-fill-prefix)
  (setq paragraph-ignore-fill-prefix t)
;  (make-local-variable 'indent-line-function)
;  (setq indent-line-function 'c-indent-line)
  (make-local-variable 'require-final-newline)
  (setq require-final-newline t)
  (make-local-variable 'comment-start)
  (setq comment-start "# ")
  (make-local-variable 'comment-end)
  (setq comment-end "")
  (make-local-variable 'comment-column)
  (setq comment-column 32)
  (make-local-variable 'comment-start-skip)
  (setq comment-start-skip "#+ *")
;  (make-local-variable 'comment-indent-function)
;  (setq comment-indent-function 'c-comment-indent)
  ;;Initialize font lock for GNU emacs.
  (make-local-variable 'font-lock-defaults)
  (setq font-lock-defaults '(rpm-spec-font-lock-keywords nil t))
  (run-hooks 'rpm-spec-mode-hook))

(defun rpm-command-filter (process string)
  "Filter to process normal output."
  (save-excursion
    (set-buffer (process-buffer process))
    (save-excursion
      (goto-char (process-mark process))
      (insert-before-markers string)
      (set-marker (process-mark process) (point)))))

; insert one space, or the number of tabs if rpm-spec-use-tabs is true
(defun rpm-insert-space-or-tabs (tabs)
  (if rpm-spec-use-tabs
      (if (> tabs 0)
	  (concat "\t" (rpm-insert-space-or-tabs (1- tabs)))
	  "")
      " "))

;;------------------------------------------------------------

(defun rpm-add-change-log-entry (&optional change-log-entry)
  "Find change log and add an entry for today."
  (interactive "P")
  (goto-char (point-min))
    (if (search-forward-regexp "^%changelog[ \t]*$" nil t)
	(let* ((address (or rpm-spec-user-mail-address user-mail-address))
	       (fullname (or rpm-spec-user-full-name user-full-name))
	       (string (concat "* " (substring (current-time-string) 0 11)
			       (substring (current-time-string) -4) " "
			       fullname " <" address "> "
			       (or 
				(and rpm-spec-insert-changelog-version
				     (or (and rpm-spec-insert-changelog-version-with-shell
					      (rpm-find-spec-version-with-shell))
					 (rpm-find-spec-version))))
				"")))
	  (if (not (search-forward string nil t))
	      (insert "\n" string "\n")
	      (progn (next-line 1)
		     (beginning-of-line)))
	  (unless (eq (point) (1- (point-max)))
	    (insert "\n")
	    (previous-line 1))
	  (insert "- ")
	  (if change-log-entry
	      (insert (concat (format "%s." change-log-entry)))))
	(message "No \"%%changelog\" entry found...")))

;;------------------------------------------------------------

(defun rpm-insert-f (&optional filetype filename)
  "Insert new \"%files\" entry."
  (save-excursion
    (and (rpm-goto-section "files") (rpm-end-of-section))
    (if (or (eq filename 1) (not filename))
        (insert (read-file-name
                 (concat filetype "filename: ") "" "" nil) "\n")
      (insert filename "\n"))
    (forward-line -1)
    (if rpm-spec-add-attr
        (let ((rpm-default-mode rpm-default-umask))
          (insert "%attr(" rpm-default-mode ", " rpm-default-owner ", "
                  rpm-default-group ") ")))
    (insert filetype)))

(defun rpm-insert-file (&optional filename)
  "Insert regular file."
  (interactive "p")
  (rpm-insert-f "" filename))

(defun rpm-insert-config (&optional filename)
  "Insert config file."
  (interactive "p")
  (rpm-insert-f "%config " filename))

(defun rpm-insert-doc (&optional filename)
  "Insert doc file."
  (interactive "p")
  (rpm-insert-f "%doc " filename))

(defun rpm-insert-ghost (&optional filename)
  "Insert ghost file."
  (interactive "p")
  (rpm-insert-f "%ghost " filename))

(defun rpm-insert-dir (&optional dirname)
  "Insert directory."
  (interactive "p")
  (rpm-insert-f "%dir " dirname))

(defun rpm-insert-docdir (&optional dirname)
  "Insert doc directory."
  (interactive "p")
  (rpm-insert-f "%docdir " dirname))

;;------------------------------------------------------------
(defun rpm-completing-read (prompt table &optional pred require init hist)
  "Read from the minibuffer, with completion.
Like `completing-read', but the variable `rpm-spec-completion-ignore-case'
controls whether case is significant."
  (let ((completion-ignore-case rpm-spec-completion-ignore-case))
    (completing-read prompt table pred require init hist)))

(defun rpm-insert (&optional what file-completion)
  "Insert given tag.  Use file-completion if argument is t."
  (beginning-of-line)
  (if (not what)
      (setq what (rpm-completing-read "Tag: " rpm-tags-list)))
  (if (string-match "^%" what)
      (setq read-text (concat "Packagename for " what ": ")
            insert-text (concat what " "))
    (setq read-text (concat what ": ")
          insert-text (concat what ": ")))
  (cond
   ((string-equal what "Group")
    (rpm-insert-group))
   ((string-equal what "Source")
    (rpm-insert-n "Source"))
   ((string-equal what "Patch")
    (rpm-insert-n "Patch"))
   (t
    (if file-completion
        (insert insert-text (read-file-name (concat read-text) "" "" nil) "\n")
      (insert insert-text (read-from-minibuffer (concat read-text)) "\n")))))

(defun rpm-topdir ()
  (or
   (getenv "RPM")
   (getenv "rpm")
   (if (file-directory-p "~/rpm") "~/rpm/")
   (if (file-directory-p "~/RPM") "~/RPM/")
   (if (file-directory-p "/usr/src/redhat/") "/usr/src/redhat/")
   "/usr/src/RPM"))

(defun rpm-insert-n (what &optional arg)
  "Insert given tag with possible number."
  (save-excursion
    (goto-char (point-max))
    (if (search-backward-regexp (concat "^" what "\\([0-9]*\\):") nil t)
        (let ((release (1+ (string-to-int (match-string 1)))))
          (forward-line 1)
          (let ((default-directory (concat (rpm-topdir) "/SOURCES/")))
            (insert what (int-to-string release) ": "
                    (read-file-name (concat what "file: ") "" "" nil) "\n")))
      (goto-char (point-min))
      (rpm-end-of-section)
      (insert what ": " (read-from-minibuffer (concat what "file: ")) "\n"))))

(defun rpm-change (&optional what arg)
  "Update given tag."
  (save-excursion
    (if (not what)
        (setq what (rpm-completing-read "Tag: " rpm-tags-list)))
    (cond
     ((string-equal what "Group")
      (rpm-change-group))
     ((string-equal what "Source")
      (rpm-change-n "Source"))
     ((string-equal what "Patch")
      (rpm-change-n "Patch"))
     (t
      (goto-char (point-min))
      (if (search-forward-regexp (concat "^" what ":\\s-*\\(.*\\)$") nil t)
          (replace-match
           (concat what ": " (read-from-minibuffer
                              (concat "New " what ": ") (match-string 1))))
        (message (concat what " tag not found...")))))))

(defun rpm-change-n (what &optional arg)
  "Change given tag with possible number."
  (save-excursion
    (goto-char (point-min))
    (let ((number (read-from-minibuffer (concat what " number: "))))
      (if (search-forward-regexp
           (concat "^" what number ":\\s-*\\(.*\\)") nil t)
          (let ((default-directory (concat (rpm-topdir) "/SOURCES/")))
            (replace-match
             (concat what number ": "
                     (read-file-name (concat "New " what number " file: ")
                                     "" "" nil (match-string 1)))))
        (message (concat what " number \"" number "\" not found..."))))))

(defun rpm-insert-group (group)
  "Insert Group tag."
  (interactive (list (rpm-completing-read "Group: " rpm-group-tags-list)))
  (beginning-of-line)
  (insert "Group:" (rpm-insert-space-or-tabs 2) group "\n"))

(defun rpm-change-group (&optional arg)
  "Update Group tag."
  (interactive "p")
  (save-excursion
    (goto-char (point-min))
    (if (search-forward-regexp "^Group:[ \t]*\\(.*\\)$" nil t)
        (replace-match
         (concat "Group:"
		 (rpm-insert-space-or-tabs 2)
                 (rpm-completing-read "Group: " rpm-group-tags-list
				      nil nil (match-string 1))))
      (message "Group tag not found..."))))

(defun rpm-insert-tag (&optional arg)
  "Insert or change a tag."
  (interactive "p")
  (if current-prefix-arg
      (rpm-change)
    (rpm-insert)))

(defun rpm-change-tag (&optional arg)
  "Change a tag."
  (interactive "p")
  (rpm-change))

(defun rpm-insert-packager (&optional arg)
  "Insert Packager tag."
  (interactive "p")
  (beginning-of-line)
  (insert "Packager:"
	  (rpm-insert-space-or-tabs 1)
	  (or rpm-spec-user-full-name (user-full-name))
          " <" (or rpm-spec-user-mail-address (user-mail-address)) ">\n"))

(defun rpm-change-packager (&optional arg)
  "Update Packager tag."
  (interactive "p")
  (rpm-change "Packager"))

;;------------------------------------------------------------

(defun rpm-current-section nil
  (interactive)
  (save-excursion
    (rpm-forward-section)
    (rpm-backward-section)
    (if (bobp) "preamble"
      (buffer-substring (match-beginning 1) (match-end 1)))))

(defun rpm-backward-section nil
  "Move backward to the beginning of the previous section.
Go to beginning of previous section."
  (interactive)
  (or (re-search-backward rpm-section-regexp nil t)
      (goto-char (point-min))))

(defun rpm-beginning-of-section nil
  "Move backward to the beginning of the current section.
Go to beginning of current section."
  (interactive)
  (or (and (looking-at rpm-section-regexp) (point))
      (re-search-backward rpm-section-regexp nil t)
      (goto-char (point-min))))

(defun rpm-forward-section nil
  "Move forward to the beginning of the next section."
  (interactive)
  (forward-char)
  (if (re-search-forward rpm-section-regexp nil t)
      (progn (forward-line 0) (point))
    (goto-char (point-max))))

(defun rpm-end-of-section nil
  "Move forward to the end of this section."
  (interactive)
  (forward-char)
  (if (re-search-forward rpm-section-regexp nil t)
      (forward-line -1)
    (goto-char (point-max)))
;;  (while (or (looking-at paragraph-separate) (looking-at "^\\s-*#"))
  (while (looking-at "^\\s-*\\($\\|#\\)")
    (forward-line -1))
  (forward-line 1)
  (point))

(defun rpm-goto-section (section)
  "Move point to the beginning of the specified section;
leave point at previous location."
  (interactive (list (rpm-completing-read "Section: " rpm-section-list)))
  (push-mark)
  (goto-char (point-min))
  (or
   (equal section "preamble")
   (re-search-forward (concat "^%" section "\\b") nil t)
   (let ((s (cdr rpm-sections)))
     (while (not (equal section (car s)))
       (re-search-forward (concat "^%" (car s) "\\b") nil t)
       (setq s (cdr s)))
     (if (re-search-forward rpm-section-regexp nil t)
         (forward-line -1) (goto-char (point-max)))
     (insert "\n%" section "\n"))))

(defun rpm-mouse-goto-section (&optional section)
  (interactive
   (x-popup-menu
    nil
    (list "sections"
          (cons "Sections" (mapcar (lambda (e) (list e e)) rpm-sections))
          (cons "Scripts" (mapcar (lambda (e) (list e e)) rpm-scripts))
          )))
  ;; If user doesn't pick a section, exit quietly.
  (and section
       (if (member section rpm-sections)
           (rpm-goto-section section)
         (goto-char (point-min))
         (or (re-search-forward (concat "^%" section "\\b") nil t)
             (and (re-search-forward "^%files\\b" nil t) (forward-line -1))
             (goto-char (point-max))))))

(defun rpm-insert-true-prefix ()
  (interactive)
  (insert "%{prefix}"))

;;------------------------------------------------------------

(defun rpm-build (buildoptions)
  "Build this RPM package."
  (setq rpm-buffer-name
        (concat "*" rpm-spec-build-command " " 
                (file-name-nondirectory buffer-file-name) "*"))
  (rpm-process-check rpm-buffer-name)
  (if (get-buffer rpm-buffer-name)
      (kill-buffer rpm-buffer-name))
  (create-file-buffer rpm-buffer-name)
  (display-buffer rpm-buffer-name)
  (setq buildoptions (list buildoptions buffer-file-name))
  (if (or rpm-spec-short-circuit rpm-spec-nobuild)
      (setq rpm-no-gpg t))
  (if rpm-spec-rmsource
      (setq buildoptions (cons "--rmsource" buildoptions)))
  (if rpm-spec-clean
      (setq buildoptions (cons "--clean" buildoptions)))
  (if rpm-spec-short-circuit
      (setq buildoptions (cons "--short-circuit" buildoptions)))
  (if rpm-spec-no-deps
      (setq buildoptions (cons "--nodeps" buildoptions)))
  (if (and (not (equal rpm-spec-timecheck "0"))
           (not (equal rpm-spec-timecheck "")))
      (setq buildoptions (cons "--timecheck" (cons rpm-spec-timecheck
                                                   buildoptions))))
  (if (not (equal rpm-spec-buildroot ""))
      (setq buildoptions (cons "--buildroot" (cons rpm-spec-buildroot
                                                   buildoptions))))
  (if (not (equal rpm-spec-target ""))
      (setq buildoptions (cons "--target" (cons rpm-spec-target
                                                buildoptions))))
  (if rpm-spec-nobuild
      (setq buildoptions (cons (if rpm-spec-old-rpm "--test" "--nobuild")
			       buildoptions)))
  (if rpm-spec-nodeps
      (setq buildoptions (cons "--nodeps" buildoptions)))
  (if (and rpm-spec-sign-gpg (not rpm-no-gpg))
      (setq buildoptions (cons "--sign" buildoptions)))
  (save-excursion
    (set-buffer (get-buffer rpm-buffer-name))
    (goto-char (point-max)))
  (let ((process
         (apply 'start-process rpm-spec-build-command rpm-buffer-name
		rpm-spec-build-command buildoptions)))
    (if (and rpm-spec-sign-gpg (not rpm-no-gpg))
        (let ((rpm-passwd-cache (read-passwd "GPG passphrase: ")))
          (process-send-string process (concat rpm-passwd-cache "\n"))))
    (set-process-filter process 'rpm-command-filter)))

(defun rpm-build-prepare (&optional arg)
  "Run a `rpmbuild -bp'."
  (interactive "p")
   (setq rpm-no-gpg t)
   (rpm-build "-bp"))

(defun rpm-list-check (&optional arg)
  "Run a `rpmbuild -bl'."
  (interactive "p")
  (setq rpm-no-gpg t)
  (rpm-build "-bl"))

(defun rpm-build-compile (&optional arg)
  "Run a `rpmbuild -bc'."
  (interactive "p")
  (setq rpm-no-gpg t)
  (rpm-build "-bc"))

(defun rpm-build-install (&optional arg)
  "Run a `rpmbuild -bi'."
  (interactive "p")
  (setq rpm-no-gpg t)
  (rpm-build "-bi"))

(defun rpm-build-binary (&optional arg)
  "Run a `rpmbuild -bb'."
  (interactive "p")
  (setq rpm-no-gpg nil)
  (rpm-build "-bb"))

(defun rpm-build-source (&optional arg)
  "Run a `rpmbuild -bs'."
  (interactive "p")
  (setq rpm-no-gpg nil)
  (rpm-build "-bs"))

(defun rpm-build-all (&optional arg)
  "Run a `rpmbuild -ba'."
  (interactive "p")
  (setq rpm-no-gpg nil)
    (rpm-build "-ba"))

(defun rpm-process-check (buffer)
  "Check if BUFFER has a running process.
If so, give the user the choice of aborting the process or the current
command."
  (let ((process (get-buffer-process (get-buffer buffer))))
    (if (and process (eq (process-status process) 'run))
        (if (yes-or-no-p (concat "Process `" (process-name process)
                                 "' running.  Kill it? "))
            (delete-process process)
          (error "Cannot run two simultaneous processes ...")))))

;;------------------------------------------------------------

(defun rpm-toggle-short-circuit (&optional arg)
  "Toggle `rpm-spec-short-circuit'."
  (interactive "p")
  (setq rpm-spec-short-circuit (not rpm-spec-short-circuit))
  (rpm-update-mode-name)
  (message (concat "Turned `--short-circuit' "
                   (if rpm-spec-short-circuit "on" "off") ".")))

(defun rpm-toggle-no-deps (&optional arg)
  "Toggle rpm-spec-no-deps."
  (interactive "p")
  (setq rpm-spec-no-deps (not rpm-spec-no-deps))
  (rpm-update-mode-name)
  (message (concat "Turned `--nodeps' "
                   (if rpm-spec-no-deps "on" "off") ".")))

(defun rpm-toggle-rmsource (&optional arg)
  "Toggle `rpm-spec-rmsource'."
  (interactive "p")
  (setq rpm-spec-rmsource (not rpm-spec-rmsource))
  (rpm-update-mode-name)
  (message (concat "Turned `--rmsource' "
                   (if rpm-spec-rmsource "on" "off") ".")))

(defun rpm-toggle-clean (&optional arg)
  "Toggle `rpm-spec-clean'."
  (interactive "p")
  (setq rpm-spec-clean (not rpm-spec-clean))
  (rpm-update-mode-name)
  (message (concat "Turned `--clean' "
                   (if rpm-spec-clean "on" "off") ".")))

(defun rpm-toggle-nobuild (&optional arg)
  "Toggle `rpm-spec-nobuild'."
  (interactive "p")
  (setq rpm-spec-nobuild (not rpm-spec-nobuild))
  (rpm-update-mode-name)
  (message (concat "Turned `" (if rpm-spec-old-rpm "--test" "--nobuild") "' "
                   (if rpm-spec-nobuild "on" "off") ".")))

(defun rpm-toggle-sign-gpg (&optional arg)
  "Toggle `rpm-spec-sign-gpg'."
  (interactive "p")
  (setq rpm-spec-sign-gpg (not rpm-spec-sign-gpg))
  (rpm-update-mode-name)
  (message (concat "Turned `--sign' "
                   (if rpm-spec-sign-gpg "on" "off") ".")))

(defun rpm-toggle-add-attr (&optional arg)
  "Toggle `rpm-spec-add-attr'."
  (interactive "p")
  (setq rpm-spec-add-attr (not rpm-spec-add-attr))
  (rpm-update-mode-name)
  (message (concat "Default add \"attr\" entry turned "
                   (if rpm-spec-add-attr "on" "off") ".")))

(defun rpm-toggle-nodeps (&optional arg)
  "Toggle `rpm-spec-nodeps'."
  (interactive "p")
  (setq rpm-spec-nodeps (not rpm-spec-nodeps))
  (rpm-update-mode-name)
  (message (concat "Turned `--nodeps' "
                   (if rpm-spec-nodeps "on" "off") ".")))

(defun rpm-update-mode-name ()
  "Update `mode-name' according to values set."
  (setq mode-name "RPM-SPEC")
  (setq modes (concat (if rpm-spec-add-attr      "A")
                      (if rpm-spec-clean         "C")
                      (if rpm-spec-nodeps        "D")
                      (if rpm-spec-sign-gpg      "G")
                      (if rpm-spec-nobuild       "N")
                      (if rpm-spec-rmsource      "R")
                      (if rpm-spec-short-circuit "S")
					  (if rpm-spec-no-deps       "D")
                      ))
  (if (not (equal modes ""))
      (setq mode-name (concat mode-name ":" modes))))

;;------------------------------------------------------------

(defun rpm-change-timecheck-option (&optional arg)
  "Change the value for timecheck."
  (interactive "p")
  (setq rpm-spec-timecheck
        (read-from-minibuffer "New timecheck: " rpm-spec-timecheck)))

(defun rpm-change-buildroot-option (&optional arg)
  "Change the value for buildroot."
  (interactive "p")
  (setq rpm-spec-buildroot
        (read-from-minibuffer "New buildroot: " rpm-spec-buildroot)))

(defun rpm-change-target-option (&optional arg)
  "Change the value for target."
  (interactive "p")
  (setq rpm-spec-target
        (read-from-minibuffer "New target: " rpm-spec-target)))

(defun rpm-files-umask (&optional arg)
  "Change the default umask for files."
  (interactive "p")
  (setq rpm-default-umask
        (read-from-minibuffer "Default file umask: " rpm-default-umask)))

(defun rpm-files-owner (&optional arg)
  "Change the default owner for files."
  (interactive "p")
  (setq rpm-default-owner
        (read-from-minibuffer "Default file owner: " rpm-default-owner)))

(defun rpm-files-group (&optional arg)
  "Change the source directory."
  (interactive "p")
  (setq rpm-default-group
        (read-from-minibuffer "Default file group: " rpm-default-group)))

(defun rpm-increase-release-tag (&optional arg)
  "Increase the release tag by 1."
  (interactive "p")
  (save-excursion
    (goto-char (point-min))
	(if (search-forward-regexp "^Release:\\([ \t]*\\)\\(\\([^.\n]+\\.\\)*\\)\\([0-9]+\\)\\(.*\\)" nil t)
		(let ((release (1+ (string-to-int (match-string 4)))))
		  (setq release (concat (match-string 1) (match-string 2) (int-to-string release) (match-string 5)))
		  (replace-match (concat "Release:" release))
		  (message (concat "Release tag changed to " release ".")))
	  (if (search-forward-regexp "^Release:[ \t]*%{?\\([^}]*\\)}?$" nil t)
		  (rpm-increase-release-with-macros)
		(message "No Release tag found...")))))

;;------------------------------------------------------------

(defun rpm-spec-field-value (field max)
  "Get the value of FIELD, searching up to buffer position MAX.
See `search-forward-regexp'."
  (save-excursion
    (ignore-errors
      (let ((str
             (progn
               (goto-char (point-min))
               (search-forward-regexp (concat
                                       field ":[ \t]*\\(.*?\\)[ \t]*$") max)
               (match-string 1))))
        (if (string-match "%{?\\([^}]*\\)}?$" str)
            (progn
              (goto-char (point-min))
              (search-forward-regexp
               (concat "%define[ \t]+" (substring str (match-beginning 1)
                                                  (match-end 1))
                       "[ \t]+\\(.*\\)"))
              (match-string 1))
          str)))))

(defun rpm-find-spec-version (&optional with-epoch)
  "Get the version string.
If WITH-EPOCH is non-nil, the string contains the Epoch/Serial value,
if one is present in the file."
  (save-excursion
    (goto-char (point-min))
    (let* ((max (search-forward-regexp rpm-section-regexp))
           (version (rpm-spec-field-value "Version" max))
           (release (rpm-spec-field-value "Release" max))
           (epoch   (rpm-spec-field-value "Epoch"   max)) )
      (when (and version (< 0 (length version)))
        (unless epoch (setq epoch (rpm-spec-field-value "Serial" max)))
        (concat (and with-epoch epoch (concat epoch ":"))
                version
                (and release (concat "-" release)))))))

(defun rpm--with-temp-file (prefix f)
  (let ((file (make-temp-file prefix)))
    (unwind-protect
	(funcall f file)
      (delete-file file))))

(defun rpm-find-spec-version-with-shell ()
  "Find the version and release with the rpm command 
   more robust but slower than the lisp version"
  (rpm--with-temp-file "spec" (lambda (tmpfile)
     (write-region (point-min) (point-max) tmpfile nil 1)
  (let ((relver))
	(with-temp-buffer
	  (apply 'call-process "rpm" nil t nil 
			 (list "-q" "--qf" "'%{VERSION}-%{RELEASE}\\n'" "--specfile" tmpfile))
	  (goto-char (point-min))
	  (if (re-search-forward "\\([0-9]+.+\\)" nil t)
	      (setq relver (match-string 1)))
	  )
  relver)
  )))

(defun rpm-increase-release-with-macros ()
  (save-excursion
    (let ((str
           (progn
             (goto-char (point-min))
             (search-forward-regexp (concat "Release:[ \t]*\\(.+\\).*$") nil)
             (match-string 1)))
	  (increase-macro (lambda (macros)
		   (goto-char (point-min))
                   (if (search-forward-regexp
			(concat "%define[ \t]+" macros
				"\\([ \t]+\\)\\(\\([^.\n]+\\.\\)*\\)\\([0-9]+\\)\\(.*\\)") nil t)
		       (let ((dinrel (concat macros (match-string 1) (match-string 2)
			       (int-to-string (1+ (string-to-int
						   (match-string 4))))
			       (match-string 5))))
			 (replace-match (concat "%define " dinrel))
			 (message (concat "Release tag changed to " dinrel "."))
			 t)))))

      (if (string-match "%{?\\([^}]*\\)}?$" str)
	  (let ((macros (substring str (match-beginning 1) (match-end 1))))
	    (or (funcall increase-macro macros)
		(and (search-forward-regexp
		      (concat "%define[ \t]+" macros "[ \t]+%mkrel[ \t]+%{rel}") nil t)
		     (funcall increase-macro "rel"))
		(and (search-forward-regexp "\\(%mkrel[ \t]+\\)\\([0-9]+\\)$" nil t)
		     (replace-match (concat (match-string 1) (int-to-string (1+ (string-to-int (match-string 2)))))))
	    ))))))

;;------------------------------------------------------------

(defun rpm-spec-initialize ()
  "Create a default spec file if one does not exist or is empty."
  (let (file name version (release "1"))
    (setq file (if (buffer-file-name)
                   (file-name-nondirectory (buffer-file-name))
                 (buffer-name)))
    (string-match "\\(.*\\).spec" file)
    (setq name (match-string 1 file))

    (insert
	 "%define name " (or name "")
	 "\n%define version " (or version "")
	 "\n%define release %mkrel " (or release "")
	 "\n\nSummary:" (rpm-insert-space-or-tabs 1)
	 "\nName:" (rpm-insert-space-or-tabs 2) "%{name}"
	 "\nVersion:" (rpm-insert-space-or-tabs 1) "%{version}" 
	 "\nRelease:" (rpm-insert-space-or-tabs 1) "%{release}"
	 "\nSource0:" (rpm-insert-space-or-tabs 1) "%{name}-%{version}.tar.bz2"
	 "\nLicense:" (rpm-insert-space-or-tabs 1)
	 "\nGroup:" (rpm-insert-space-or-tabs 2)
	 "\nUrl:" (rpm-insert-space-or-tabs 2)
	 "\n\n%description\n"
	 "\n%prep\n%setup -q\n\n%build\n\n%install"
	 "\n\n%files\n"))
    (goto-char (point-min)))

;;------------------------------------------------------------

(defun rpm-about-rpm-spec-mode (&optional arg)
  "About `rpm-spec-mode'."
  (interactive "p")
  (message
   (concat "rpm-spec-mode version "
           rpm-spec-mode-version
           " by Stig Bjřrlykke, <stigb@tihlde.org>")))

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.spec$" . rpm-spec-mode))

(provide 'rpm-spec-mode)

;;; rpm-spec-mode.el ends here
="hl kwa">msgstr "" "Unesite::\n" "\n" " - IP adresu: ukoliko ne znate adresu pitajte svojeg mrežnog " "administratora\n" "ili ISP-a.\n" "\n" "\n" " - Mrežna maska: Obično je maska \"255.255.255.0\". Ako niste sigurni \n" "raspitajte se kod mrežnog administratora ili ISP-a.\n" "\n" "\n" " - Automatski IP: Ukoliko vaša mreža koristi bootp ili dhcp odaberite ovu\n" "opciju. U ovom slučaju ne morate unijeti ništa pod \"IP adresa\". Ako niste " "sigurni\n" "raspitajte se kod mrežnog administratora ili ISP-a.\n" #: ../help.pm_.c:184 msgid "" "You may now enter dialup options. If you're not sure what to enter, the\n" "correct information can be obtained from your ISP." msgstr "" "Sada možete podesiti dial-up postavke. Ako niste sigurni što treba\n" "unijeti, raspitajte se kod svog ISP-a." #: ../help.pm_.c:188 msgid "" "If you will use proxies, please configure them now. If you don't know if\n" "you will use proxies, ask your network administrator or your ISP." msgstr "" "Ako želite koristiti proxye unesite ih sada. Ako niste sigurni\n" "da li imate proxye raspitajte se kod mrežnog administratora ili ISP-a." #: ../help.pm_.c:192 msgid "" "You can install cryptographic package if your internet connection has been\n" "set up correctly. First choose a mirror where you wish to download packages " "and\n" "after that select the packages to install.\n" "\n" "Note you have to select mirror and cryptographic packages according\n" "to your legislation." msgstr "" "Sada možete instalirati kriptografske pakete ukoliko imate dobro podešenu " "internetu vezu.\n" "Prvo morate odabrati mirror sa kojeg će te skinuti pakete\n" "\n" "Nakon toga moći će te odabrati koje pakete želite instalirati.\n" "Opaska: Morate odabrati mirror i kriptografske pakete ovisno\n" "o zakonima zemlje u kojoj se nalazite." #: ../help.pm_.c:200 msgid "" "You can now select your timezone according to where you live.\n" "\n" "\n" "Linux manages time in GMT or \"Greenwich Meridian Time\" and translates it\n" "in local time according to the time zone you have selected." msgstr "" "Sada možete odabrati vremensku zonu u kojoj živite.\n" "\n" "\n" "Linux koristi GMT (Greenwich Meridian Time) koje onda preračunava\n" "u vrijeme u vašoj vremenskoj zoni. " #: ../help.pm_.c:207 msgid "Help" msgstr "Pomoć" #: ../help.pm_.c:210 msgid "" "Linux can deal with many types of printer. Each of these\n" "types require a different setup.\n" "\n" "\n" "If your printer is directly connected to your computer, select\n" "\"Local printer\". You will then have to tell which port your\n" "printer is connected to, and select the appropriate filter.\n" "\n" "\n" "If you want to access a printer located on a remote Unix machine,\n" "you will have to select \"Remote lpd\". In order to make\n" "it work, no username or password is required, but you will need\n" "to know the name of the printing queue on this server.\n" "\n" "\n" "If you want to access a SMB printer (which means, a printer located\n" "on a remote Windows 9x/NT machine), you will have to specify its\n" "SMB name (which is not its TCP/IP name), and possibly its IP address,\n" "plus the username, workgroup and password required in order to\n" "access the printer, and of course the name of the printer. The same goes\n" "for a NetWare printer, except that you need no workgroup information." msgstr "" #: ../help.pm_.c:233 msgid "" "You can now enter the root password for your Linux-Mandrake\n" "system. The password must be entered twice to verify that both\n" "password entries are identical.\n" "\n" "\n" "Root is the administrator of the system, and is the only user\n" "allowed to modify the system configuration. Therefore, choose\n" "this password carefully! Unauthorized use of the root account can\n" "be extremely dangerous to the integrity of the system and its data,\n" "and other systems connected to it. The password should be a\n" "mixture of alphanumeric characters and a least 8 characters long. It\n" "should *never* be written down. Do not make the password too long or\n" "complicated, though: you must be able to remember without too much\n" "effort." msgstr "" #: ../help.pm_.c:249 msgid "" "To enable a more secure system, you should select \"Use shadow file\" and\n" "\"Use MD5 passwords\"." msgstr "" "Ako želite dodatnu sigurnost na sustavu odaberite \"Koristi shadow " "datoteku\" i\n" "\"Koristi MD5 lozinke\"." #: ../help.pm_.c:253 msgid "" "If your network uses NIS, select \"Use NIS\". If you don't know, ask your\n" "network administrator." msgstr "" "Ukoliko vaša mreža koristi NIS odaberite \"Koristi NIS\". Ako niste sigurni\n" "raspitajte se kod svog mrežnog administratora." #: ../help.pm_.c:257 msgid "" "You may now create one or more \"regular\" user account(s), as\n" "opposed to the \"privileged\" user account, root. You can create\n" "one or more account(s) for each person you want to allow to use\n" "the computer. Note that each user account will have its own\n" "preferences (graphical environment, program settings, etc.)\n" "and its own \"home directory\", in which these preferences are\n" "stored.\n" "\n" "\n" "First of all, create an account for yourself! Even if you will be the only " "user\n" "of the machine, you may NOT connect as root for daily use of the system: " "it's a\n" "very high security risk. Making the system unusable is very often a typo " "away.\n" "\n" "\n" "Therefore, you should connect to the system using the user account\n" "you will have created here, and login as root only for administration\n" "and maintenance purposes." msgstr "" #: ../help.pm_.c:276 msgid "" "It is strongly recommended that you answer \"Yes\" here. If you install\n" "Microsoft Windows at a later date it will overwrite the boot sector.\n" "Unless you have made a bootdisk as suggested, you will not be able to\n" "boot into Linux any more." msgstr "" #: ../help.pm_.c:282 msgid "" "You need to indicate where you wish\n" "to place the information required to boot to Linux.\n" "\n" "\n" "Unless you know exactly what you are doing, choose \"First sector of\n" "drive (MBR)\"." msgstr "" "Sada možete odabrati gdje želite\n" "staviti informacije potrebne za bootiranje Linuxa.\n" "\n" "\n" "Ako ne znate što odabrati odaberite \"Prvi sektor \n" "diska (MBR)\"." #: ../help.pm_.c:290 msgid "" "Unless you know specifically otherwise, the usual choice is \"/dev/hda\"\n" "(the master drive on the primary channel)." msgstr "" #: ../help.pm_.c:294 msgid "" "LILO (the LInux LOader) can boot Linux and other operating systems.\n" "Normally they are correctly detected during installation. If you don't\n" "see yours detected, you can add one or more now.\n" "\n" "\n" "If you don't want that everybody could access at one of them, you can " "remove\n" "it now (a boot disk will be needed to boot it)." msgstr "" "LILO (the LInux LOader) je u stanju bootirati Linux i druge operativne\n" "sustave. Obično je instalacija u stanju identificirati sve operativne " "sustave.Ukoliko vaš operativni sustav nije prepoznat sada ga možete dodati.\n" "\n" "\n" "Ako želite spriječiti drugim korisnicima pristup nekim od operativnih " "sustava\n" "sada ih možete ukloniti (u tom slučaju trebati će vam boot disketa za " "bootiranje)." #: ../help.pm_.c:303 msgid "" "LILO main options are:\n" " - Boot device: Sets the name of the device (e.g. a hard disk\n" "partition) that contains the boot sector. Unless you know specifically\n" "otherwise, choose \"/dev/hda\".\n" "\n" "\n" " - Linear: Generate linear sector addresses instead of\n" "sector/head/cylinder addresses. Linear addresses are translated at run\n" "time and do not depend on disk geometry. Note that boot disks may not be\n" "portable if \"linear\" is used, because the BIOS service to determine the\n" "disk geometry does not work reliably for floppy disks. When using\n" "\"linear\" with large disks, /sbin/lilo may generate references to\n" "inaccessible disk areas, because 3D sector addresses are not known\n" "before boot time.\n" "\n" "\n" " - Compact: Tries to merge read requests for adjacent sectors into a\n" "single read request. This drastically reduces load time and keeps the\n" "map smaller. Using \"compact\" is especially recommended when booting from\n" "a floppy disk.\n" "\n" "\n" " - Delay before booting default image: Specifies the number in tenths\n" "of a second the boot loader should wait before booting the first image.\n" "This is useful on systems that immediately boot from the hard disk after\n" "enabling the keyboard. The boot loader doesn't wait if \"delay\" is\n" "omitted or is set to zero.\n" "\n" "\n" " - Video mode: This specifies the VGA text mode that should be selected\n" "when booting. The following values are available: \n" " * normal: select normal 80x25 text mode.\n" " * <number>: use the corresponding text mode." msgstr "" #: ../help.pm_.c:338 msgid "" "Now it's time to configure the X Window System, which is the\n" "core of the Linux GUI (Graphical User Interface). For this purpose,\n" "you must configure your video card and monitor. Most of these\n" "steps are automated, though, therefore your work may only consist\n" "of verifying what has been done and accept the settings :)\n" "\n" "\n" "When the configuration is over, X will be started (unless you\n" "ask DrakX not to) so that you can check and see if the\n" "settings suit you. If they don't, you can come back and\n" "change them, as many times as necessary." msgstr "" #: ../help.pm_.c:351 msgid "" "If something is wrong in X configuration, use these options to correctly\n" "configure the X Window System." msgstr "" "Ukoliko je X pogrešno podešen korištenjem ovih opcija možete\n" "ispravno podesiti X Window sustav." #: ../help.pm_.c:355 msgid "" "If you prefer to use a graphical login, select \"Yes\". Otherwise, select\n" "\"No\"." msgstr "" "Ukoliko preferirate grafičku prijavu odaberite \"Da\". U protivnom, " "odaberite \"Ne\"." #: ../help.pm_.c:359 msgid "" "You can now select some miscellaneous options for you system.\n" "\n" " - Use hard drive optimizations: This option can improve hard disk\n" "accesses but is only for advanced users, it can ruin your hard drive if\n" "used incorrectly. Use it only if you know how.\n" "\n" "\n" " - Choose security level: You can choose a security level for your\n" "system.\n" " Please refer to the manual for more information.\n" "\n" "\n" " - Precise RAM size if needed: In some cases, Linux is unable to\n" "correctly detect all the installed RAM on some systems. If this is the\n" "case, specify the correct quantity. Note: a difference of 2 or 4 Mb is\n" "normal.\n" "\n" "\n" " - Removable media automounting: If you would prefer not to manually\n" "mount removable drives (CD-ROM, Floppy, Zip) by typing \"mount\" and\n" "\"umount\", select this option. \n" "\n" "\n" " - Enable Num Lock at startup: If you want Number Lock enabled after\n" "booting, select this option (Note: Num Lock will still not work under\n" "X)." msgstr "" #: ../help.pm_.c:387 msgid "" "Your system is going to reboot.\n" "\n" "After rebooting, your new Linux Mandrake system will load automatically.\n" "If you want to boot into another existing operating system, please read\n" "the additional instructions." msgstr "" "Vaš sustav će sada rebootirati.\n" "\n" "Nakon reboot-a vaš novi Linux Mandrake sustav će se automatski učitati.\n" "Ukoliko želite bootirati neki drugi postojeći operativni sustav molim " "pročitajte\n" "dodatne upute." #: ../install2.pm_.c:43 msgid "Choose your language" msgstr "Odaberite jezik" #: ../install2.pm_.c:44 msgid "Select installation class" msgstr "Odaberite razred instalacije" #: ../install2.pm_.c:45 msgid "Setup SCSI" msgstr "Podesi SCSI" #: ../install2.pm_.c:46 msgid "Choose install or upgrade" msgstr "Instalacija ili nadogradnja" #: ../install2.pm_.c:47 msgid "Configure mouse" msgstr "Podesi miš" #: ../install2.pm_.c:48 msgid "Choose your keyboard" msgstr "Odaberite tipkovnicu" #: ../install2.pm_.c:49 msgid "Miscellaneous" msgstr "Razno" #: ../install2.pm_.c:50 msgid "Setup filesystems" msgstr "Podesi datotečne sustave" #: ../install2.pm_.c:51 msgid "Format partitions" msgstr "Formatiraj particije" #: ../install2.pm_.c:52 msgid "Choose packages to install" msgstr "Odaberite pakete za instaliranje" #: ../install2.pm_.c:53 msgid "Install system" msgstr "Instaliraj sustav" #: ../install2.pm_.c:54 msgid "Configure networking" msgstr "Podesi mrežu" #: ../install2.pm_.c:55 msgid "Cryptographic" msgstr "Kriptografski" #: ../install2.pm_.c:56 msgid "Configure timezone" msgstr "Podesi vremensku zonu" #: ../install2.pm_.c:58 msgid "Configure printer" msgstr "Podesi pisač" #: ../install2.pm_.c:59 ../install_steps_interactive.pm_.c:576 #: ../install_steps_interactive.pm_.c:577 msgid "Set root password" msgstr "Podesi lozinku administratora" #: ../install2.pm_.c:60 msgid "Add a user" msgstr "Dodaj korisnika" #: ../install2.pm_.c:61 msgid "Create a bootdisk" msgstr "Napravi boot disketu" #: ../install2.pm_.c:62 msgid "Install bootloader" msgstr "Instaliraj bootloader" #: ../install2.pm_.c:63 msgid "Configure X" msgstr "Podesi X" #: ../install2.pm_.c:64 msgid "Exit install" msgstr "Izađi iz instalacije" #: ../install2.pm_.c:83 msgid "beginner" msgstr "početnik" #: ../install2.pm_.c:83 msgid "developer" msgstr "razvojni programer" #: ../install2.pm_.c:83 msgid "expert" msgstr "Ekspert" #: ../install2.pm_.c:83 msgid "server" msgstr "poslužitelj" #: ../install2.pm_.c:311 msgid "" "You must have a root partition.\n" "For this, create a partition (or click on an existing one).\n" "Then choose action ``Mount point'' and set it to `/'" msgstr "" "Morate imati root particiju.\n" "Prvo napravite particiju (ili kliknite na postojeću) te\n" "odaberite akciju ``Mjesto monitranja'' te odaberite `/'" #: ../install2.pm_.c:327 msgid "Not enough swap to fulfill installation, please add some" msgstr "Nema dovoljno swapa za završetak instalacije, molim dodajte još" #: ../install_any.pm_.c:194 ../standalone/diskdrake_.c:61 msgid "" "I can't read your partition table, it's too corrupted for me :(\n" "I'll try to go on blanking bad partitions" msgstr "" #: ../install_any.pm_.c:210 msgid "" "DiskDrake failed to read correctly the partition table.\n" "Continue at your own risk!" msgstr "" "DiskDrake nije uspio pročitati vašu particijsku tablice.\n" "Nastavite o vlastitoj odgovornosti." #: ../install_any.pm_.c:220 msgid "Searching root partition." msgstr "Tražim root particiju." #: ../install_any.pm_.c:249 msgid "Information" msgstr "Informacije" #: ../install_any.pm_.c:250 #, c-format msgid "%s: This is not a root partition, please select another one." msgstr "%s: Ovo nije root particija, molim odaberite drugu." #: ../install_any.pm_.c:252 msgid "No root partition found" msgstr "Niti jedna root particija nije pronađena" #: ../install_any.pm_.c:289 msgid "Can't use broadcast with no NIS domain" msgstr "Ne mogu koristiti broadcast bez NIS domene" #: ../install_any.pm_.c:473 msgid "Error reading file $f" msgstr "Greška prilikom čitanja datoteke $f" #: ../install_any.pm_.c:479 #, c-format msgid "Bad kickstart file %s (failed %s)" msgstr "Loša kickstart datoteka %s (neuspjelo %s)" #: ../install_steps.pm_.c:72 msgid "" "An error occurred, but I don't know how to handle it nicely.\n" "Continue at your own risk." msgstr "" #: ../install_steps.pm_.c:136 #, c-format msgid "Duplicate mount point %s" msgstr "Dupliciraj mjesto monitranja %s" #: ../install_steps.pm_.c:295 #, fuzzy, c-format msgid "Welcome to %s" msgstr "Dobrodošli u Crackers" #: ../install_steps.pm_.c:562 msgid "No floppy drive available" msgstr "Disketni pogon nije dostupan" #: ../install_steps_auto_install.pm_.c:18 ../install_steps_stdio.pm_.c:26 #, c-format msgid "Entering step `%s'\n" msgstr "Pokrećem korak `%s'\n" #: ../install_steps_graphical.pm_.c:259 ../install_steps_gtk.pm_.c:294 msgid "You must have a swap partition" msgstr "Morate imati swap particiju" #: ../install_steps_graphical.pm_.c:261 ../install_steps_gtk.pm_.c:296 msgid "" "You don't have a swap partition\n" "\n" "Continue anyway?" msgstr "" "Swap particija ne postoji\n" "\n" "Da ipak nastavim?" #: ../install_steps_graphical.pm_.c:287 ../install_steps_gtk.pm_.c:317 msgid "Choose the size you want to install" msgstr "Izaberite veličinu koji želite instalirati" #: ../install_steps_graphical.pm_.c:334 ../install_steps_gtk.pm_.c:361 msgid "Total size: " msgstr "Ukupna veličina:" #: ../install_steps_graphical.pm_.c:346 ../install_steps_gtk.pm_.c:373 #: ../standalone/rpmdrake_.c:136 #, c-format msgid "Version: %s\n" msgstr "Inačica: %s\n" #: ../install_steps_graphical.pm_.c:347 ../install_steps_gtk.pm_.c:374 #: ../standalone/rpmdrake_.c:137 #, c-format msgid "Size: %d KB\n" msgstr "Veličina: %d KB\n" #: ../install_steps_graphical.pm_.c:462 ../install_steps_gtk.pm_.c:489 msgid "Choose the packages you want to install" msgstr "Odaberite pakete koje želite instalirati" #: ../install_steps_graphical.pm_.c:465 ../install_steps_gtk.pm_.c:492 msgid "Info" msgstr "Info" #: ../install_steps_graphical.pm_.c:473 ../install_steps_gtk.pm_.c:500 #: ../install_steps_interactive.pm_.c:81 ../standalone/rpmdrake_.c:161 msgid "Install" msgstr "Instaliraj" #: ../install_steps_graphical.pm_.c:492 ../install_steps_gtk.pm_.c:519 #: ../install_steps_interactive.pm_.c:317 msgid "Installing" msgstr "Instaliram" #: ../install_steps_graphical.pm_.c:499 ../install_steps_gtk.pm_.c:526 msgid "Please wait, " msgstr "Molim pričekajte," #: ../install_steps_graphical.pm_.c:501 ../install_steps_gtk.pm_.c:528 msgid "Time remaining " msgstr "Preostalo vrijeme" #: ../install_steps_graphical.pm_.c:502 ../install_steps_gtk.pm_.c:529 msgid "Total time " msgstr "Ukupno vrijeme" #: ../install_steps_graphical.pm_.c:507 ../install_steps_gtk.pm_.c:534 #: ../install_steps_interactive.pm_.c:317 msgid "Preparing installation" msgstr "Pripremam instalaciju" #: ../install_steps_graphical.pm_.c:528 ../install_steps_gtk.pm_.c:549 #, c-format msgid "Installing package %s" msgstr "Instaliram paket %s" #: ../install_steps_graphical.pm_.c:553 ../install_steps_gtk.pm_.c:574 msgid "Go on anyway?" msgstr "Da ipak nastavim?" #: ../install_steps_graphical.pm_.c:553 ../install_steps_gtk.pm_.c:574 msgid "There was an error ordering packages:" msgstr "" #: ../install_steps_graphical.pm_.c:577 ../install_steps_interactive.pm_.c:893 msgid "Use existing configuration for X11?" msgstr "Da koristim postojeću postavu X11?" #: ../install_steps_gtk.pm_.c:259 msgid "" "WARNING!\n" "\n" "DrakX now needs to resize your Windows partition. Be careful: this operation " "is\n" "dangerous. If you have not already done so, you should first exit the\n" "installation, run scandisk under Windows (and optionally run defrag), then\n" "restart the installation. You should also backup your data.\n" "When sure, press Ok." msgstr "" "UPOZORENJE!\n" "\n" "DrakX sada mora promijeniti veličinu vaše Windows particije\n" "Budite vrlo oprezni budući da je ova operacija\n" "izuzetno opasna. Ukoliko još niste mijenjali veličinu particije molim\n" "pokrenite scandisk (a preporučam i defrag) i provjerite particiju koju\n" "želite mijenjati. Također preporučljivo je da backupirati sve podatke sa " "Windows particije.\n" "Kada ste sigurni da želite nastaviti, pritisnite U redu." #: ../install_steps_gtk.pm_.c:278 msgid "Automatic resizing failed" msgstr "Automatsko mijenjanje veličine nije uspjelo" #: ../install_steps_gtk.pm_.c:312 msgid "" "Now that you've selected desired groups, please choose \n" "how many packages you want, ranging from minimal to full \n" "installation of each selected groups." msgstr "" #: ../install_steps_gtk.pm_.c:315 msgid "You will be able to choose more precisely in next step" msgstr "Detaljniji izbor nalazi se u slijedećem koraku" # #: ../install_steps_gtk.pm_.c:372 msgid "Bad package" msgstr "Loš paket" #: ../install_steps_gtk.pm_.c:522 msgid "Estimating" msgstr "Procjenjujem" #: ../install_steps_gtk.pm_.c:544 #, c-format msgid "%d packages" msgstr "%d paketa" #: ../install_steps_gtk.pm_.c:544 msgid ", %U MB" msgstr ", %U MB" #: ../install_steps_interactive.pm_.c:37 msgid "An error occurred" msgstr "Pojavila se greška" #: ../install_steps_interactive.pm_.c:54 msgid "Which language do you want?" msgstr "Koji jezik želite?" #: ../install_steps_interactive.pm_.c:68 ../standalone/keyboarddrake_.c:22 msgid "Keyboard" msgstr "Tipkovnica" #: ../install_steps_interactive.pm_.c:69 ../standalone/keyboarddrake_.c:23 msgid "What is your keyboard layout?" msgstr "Koji raspored tipkovnice imate?" #: ../install_steps_interactive.pm_.c:79 msgid "Install/Upgrade" msgstr "Instaliraj/Nadogradi" #: ../install_steps_interactive.pm_.c:80 msgid "Is this an install or an upgrade?" msgstr "Da li je ovo instalacija ili nadogradnja?" #: ../install_steps_interactive.pm_.c:81 msgid "Upgrade" msgstr "Dogradnja" #: ../install_steps_interactive.pm_.c:89 msgid "Root Partition" msgstr "Korijenska particija" #: ../install_steps_interactive.pm_.c:90 msgid "What is the root partition (/) of your system?" msgstr "Koja je korijenska particija (/) vašeg sustava?" #: ../install_steps_interactive.pm_.c:100 msgid "Recommended" msgstr "Preporučeno" #: ../install_steps_interactive.pm_.c:101 msgid "Customized" msgstr "Prilagođeno" #: ../install_steps_interactive.pm_.c:102 msgid "Expert" msgstr "Ekspert" #: ../install_steps_interactive.pm_.c:104 #: ../install_steps_interactive.pm_.c:118 msgid "Install Class" msgstr "Instalacijski razred" #: ../install_steps_interactive.pm_.c:105 msgid "What installation class do you want?" msgstr "Koji instalacijski razred želite?" #: ../install_steps_interactive.pm_.c:114 msgid "Normal" msgstr "Normalno" #: ../install_steps_interactive.pm_.c:115 msgid "Development" msgstr "Razvojno" #: ../install_steps_interactive.pm_.c:116 msgid "Server" msgstr "Poslužitelj" #: ../install_steps_interactive.pm_.c:119 msgid "What usage do you want?" msgstr "Kakvu uporabu želite?" #: ../install_steps_interactive.pm_.c:132 ../standalone/mousedrake_.c:25 msgid "What is the type of your mouse?" msgstr "Koja je vrsta vašeg miša?" #: ../install_steps_interactive.pm_.c:140 ../standalone/mousedrake_.c:38 msgid "Mouse Port" msgstr "Port miša" #: ../install_steps_interactive.pm_.c:141 ../standalone/mousedrake_.c:39 msgid "Which serial port is your mouse connected to?" msgstr "Na koji serijski port je miš priključen?" #: ../install_steps_interactive.pm_.c:157 msgid "no available partitions" msgstr "nema dostupnih particija" #: ../install_steps_interactive.pm_.c:159 #, c-format msgid "(%dMb)" msgstr "(%dMb)" #: ../install_steps_interactive.pm_.c:166 msgid "Which partition do you want to use as your root partition" msgstr "Koju particiju želite koristiti kao korijensku particiju (/)" #: ../install_steps_interactive.pm_.c:173 msgid "Choose the mount points" msgstr "Odaberite mjesta montiranja" #: ../install_steps_interactive.pm_.c:185 msgid "You need to reboot for the partition table modifications to take place" msgstr "" "Morate ponovo pokrenuti sustav kako bi se aktivirala promjena particijske " "tablice" #: ../install_steps_interactive.pm_.c:207 msgid "Choose the partitions you want to format" msgstr "Izaberite particije koje želite formatirati" #: ../install_steps_interactive.pm_.c:211 msgid "Check bad blocks?" msgstr "" #: ../install_steps_interactive.pm_.c:230 msgid "Looking for available packages" msgstr "Tražim dostupne pakete" #: ../install_steps_interactive.pm_.c:236 msgid "Finding packages to upgrade" msgstr "Tražim pakete koje mogu nadograditi" #: ../install_steps_interactive.pm_.c:266 #, c-format msgid "" "You need %dMB for a full install of the groups you selected.\n" "You can go on anyway, but be warned that you won't get all packages" msgstr "" #: ../install_steps_interactive.pm_.c:290 msgid "Package Group Selection" msgstr "Odabir grupe paketa" #: ../install_steps_interactive.pm_.c:326 msgid "" "Installing package %s\n" "%d%%" msgstr "" "Instaliram paket %s\n" "%d%%" # #: ../install_steps_interactive.pm_.c:335 msgid "Post install configuration" msgstr "Postavke nakon instalacije" #: ../install_steps_interactive.pm_.c:346 msgid "Keep the current IP configuration" msgstr "Zadrži postojeću IP postavu" #: ../install_steps_interactive.pm_.c:347 msgid "Reconfigure network now" msgstr "Promijeni mrežne postavke" #: ../install_steps_interactive.pm_.c:348 #: ../install_steps_interactive.pm_.c:360 msgid "Do not set up networking" msgstr "Ne podešavaj mrežu" #: ../install_steps_interactive.pm_.c:350 #: ../install_steps_interactive.pm_.c:358 msgid "Network Configuration" msgstr "Postavke mreže" #: ../install_steps_interactive.pm_.c:351 msgid "Local networking has already been configured. Do you want to:" msgstr "Lokalna mreža je već podešena. Da li želite:" #: ../install_steps_interactive.pm_.c:359 msgid "Do you want to configure networking for your system?" msgstr "Da li želite podesiti mrežne postavke sustava?" #: ../install_steps_interactive.pm_.c:360 msgid "Dialup with modem" msgstr "Dialup sa modemom" #: ../install_steps_interactive.pm_.c:360 msgid "Local LAN" msgstr "Lokalni LAN" #: ../install_steps_interactive.pm_.c:369 msgid "no network card found" msgstr "ne mogu pronaći niti jednu mrežnu karticu" #: ../install_steps_interactive.pm_.c:399 #: ../install_steps_interactive.pm_.c:400 #, c-format msgid "Configuring network device %s" msgstr "Podešavam mrežni uređaj %s" #: ../install_steps_interactive.pm_.c:401 msgid "" "Please enter the IP configuration for this machine.\n" "Each item should be entered as an IP address in dotted-decimal\n" "notation (for example, 1.2.3.4)." msgstr "" "Molim unesite IP postavke za ovaj stroj.\n" "Svaka stavka treba biti unesena kao IP adresa odvojena\n" "točkama (npr. 1.2.3.4)" #: ../install_steps_interactive.pm_.c:404 msgid "Automatic IP" msgstr "Automatski IP" #: ../install_steps_interactive.pm_.c:404 msgid "IP address:" msgstr "IP adresa:" #: ../install_steps_interactive.pm_.c:404 msgid "Netmask:" msgstr "Netmask:" #: ../install_steps_interactive.pm_.c:405 msgid "(bootp/dhcp)" msgstr "(bootp/dhcp)" #: ../install_steps_interactive.pm_.c:411 ../printerdrake.pm_.c:149 msgid "IP address should be in format 1.2.3.4" msgstr "IP adresa treba biti oblika 1.2.3.4" #: ../install_steps_interactive.pm_.c:429 msgid "Configuring network" msgstr "Podešavam mrežu" #: ../install_steps_interactive.pm_.c:430 msgid "" "Please enter your host name.\n" "Your host name should be a fully-qualified host name,\n" "such as ``mybox.mylab.myco.com''.\n" "You may also enter the IP address of the gateway if you have one" msgstr "" "Molim unesite ime računala.\n" "Ime računala treba biti puno ime računala,\n" "primjerice mojeracunalo.odjel.domena.hr.\n" "Također unesite IP adresu gateway računala ako gateway postoji" #: ../install_steps_interactive.pm_.c:434 msgid "DNS server:" msgstr "DNS poslužitelj:" #: ../install_steps_interactive.pm_.c:434 msgid "Gateway device:" msgstr "Gateway uređaj:" #: ../install_steps_interactive.pm_.c:434 msgid "Gateway:" msgstr "Gateway:" #: ../install_steps_interactive.pm_.c:434 msgid "Host name:" msgstr "Ime računala:" #: ../install_steps_interactive.pm_.c:447 msgid "Try to find a modem?" msgstr "Da pokušam pronaći modem?" #: ../install_steps_interactive.pm_.c:457 msgid "Which serial port is your modem connected to?" msgstr "Na kojem se serijskom portu nalazi modem?" #: ../install_steps_interactive.pm_.c:462 msgid "Dialup options" msgstr "Podesi dialup" #: ../install_steps_interactive.pm_.c:463 msgid "Connection name" msgstr "Ime veze" #: ../install_steps_interactive.pm_.c:464 msgid "Phone number" msgstr "Telef. broj" #: ../install_steps_interactive.pm_.c:465 msgid "Login ID" msgstr "Prijavno ime" #: ../install_steps_interactive.pm_.c:466 #: ../install_steps_interactive.pm_.c:578 #: ../install_steps_interactive.pm_.c:624 #: ../install_steps_interactive.pm_.c:724 ../standalone/adduserdrake_.c:40 msgid "Password" msgstr "Lozinka" #: ../install_steps_interactive.pm_.c:467 msgid "Authentication" msgstr "Provjera autentičnosti" #: ../install_steps_interactive.pm_.c:467 msgid "CHAP" msgstr "CHAP" #: ../install_steps_interactive.pm_.c:467 msgid "PAP" msgstr "PAP" #: ../install_steps_interactive.pm_.c:467 msgid "Script-based" msgstr "Temeljem skripta" #: ../install_steps_interactive.pm_.c:467 msgid "Terminal-based" msgstr "Terminal-zasnovano" #: ../install_steps_interactive.pm_.c:468 msgid "Domain name" msgstr "Ime domene" #: ../install_steps_interactive.pm_.c:469 msgid "First DNS Server" msgstr "Prvi DNS poslužitelj" #: ../install_steps_interactive.pm_.c:470 msgid "Second DNS Server" msgstr "Drugi DNS poslužitelj" #: ../install_steps_interactive.pm_.c:483 msgid "Bringing up the network" msgstr "Podižem mrežu" #: ../install_steps_interactive.pm_.c:492 msgid "" "You have now the possibility to download software aimed for encryption.\n" "\n" "WARNING:\n" "\n" "Due to different general requirements applicable to these software and " "imposed\n" "by various jurisdictions, customer and/or end user of theses software " "should\n" "ensure that the laws of his/their jurisdiction allow him/them to download, " "stock\n" "and/or use these software.\n" "\n" "In addition customer and/or end user shall particularly be aware to not " "infringe\n" "the laws of his/their jurisdiction. Should customer and/or end user do not\n" "respect the provision of these applicable laws, he/they will incur serious\n" "sanctions.\n" "\n" "In no event shall Mandrakesoft nor its manufacturers and/or suppliers be " "liable\n" "for special, indirect or incidental damages whatsoever (including, but not\n" "limited to loss of profits, business interruption, loss of commercial data " "and\n" "other pecuniary losses, and eventual liabilities and indemnification to be " "paid\n" "pursuant to a court decision) arising out of use, possession, or the sole\n" "downloading of these software, to which customer and/or end user could\n" "eventually have access after having sign up the present agreement.\n" "\n" "\n" "For any queries relating to these agreement, please contact \n" "Mandrakesoft, Inc.\n" "2400 N. Lincoln Avenue Suite 243\n" "Altadena California 91001\n" "USA" msgstr "" #: ../install_steps_interactive.pm_.c:523 msgid "Choose a mirror from which to get the packages" msgstr "Izaberite mirror sa kojeg želite skinuti pakete" #: ../install_steps_interactive.pm_.c:528 msgid "Contacting the mirror to get the list of available packages" msgstr "Spajam se na mirror kako bih pribavio popis dostupnih paketa" #: ../install_steps_interactive.pm_.c:532 msgid "Which packages do you want to install" msgstr "Koje pakete želite instalirati" #: ../install_steps_interactive.pm_.c:534 msgid "Downloading cryptographic packages" msgstr "Preuzimam kriptografske pakete" #: ../install_steps_interactive.pm_.c:544 msgid "Which is your timezone?" msgstr "U kojoj ste vremenskoj zoni?" #: ../install_steps_interactive.pm_.c:545 msgid "Is your hardware clock set to GMT?" msgstr "Da li je vaš hardverski sat namješten na GMT?" #: ../install_steps_interactive.pm_.c:555 msgid "Printer" msgstr "Pisač" #: ../install_steps_interactive.pm_.c:556 msgid "Would you like to configure a printer?" msgstr "Da li želite podesiti pisač?" #: ../install_steps_interactive.pm_.c:576 msgid "No password" msgstr "Bez lozinke" #: ../install_steps_interactive.pm_.c:576 #: ../install_steps_interactive.pm_.c:798 ../interactive.pm_.c:74 #: ../interactive.pm_.c:84 ../interactive.pm_.c:164 #: ../interactive_newt.pm_.c:50 ../interactive_newt.pm_.c:97 #: ../interactive_stdio.pm_.c:27 ../my_gtk.pm_.c:192 ../my_gtk.pm_.c:425 #: ../my_gtk.pm_.c:525 msgid "Ok" msgstr "U redu" #: ../install_steps_interactive.pm_.c:579 #: ../install_steps_interactive.pm_.c:625 #: ../install_steps_interactive.pm_.c:725 ../standalone/adduserdrake_.c:41 msgid "Password (again)" msgstr "Lozinka(provjera)" #: ../install_steps_interactive.pm_.c:581 msgid "Use shadow file" msgstr "Koristi shadow datoteku" #: ../install_steps_interactive.pm_.c:581 msgid "shadow" msgstr "shadow" #: ../install_steps_interactive.pm_.c:582 msgid "MD5" msgstr "MD5" #: ../install_steps_interactive.pm_.c:582 msgid "Use MD5 passwords" msgstr "Koristi MD5 lozinke" #: ../install_steps_interactive.pm_.c:584 msgid "Use NIS" msgstr "Koristi NIS" #: ../install_steps_interactive.pm_.c:584 msgid "yellow pages" msgstr "yellow pages" #: ../install_steps_interactive.pm_.c:588 #: ../install_steps_interactive.pm_.c:636 #: ../install_steps_interactive.pm_.c:736 ../standalone/adduserdrake_.c:52 msgid "Please try again" msgstr "Molim pokušajte ponovo" #: ../install_steps_interactive.pm_.c:588 #: ../install_steps_interactive.pm_.c:636 #: ../install_steps_interactive.pm_.c:736 ../standalone/adduserdrake_.c:52 msgid "The passwords do not match" msgstr "Lozinke se ne podudaraju" #: ../install_steps_interactive.pm_.c:590 #, c-format msgid "This password is too simple (must be at least %d characters long)" msgstr "" "Ova lozinka je prejednostavna (lozinka mora sadržavati barem %d znakova)" #: ../install_steps_interactive.pm_.c:597 msgid "Authentification NIS" msgstr "Provjera autentičnosti NIS" #: ../install_steps_interactive.pm_.c:598 msgid "NIS Domain" msgstr "NIS domena" #: ../install_steps_interactive.pm_.c:598 msgid "NIS Server" msgstr "NIS poslužitelj" #: ../install_steps_interactive.pm_.c:618 ../standalone/adduserdrake_.c:34 msgid "Accept user" msgstr "Prihvati korisnika" #: ../install_steps_interactive.pm_.c:618 ../standalone/adduserdrake_.c:34 msgid "Add user" msgstr "Dodaj korisnika" #: ../install_steps_interactive.pm_.c:619 ../standalone/adduserdrake_.c:35 #, c-format msgid "(already added %s)" msgstr "(već postoji %s)" #: ../install_steps_interactive.pm_.c:619 ../standalone/adduserdrake_.c:35 #, c-format msgid "" "Enter a user\n" "%s" msgstr "" "Unesite korisnika\n" "%s" #: ../install_steps_interactive.pm_.c:621 ../standalone/adduserdrake_.c:37 msgid "Real name" msgstr "Puno ime" #: ../install_steps_interactive.pm_.c:622 ../standalone/adduserdrake_.c:38 msgid "User name" msgstr "Korisničko ime" #: ../install_steps_interactive.pm_.c:627 ../standalone/adduserdrake_.c:43 msgid "Shell" msgstr "Ljuska" #: ../install_steps_interactive.pm_.c:637 ../standalone/adduserdrake_.c:53 msgid "This password is too simple" msgstr "Lozinka je prejednostavna" #: ../install_steps_interactive.pm_.c:638 ../standalone/adduserdrake_.c:54 msgid "Please give a user name" msgstr "Molim dajte korisniku korisničko ime" #: ../install_steps_interactive.pm_.c:639 ../standalone/adduserdrake_.c:55 msgid "" "The user name must contain only lower cased letters, numbers, `-' and `_'" msgstr "Korisničko ime može sadržavati samo mala slova, brojeve, `-' i `_'" #: ../install_steps_interactive.pm_.c:640 ../standalone/adduserdrake_.c:56 msgid "This user name is already added" msgstr "Ovaj korisnik već postoji" #: ../install_steps_interactive.pm_.c:659 msgid "First drive" msgstr "Prvi disk" #: ../install_steps_interactive.pm_.c:660 msgid "Second drive" msgstr "Drugi disk" #: ../install_steps_interactive.pm_.c:661 msgid "Skip" msgstr "Preskoči" #: ../install_steps_interactive.pm_.c:666 msgid "" "A custom bootdisk provides a way of booting into your Linux system without\n" "depending on the normal bootloader. This is useful if you don't want to " "install\n" "LILO on your system, or another operating system removes LILO, or LILO " "doesn't\n" "work with your hardware configuration. A custom bootdisk can also be used " "with\n" "the Mandrake rescue image, making it much easier to recover from severe " "system\n" "failures. Would you like to create a bootdisk for your system?" msgstr "" #: ../install_steps_interactive.pm_.c:675 msgid "Sorry, no floppy drive available" msgstr "Žalim, međutim disketni pogon nije dostupan" #: ../install_steps_interactive.pm_.c:678 msgid "Choose the floppy drive you want to use to make the bootdisk" msgstr "Izaberite disketni pogon koji želite koristiti za izradu boot diskete" #: ../install_steps_interactive.pm_.c:683 #, c-format msgid "Insert a floppy in drive %s" msgstr "Umetnite disketu u pogon %s" #: ../install_steps_interactive.pm_.c:684 #: ../install_steps_interactive.pm_.c:1042 msgid "Creating bootdisk" msgstr "Stvaram boot disketu" #: ../install_steps_interactive.pm_.c:691 msgid "Preparing bootloader" msgstr "Pripremam bootloader" #: ../install_steps_interactive.pm_.c:703 msgid "First sector of boot partition" msgstr "Prvi sektor boot particije" #: ../install_steps_interactive.pm_.c:703 msgid "First sector of drive (MBR)" msgstr "Prvi sektor pogona (MBR)" #: ../install_steps_interactive.pm_.c:708 msgid "LILO Installation" msgstr "LILO instalacija" #: ../install_steps_interactive.pm_.c:709 msgid "Where do you want to install the bootloader?" msgstr "Gdje želite instalirati bootloader?" #: ../install_steps_interactive.pm_.c:715 msgid "Do you want to use LILO?" msgstr "Da li želite koristiti LILO?" #: ../install_steps_interactive.pm_.c:718 msgid "Boot device" msgstr "Boot uređaj" #: ../install_steps_interactive.pm_.c:719 msgid "Linear (needed for some SCSI drives)" msgstr "Linearno (potrebno za neke SCSI uređaje)" #: ../install_steps_interactive.pm_.c:719 msgid "linear" msgstr "linearno" #: ../install_steps_interactive.pm_.c:720 msgid "Compact" msgstr "Zbijeno" #: ../install_steps_interactive.pm_.c:720 msgid "compact" msgstr "zbijeno" #: ../install_steps_interactive.pm_.c:721 msgid "Delay before booting default image" msgstr "Odgoda prije bootiranja uobičajenog imagea" #: ../install_steps_interactive.pm_.c:722 msgid "Video mode" msgstr "" #: ../install_steps_interactive.pm_.c:726 msgid "Restrict command line options" msgstr "Ograničene opcije na komandnoj liniji" #: ../install_steps_interactive.pm_.c:726 msgid "restrict" msgstr "ograniči" #: ../install_steps_interactive.pm_.c:732 msgid "LILO main options" msgstr "LILO glavne postavke" #: ../install_steps_interactive.pm_.c:735 msgid "" "Option ``Restrict command line options'' is of no use without a password" msgstr "" "Postavka ``Ograničene opcije na komandnoj liniji'' nema svrhe ako ne unesete " "lozinku" #: ../install_steps_interactive.pm_.c:746 msgid "" "Here are the following entries in LILO.\n" "You can add some more or change the existing ones." msgstr "" "Ovo su trenutni zapisi u LILO-u.\n" "Možete dodati još koji ili urediti postojeći." #: ../install_steps_interactive.pm_.c:748 ../standalone/rpmdrake_.c:302 msgid "Add" msgstr "Dodaj" #: ../install_steps_interactive.pm_.c:757 msgid "Linux" msgstr "Linux" #: ../install_steps_interactive.pm_.c:757 msgid "Other OS (windows...)" msgstr "Drugi OS (Windows...)" #: ../install_steps_interactive.pm_.c:757 msgid "Which type of entry do you want to add" msgstr "Kakvu vrstu zapisa želite dodati" #: ../install_steps_interactive.pm_.c:777 msgid "Image" msgstr "Image" #: ../install_steps_interactive.pm_.c:778 #: ../install_steps_interactive.pm_.c:786 msgid "Root" msgstr "Root" #: ../install_steps_interactive.pm_.c:779 msgid "Append" msgstr "Dodaj na kraj" #: ../install_steps_interactive.pm_.c:780 msgid "Initrd" msgstr "Initrd" #: ../install_steps_interactive.pm_.c:781 msgid "Read-write" msgstr "Read-write" #: ../install_steps_interactive.pm_.c:787 msgid "Table" msgstr "Tablica" #: ../install_steps_interactive.pm_.c:788 msgid "Unsafe" msgstr "Nesigurno" #: ../install_steps_interactive.pm_.c:793 msgid "Label" msgstr "Oznaka" #: ../install_steps_interactive.pm_.c:795 msgid "Default" msgstr "Uobičajeno" #: ../install_steps_interactive.pm_.c:798 msgid "Remove entry" msgstr "Ukloni zapis" #: ../install_steps_interactive.pm_.c:801 msgid "Empty label not allowed" msgstr "Prazna oznaka nije dozvoljena" #: ../install_steps_interactive.pm_.c:802 msgid "This label is already in use" msgstr "Ova oznaka već postoji" #: ../install_steps_interactive.pm_.c:803 #, c-format msgid "A entry %s already exists" msgstr "Zapis %s već postoji" #: ../install_steps_interactive.pm_.c:817 msgid "Installation of LILO failed. The following error occured:" msgstr "Instalacija LILO-a nije uspjela. Prijavljena je slijedeća grešska:" #: ../install_steps_interactive.pm_.c:831 msgid "Proxies configuration" msgstr "Postavke proxya" #: ../install_steps_interactive.pm_.c:832 msgid "HTTP proxy" msgstr "HTTP proxy" #: ../install_steps_interactive.pm_.c:833 msgid "FTP proxy" msgstr "FTP proxy" #: ../install_steps_interactive.pm_.c:839 msgid "Proxy should be http://..." msgstr "Proxy treba biti http://" #: ../install_steps_interactive.pm_.c:840 msgid "Proxy should be ftp://..." msgstr "Proxy treba biti ftp://" #: ../install_steps_interactive.pm_.c:850 ../standalone/draksec_.c:20 msgid "Welcome To Crackers" msgstr "Dobrodošli u Crackers" #: ../install_steps_interactive.pm_.c:851 ../standalone/draksec_.c:21 msgid "Poor" msgstr "Slab" #: ../install_steps_interactive.pm_.c:852 ../standalone/draksec_.c:22 msgid "Low" msgstr "Nizak" #: ../install_steps_interactive.pm_.c:853 ../standalone/draksec_.c:23 msgid "Medium" msgstr "Srednji" #: ../install_steps_interactive.pm_.c:854 ../standalone/draksec_.c:24 msgid "High" msgstr "Visok" #: ../install_steps_interactive.pm_.c:855 ../standalone/draksec_.c:25 msgid "Paranoid" msgstr "Paranoidan" #: ../install_steps_interactive.pm_.c:868 msgid "Miscellaneous questions" msgstr "Razna pitanja" #: ../install_steps_interactive.pm_.c:869 msgid "(may cause data corruption)" msgstr "(može uzrokovati oštećenje podataka)" #: ../install_steps_interactive.pm_.c:869 msgid "Use hard drive optimisations?" msgstr "Koristi optimizacije hard diska?" #: ../install_steps_interactive.pm_.c:870 ../standalone/draksec_.c:46 msgid "Choose security level" msgstr "Izaberite sigurnosni nivo" #: ../install_steps_interactive.pm_.c:871 #, c-format msgid "Precise RAM size if needed (found %d MB)" msgstr "Precizna veličina RAM (pronađeno %d MB)" #: ../install_steps_interactive.pm_.c:872 msgid "Removable media automounting" msgstr "Automatsko montiranje uklonjivog (removable) medija" #: ../install_steps_interactive.pm_.c:874 msgid "Enable num lock at startup" msgstr "Uključi NumLock kod pokretanja" #: ../install_steps_interactive.pm_.c:877 msgid "Give the ram size in Mb" msgstr "Upišite veličinu RAM u Mb" #: ../install_steps_interactive.pm_.c:905 #: ../install_steps_interactive.pm_.c:1075 msgid "Try to find PCI devices?" msgstr "Da li tražim PCI uređaje?" #: ../install_steps_interactive.pm_.c:920 msgid "" "Some steps are not completed.\n" "\n" "Do you really want to quit now?" msgstr "" "Niste završili sve korake.\n" "\n" "Želite li zbilja završiti?" #: ../install_steps_interactive.pm_.c:927 msgid "" "Congratulations, installation is complete.\n" "Remove the boot media and press return to reboot.\n" "\n" "For information on fixes which are available for this release of " "Linux-Mandrake,\n" "consult the Errata available from http://www.linux-mandrake.com/.\n" "\n" "Information on configuring your system is available in the post\n" "install chapter of the Official Linux-Mandrake User's Guide." msgstr "" #: ../install_steps_interactive.pm_.c:936 msgid "Shutting down" msgstr "Gašenje sustava" #: ../install_steps_interactive.pm_.c:950 #, c-format msgid "Installing driver for %s card %s" msgstr "Instaliram upravljački program %s za karticu %s" #: ../install_steps_interactive.pm_.c:951 #, c-format msgid "(module %s)" msgstr "(modul %s)" #: ../install_steps_interactive.pm_.c:961 #, c-format msgid "Which %s driver should I try?" msgstr "Koji upravljački program da isprobam?" #: ../install_steps_interactive.pm_.c:969 #, c-format msgid "" "In some cases, the %s driver needs to have extra information to work\n" "properly, although it normally works fine without. Would you like to " "specify\n" "extra options for it or allow the driver to probe your machine for the\n" "information it needs? Occasionally, probing will hang a computer, but it " "should\n" "not cause any damage." msgstr "" #: ../install_steps_interactive.pm_.c:974 msgid "Autoprobe" msgstr "Auto. ispitaj" #: ../install_steps_interactive.pm_.c:974 msgid "Specify options" msgstr "Odredi postavke" #: ../install_steps_interactive.pm_.c:978 #, c-format msgid "You may now provide its options to module %s." msgstr "Sada možete unijeti postavke za modul %s." #: ../install_steps_interactive.pm_.c:984 #, c-format msgid "" "You may now provide its options to module %s.\n" "Options are in format ``name=value name2=value2 ...''.\n" "For instance, ``io=0x300 irq=7''" msgstr "" "Sada možete unijeti postavke za modul %s.\n" "Postavke su formata ``ime=vrijednost ime2=vrijednost2...''.\n" "Na primjer, ``io=0x300 irq=7''" #: ../install_steps_interactive.pm_.c:987 msgid "Module options:" msgstr "Postavke modula:" #: ../install_steps_interactive.pm_.c:997 #, c-format msgid "" "Loading module %s failed.\n" "Do you want to try again with other parameters?" msgstr "" "Učitavanje modula %s nije uspjelo.\n" "Da li želite pokušati ponovo sa drugim parametrima?" #: ../install_steps_interactive.pm_.c:1010 msgid "Try to find PCMCIA cards?" msgstr "Da li da tražim PCMCIA kartice?" #: ../install_steps_interactive.pm_.c:1011 msgid "Configuring PCMCIA cards..." msgstr "Podešavam PCMCIA kartice..." #: ../install_steps_interactive.pm_.c:1011 msgid "PCMCIA" msgstr "PCMCIA" #: ../install_steps_interactive.pm_.c:1018 msgid "" "Linux does not yet fully support ultra dma 66 HPT.\n" "As a work-around i can make a custom floppy giving access the hard drive on " "ide2 and ide3" msgstr "" #: ../install_steps_interactive.pm_.c:1039 msgid "" "Enter a floppy to create an HTP enabled boot\n" "(all data on floppy will be lost)" msgstr "" #: ../install_steps_interactive.pm_.c:1056 msgid "It is necessary to restart installation booting on the floppy" msgstr "Potrebno je ponovo pokrenuti instalaciju sa bootiranjem sa diskete" #: ../install_steps_interactive.pm_.c:1057 msgid "It is necessary to restart installation with the new parameters" msgstr "Potrebno je ponovo pokrenuti instalaciju sa novim parametrima" #: ../install_steps_interactive.pm_.c:1061 #, c-format msgid "" "Failed to create an HTP boot floppy.\n" "You may have to restart installation and give ``%s'' at the prompt" msgstr "" #: ../install_steps_interactive.pm_.c:1081 #, c-format msgid "Found %s %s interfaces" msgstr "Pronašao sam %s %s interfacea" #: ../install_steps_interactive.pm_.c:1082 msgid "Do you have another one?" msgstr "Da li imate još koji?" #: ../install_steps_interactive.pm_.c:1083 #, c-format msgid "Do you have any %s interface?" msgstr "Da li imate %s interface?" #: ../install_steps_interactive.pm_.c:1085 ../interactive.pm_.c:79 #: ../my_gtk.pm_.c:424 ../printerdrake.pm_.c:176 msgid "No" msgstr "Ne" #: ../install_steps_interactive.pm_.c:1085 ../interactive.pm_.c:79 #: ../my_gtk.pm_.c:424 msgid "Yes" msgstr "Da" #: ../install_steps_interactive.pm_.c:1086 msgid "See hardware info" msgstr "Pokaži info o hardveru" #: ../install_steps_newt.pm_.c:19 #, c-format msgid "Linux-Mandrake Installation %s" msgstr "Linux-Mandrake instalacija %s" #: ../install_steps_newt.pm_.c:30 msgid "" " <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen " msgstr "" " <Tab>/<Alt-Tab> između elemenata | <Space> bira | <F12> slijedeći zaslon" #: ../interactive.pm_.c:84 ../interactive.pm_.c:163 #: ../interactive_newt.pm_.c:50 ../interactive_newt.pm_.c:97 #: ../interactive_stdio.pm_.c:27 ../my_gtk.pm_.c:193 ../my_gtk.pm_.c:425 msgid "Cancel" msgstr "Odustani" #: ../interactive.pm_.c:181 msgid "Please wait" msgstr "Molim pričekajte" #: ../interactive_stdio.pm_.c:35 #, c-format msgid "Ambiguity (%s), be more precise\n" msgstr "Dvosmislenost (%s), budite precizniji\n" #: ../interactive_stdio.pm_.c:36 ../interactive_stdio.pm_.c:51 #: ../interactive_stdio.pm_.c:70 msgid "Bad choice, try again\n" msgstr "Krivi izbor, pokušajte ponovo\n" #: ../interactive_stdio.pm_.c:39 #, c-format msgid " ? (default %s) " msgstr " ? (uobičajeno %s) " #: ../interactive_stdio.pm_.c:52 #, c-format msgid "Your choice? (default %s) " msgstr "Vaš izbor? (uobičajeno %s) " #: ../interactive_stdio.pm_.c:71 #, c-format msgid "Your choice? (default %s enter `none' for none) " msgstr "Vaš izbor? (uobičajeno %s unesite `none' za nijedan)" #: ../keyboard.pm_.c:88 msgid "Armenian" msgstr "Armenska" #: ../keyboard.pm_.c:89 msgid "Belgian" msgstr "Belgijska" #: ../keyboard.pm_.c:90 msgid "Bulgarian" msgstr "Bugarska" #: ../keyboard.pm_.c:91 msgid "Brazilian" msgstr "Brazilska" #: ../keyboard.pm_.c:92 msgid "Swiss (French layout)" msgstr "Švicarska (francuski raspored)" #: ../keyboard.pm_.c:93 msgid "Swiss (German layout)" msgstr "Švicarska (Njemački raspored)" #: ../keyboard.pm_.c:94 msgid "Czech" msgstr "Češka" #: ../keyboard.pm_.c:95 msgid "German" msgstr "Njemačka" #: ../keyboard.pm_.c:96 msgid "Danish" msgstr "Danska" #: ../keyboard.pm_.c:97 msgid "Dvorak" msgstr "Dvorak" #: ../keyboard.pm_.c:98 msgid "Estonian" msgstr "Estonska" #: ../keyboard.pm_.c:99 msgid "Spanish" msgstr "Španjolska" #: ../keyboard.pm_.c:100 msgid "Finnish" msgstr "Finska" #: ../keyboard.pm_.c:101 msgid "French" msgstr "Francuska" #: ../keyboard.pm_.c:102 msgid "Georgian (\"Russian\" layout)" msgstr "Gruzijska (\"Ruski\" raspored)" #: ../keyboard.pm_.c:103 msgid "Georgian (\"Latin\" layout)" msgstr "Gruzijska (\"Latin\" raspored)" #: ../keyboard.pm_.c:104 msgid "Greek" msgstr "Grčka" #: ../keyboard.pm_.c:105 msgid "Hungarian" msgstr "Mađarska" #: ../keyboard.pm_.c:106 msgid "Israeli" msgstr "Izraelska" #: ../keyboard.pm_.c:107 msgid "Israeli (Phonetic)" msgstr "Izraelska (fonetska)" #: ../keyboard.pm_.c:108 msgid "Icelandic" msgstr "Islandska" #: ../keyboard.pm_.c:109 msgid "Italian" msgstr "Talijanska" #: ../keyboard.pm_.c:110 msgid "Latin American" msgstr "Latino američka" #: ../keyboard.pm_.c:111 msgid "Dutch" msgstr "Nizozemska" #: ../keyboard.pm_.c:112 msgid "Lithuanian AZERTY" msgstr "Lituanska AZERTY" #: ../keyboard.pm_.c:113 msgid "Lithuanian \"number row\" QWERTY" msgstr "Lituanska \"number row\" QWERTY" #: ../keyboard.pm_.c:114 msgid "Lithuanian \"phonetic\" QWERTY" msgstr "Lituanska \"fonetska\" QWERTY" #: ../keyboard.pm_.c:115 msgid "Norwegian" msgstr "Norveška" #: ../keyboard.pm_.c:116 #, fuzzy msgid "Polish (qwerty layout)" msgstr "Švicarska (Njemački raspored)" #: ../keyboard.pm_.c:117 #, fuzzy msgid "Polish (qwertz layout)" msgstr "Švicarska (Njemački raspored)" #: ../keyboard.pm_.c:118 msgid "Portuguese" msgstr "Portugalska" #: ../keyboard.pm_.c:119 msgid "Canadian (Quebec)" msgstr "Kanadska (Quebec)" #: ../keyboard.pm_.c:120 msgid "Russian" msgstr "Ruska" #: ../keyboard.pm_.c:121 msgid "Russian (Yawerty)" msgstr "Ruska (Yawerty)" #: ../keyboard.pm_.c:122 msgid "Swedish" msgstr "Švedska" #: ../keyboard.pm_.c:123 msgid "Slovenian" msgstr "Slovenska" #: ../keyboard.pm_.c:124 msgid "Slovakian" msgstr "Slovačka" #: ../keyboard.pm_.c:125 msgid "Thai keyboard" msgstr "Tajlandska tipkovnica" #: ../keyboard.pm_.c:126 msgid "Turkish (traditional \"F\" model)" msgstr "Turska (tradicionalni \"F\" model)" #: ../keyboard.pm_.c:127 msgid "Turkish (modern \"Q\" model)" msgstr "Turska (moderna \"Q\" model)" #: ../keyboard.pm_.c:128 msgid "Ukrainian" msgstr "Ukrajinska" #: ../keyboard.pm_.c:129 msgid "UK keyboard" msgstr "UK tipkovnica" #: ../keyboard.pm_.c:130 msgid "US keyboard" msgstr "US tipkovnica" #: ../keyboard.pm_.c:131 msgid "US keyboard (international)" msgstr "US keyboard (internacionalna)" #: ../keyboard.pm_.c:132 msgid "Yugoslavian (latin layout)" msgstr "Jugoslavenska (latinični raspored)" # NOTE: this message will be displayed by lilo at boot time; that is # using the BIOS font; that means cp437 charset on 99.99% of PC computers # out there. It is the nsuggested that for non latin languages an ascii # transliteration be used; or maybe the english text be used; as it is best # #: ../lilo.pm_.c:145 #, c-format msgid "" "Welcome to LILO the operating system chooser!\n" "\n" "To list the possible choices, press <TAB>.\n" "\n" "To load one of them, write its name and press <ENTER> or wait %d seconds for " "default boot.\n" "\n" msgstr "" "Dobrodosli u LILO izbornik operativnih sustava!\n" "\n" "Za popis dostupnih sustava pritisnite <TAB>.\n" "\n" "Ako zelite ucitati neki od operativnih sustava upišite njegovo ime\n" "i pritisnite <ENTER> oili pricekajte %d sekundi za podrazumijevani\n" "operativni sustav.\n" #: ../mouse.pm_.c:20 msgid "No Mouse" msgstr "Nema miša" #: ../mouse.pm_.c:21 msgid "Microsoft Rev 2.1A or higher (serial)" msgstr "Microsoft Rev 2.1A ili više (serijski)" #: ../mouse.pm_.c:22 msgid "Logitech CC Series (serial)" msgstr "Logitech CC Series (serijski)" #: ../mouse.pm_.c:23 msgid "Logitech MouseMan+/FirstMouse+ (serial)" msgstr "Logitech MouseMan+/FirstMouse+ (serijski)" #: ../mouse.pm_.c:24 msgid "ASCII MieMouse (serial)" msgstr "ASCII MieMouse (serijski)" #: ../mouse.pm_.c:25 msgid "Genius NetMouse (serial)" msgstr "Genius NetMouse (serijski)" #: ../mouse.pm_.c:26 msgid "Microsoft IntelliMouse (serial)" msgstr "Microsoft IntelliMouse (serijski)" #: ../mouse.pm_.c:27 msgid "MM Series (serial)" msgstr "MM Series (serijski)" #: ../mouse.pm_.c:28 msgid "MM HitTablet (serial)" msgstr "MM HitTablet (serijski)" #: ../mouse.pm_.c:29 msgid "Logitech Mouse (serial, old C7 type)" msgstr "Logitech Miš (serijski, stari C7 tip)" #: ../mouse.pm_.c:30 msgid "Logitech MouseMan/FirstMouse (serial)" msgstr "Logitech MouseMan/FirstMouse (serijski)" #: ../mouse.pm_.c:31 msgid "Generic Mouse (serial)" msgstr "Generički Miš (serijski)" #: ../mouse.pm_.c:32 msgid "Microsoft compatible (serial)" msgstr "Microsoft compatible (serial)" #: ../mouse.pm_.c:33 msgid "Generic 3 Button Mouse (serial)" msgstr "Generic 3 Button Mouse (serial)" #: ../mouse.pm_.c:34 msgid "Mouse Systems (serial)" msgstr "Mouse Systems (serial)" #: ../mouse.pm_.c:35 msgid "Generic Mouse (PS/2)" msgstr "Generički miš (PS/2)" #: ../mouse.pm_.c:36 msgid "Logitech MouseMan/FirstMouse (ps/2)" msgstr "Logitech MouseMan/FirstMouse (ps/2)" #: ../mouse.pm_.c:37 msgid "Generic 3 Button Mouse (PS/2)" msgstr "Generički miš s 3 gumba (PS/2)" #: ../mouse.pm_.c:38 msgid "ALPS GlidePoint (PS/2)" msgstr "ALPS GlidePoint (PS/2)" #: ../mouse.pm_.c:39 msgid "Logitech MouseMan+/FirstMouse+ (PS/2)" msgstr "Logitech MouseMan+/FirstMouse+ (PS/2)" #: ../mouse.pm_.c:40 msgid "Kensington Thinking Mouse (PS/2)" msgstr "Kensington Thinking Mouse (PS/2)" #: ../mouse.pm_.c:41 msgid "ASCII MieMouse (PS/2)" msgstr "ASCII MieMouse (PS/2)" #: ../mouse.pm_.c:42 msgid "Genius NetMouse (PS/2)" msgstr "Genius NetMouse (PS/2)" #: ../mouse.pm_.c:43 msgid "Genius NetMouse Pro (PS/2)" msgstr "Genius NetMouse Pro (PS/2)" #: ../mouse.pm_.c:44 msgid "Genius NetScroll (PS/2)" msgstr "Genius NetScroll (PS/2)" #: ../mouse.pm_.c:45 msgid "Microsoft IntelliMouse (PS/2)" msgstr "Microsoft IntelliMouse (PS/2)" #: ../mouse.pm_.c:46 msgid "ATI Bus Mouse" msgstr "ATI Bus miš" #: ../mouse.pm_.c:47 msgid "Microsoft Bus Mouse" msgstr "Microsoft Bus miš" #: ../mouse.pm_.c:48 msgid "Logitech Bus Mouse" msgstr "Logitech Bus miš" #: ../mouse.pm_.c:49 msgid "USB Mouse" msgstr "USB miš" #: ../mouse.pm_.c:50 msgid "USB Mouse (3 buttons or more)" msgstr "USB miš (3 gumba i više)" #: ../partition_table.pm_.c:486 msgid "" "You have a hole in your partition table but I can't use it.\n" "The only solution is to move your primary partitions to have the hole next " "to the extended partitions" msgstr "" "Imate rupu u svojoj particijskoj tablici međutim ja je ne mogu iskoristiti.\n" "Jedino rješenje je da pomaknete vašu primarnu particiju kako bi rupa bila\n" "odmah do proširenih particija." #: ../partition_table.pm_.c:572 #, c-format msgid "Error reading file %s" msgstr "Greška prilikom čitanja datoteke %s" #: ../partition_table.pm_.c:579 #, c-format msgid "Restoring from file %s failed: %s" msgstr "Vraćanje iz datoteke %s nije uspjelo: %s" #: ../partition_table.pm_.c:581 msgid "Bad backup file" msgstr "Loša backup datoteka" #: ../partition_table.pm_.c:602 #, c-format msgid "Error writing to file %s" msgstr "Greška prilikom pisanja u datoteku %s" # #: ../placeholder.pm_.c:5 msgid "Show less" msgstr "Prikaži manje" #: ../placeholder.pm_.c:6 msgid "Show more" msgstr "Prikaži više" #: ../printer.pm_.c:244 msgid "Local printer" msgstr "Lokalni pisač" #: ../printer.pm_.c:245 msgid "Remote lpd" msgstr "Udaljeni lpd" #: ../printer.pm_.c:246 msgid "SMB/Windows 95/98/NT" msgstr "SMB/Windows 95/98/NT" #: ../printer.pm_.c:247 msgid "NetWare" msgstr "NetWare" #: ../printerdrake.pm_.c:75 msgid "Local Printer Options" msgstr "Postavke lokalnog pisača" #: ../printerdrake.pm_.c:76 msgid "" "Every print queue (which print jobs are directed to) needs a\n" "name (often lp) and a spool directory associated with it. What\n" "name and directory should be used for this queue?" msgstr "" #: ../printerdrake.pm_.c:79 msgid "Name of queue:" msgstr "Ime reda:" #: ../printerdrake.pm_.c:79 msgid "Spool directory:" msgstr "Posrednički direktorij:" #: ../printerdrake.pm_.c:90 msgid "Select Printer Connection" msgstr "Odaberi vezu pisača" #: ../printerdrake.pm_.c:91 msgid "How is the printer connected?" msgstr "Kako je pisač povezan?" #: ../printerdrake.pm_.c:99 msgid "Detecting devices..." msgstr "Otkrivanje uređaja..." #: ../printerdrake.pm_.c:99 msgid "Test ports" msgstr "Iskušaj portove" #: ../printerdrake.pm_.c:112 #, c-format msgid "A printer, model \"%s\", has been detected on " msgstr "Pisač, model \"%s\", je otkriven na " #: ../printerdrake.pm_.c:119 msgid "Local Printer Device" msgstr "Uređaj lokalnog pisača" #: ../printerdrake.pm_.c:120 msgid "" "What device is your printer connected to \n" "(note that /dev/lp0 is equivalent to LPT1:)?\n" msgstr "" "Na koji uređaj je vaš pisač spojen \n" "(napomena: /dev/lp0 je jednak LPT1:)?\n" #: ../printerdrake.pm_.c:121 msgid "Printer Device:" msgstr "Uređaj pisača:" #: ../printerdrake.pm_.c:125 msgid "Remote lpd Printer Options" msgstr "Postavke udaljenog lpd pisača" #: ../printerdrake.pm_.c:126 msgid "" "To use a remote lpd print queue, you need to supply\n" "the hostname of the printer server and the queue name\n" "on that server which jobs should be placed in." msgstr "" "Ukoliko želite koristiti udaljeni lpd red morate unijeti\n" "ime ispisnog poslužitelja te ime reda na poslužitelju\n" "na koji želite ispisivati." #: ../printerdrake.pm_.c:129 msgid "Remote hostname:" msgstr "Udaljeno računalo:" #: ../printerdrake.pm_.c:129 msgid "Remote queue" msgstr "Udaljeni red" #: ../printerdrake.pm_.c:134 msgid "SMB (Windows 9x/NT) Printer Options" msgstr "Postavke SMB (Windows 9x/NT) pisača" #: ../printerdrake.pm_.c:135 msgid "" "To print to a SMB printer, you need to provide the\n" "SMB host name (Note! It may be different from its\n" "TCP/IP hostname!) and possibly the IP address of the print server, as\n" "well as the share name for the printer you wish to access and any\n" "applicable user name, password, and workgroup information." msgstr "" #: ../printerdrake.pm_.c:140 msgid "SMB server IP:" msgstr "IP SMB poslužitelja:" #: ../printerdrake.pm_.c:140 msgid "SMB server host:" msgstr "SMB poslužitelj:" #: ../printerdrake.pm_.c:141 ../printerdrake.pm_.c:163 msgid "Password:" msgstr "Lozinka:" #: ../printerdrake.pm_.c:141 msgid "Share name:" msgstr "" #: ../printerdrake.pm_.c:141 ../printerdrake.pm_.c:163 msgid "User name:" msgstr "Korisničko ime:" #: ../printerdrake.pm_.c:142 msgid "Workgroup:" msgstr "Radna grupa:" #: ../printerdrake.pm_.c:157 msgid "NetWare Printer Options" msgstr "Postavke NetWare pisača" #: ../printerdrake.pm_.c:158 msgid "" "To print to a NetWare printer, you need to provide the\n" "NetWare print server name (Note! it may be different from its\n" "TCP/IP hostname!) as well as the print queue name for the printer you\n" "wish to access and any applicable user name and password." msgstr "" #: ../printerdrake.pm_.c:162 msgid "Print Queue Name:" msgstr "Ime reda pisača:" #: ../printerdrake.pm_.c:162 msgid "Printer Server:" msgstr "Ispisni poslužitelj:" #: ../printerdrake.pm_.c:173 msgid "Yes, print ASCII test page" msgstr "Da, ispiši ASCII probnu stranicu" #: ../printerdrake.pm_.c:174 msgid "Yes, print PostScript test page" msgstr "Da, ispiši PostScript probnu stranicu" #: ../printerdrake.pm_.c:175 msgid "Yes, print both test pages" msgstr "Da, ispiši obje probne stranice" #: ../printerdrake.pm_.c:183 msgid "Configure Printer" msgstr "Postavke pisača" #: ../printerdrake.pm_.c:184 msgid "What type of printer do you have?" msgstr "Kakav tip pisača posjedujete?" #: ../printerdrake.pm_.c:204 msgid "Printer options" msgstr "Postavke pisača" #: ../printerdrake.pm_.c:205 msgid "Paper Size" msgstr "Veličina papira" #: ../printerdrake.pm_.c:206 msgid "Eject page after job?" msgstr "" #: ../printerdrake.pm_.c:209 msgid "Fix stair-stepping text?" msgstr "" #: ../printerdrake.pm_.c:212 msgid "Uniprint driver options" msgstr "" #: ../printerdrake.pm_.c:213 msgid "Color depth options" msgstr "" #: ../printerdrake.pm_.c:223 msgid "Do you want to test printing?" msgstr "Da li želite iskušati pisač?" #: ../printerdrake.pm_.c:234 msgid "Printing test page(s)..." msgstr "Ispisujem probnu stranicu(e)..." #: ../printerdrake.pm_.c:252 #, c-format msgid "" "Test page(s) have been sent to the printer daemon.\n" "This may take a little time before printer start.\n" "Printing status:\n" "%s\n" "\n" "Does it work properly?" msgstr "" "Probna stranica(e) je poslana printer daemon-u.\n" "Ponekad je potrebno par sekundi prije nego pisač počne ispisivati.\n" "Stanje pisača:\n" "%s\n" "\n" "Da li pisač radi ispravno?" #: ../printerdrake.pm_.c:256 msgid "" "Test page(s) have been sent to the printer daemon.\n" "This may take a little time before printer start.\n" "Does it work properly?" msgstr "" "Probna stranica(e) je poslana printer daemon-u.\n" "Ponekad je potrebno par sekundi prije nego pisač počne ispisivati.\n" "Da li pisač radi ispravno?" #: ../raid.pm_.c:36 #, c-format msgid "Can't add a partition to _formatted_ RAID md%d" msgstr "Ne mogu dodati particiju na _formatirani_ RAID md%d" #: ../raid.pm_.c:106 msgid "Can't write file $file" msgstr "Ne mogu pisati datoteku $file" #: ../raid.pm_.c:146 #, c-format msgid "Not enough partitions for RAID level %d\n" msgstr "Nema dovoljno particija za RAID nivo %d\n" #: ../standalone/draksec_.c:28 msgid "" "This level is to be used with care. It makes your system more easy to use,\n" "but very sensitive: it must not be used for a machine connected to others\n" "or to the Internet. There is no password access." msgstr "" #: ../standalone/draksec_.c:31 msgid "" "Password are now enabled, but use as a networked computer is still not " "recommended." msgstr "" "Lozinke su sada uključene međutim još ne preporučam korištenje ovog računala " "u mrežnom okolišu." #: ../standalone/draksec_.c:32 msgid "" "Few improvements for this security level, the main one is that there are\n" "more security warnings and checks." msgstr "" #: ../standalone/draksec_.c:34 msgid "" "This is the standard security recommended for a computer that will be used\n" "to connect to the Internet as a client. There are now security checks. " msgstr "" #: ../standalone/draksec_.c:36 msgid "" "With this security level, the use of this system as a server becomes " "possible.\n" "The security is now high enough to use the system as a server which accept\n" "connections from many clients. " msgstr "" #: ../standalone/draksec_.c:39 msgid "" "We take level 4 features, but now the system is entirely closed.\n" "Security features are at their maximum." msgstr "" #: ../standalone/draksec_.c:49 msgid "Setting security level" msgstr "Podešavam sigurnosni nivo" #: ../standalone/drakxconf_.c:21 msgid "Choose the tool you want to use" msgstr "Izaberite alat koje želite koristiti" #: ../standalone/drakxservices_.c:21 msgid "Choose which services should be automatically started at boot time" msgstr "Izaberite koji servisi trebaju biti startani automatski kod boot-a" #: ../standalone/mousedrake_.c:30 msgid "no serial_usb found\n" msgstr "niti jedan serial_usb nije pronađen\n" #: ../standalone/mousedrake_.c:35 msgid "Emulate third button?" msgstr "Emuliranje treće tipke?" #: ../standalone/rpmdrake_.c:25 #, fuzzy msgid "reading configuration" msgstr "Iskušaj postavu" #: ../standalone/rpmdrake_.c:45 ../standalone/rpmdrake_.c:50 #: ../standalone/rpmdrake_.c:253 msgid "File" msgstr "" #: ../standalone/rpmdrake_.c:48 ../standalone/rpmdrake_.c:229 #: ../standalone/rpmdrake_.c:253 ../standalone/rpmdrake_.c:269 msgid "Search" msgstr "" # #: ../standalone/rpmdrake_.c:49 ../standalone/rpmdrake_.c:56 #, fuzzy msgid "Package" msgstr "Loš paket" #: ../standalone/rpmdrake_.c:51 #, fuzzy msgid "Text" msgstr "Ekspert" #: ../standalone/rpmdrake_.c:53 #, fuzzy msgid "Tree" msgstr "Grčka" #: ../standalone/rpmdrake_.c:54 msgid "Sort by" msgstr "" #: ../standalone/rpmdrake_.c:55 msgid "Category" msgstr "" #: ../standalone/rpmdrake_.c:58 #, fuzzy msgid "See" msgstr "Poslužitelj" #: ../standalone/rpmdrake_.c:59 ../standalone/rpmdrake_.c:163 #, fuzzy msgid "Installed packages" msgstr "Instaliram paket %s" #: ../standalone/rpmdrake_.c:60 #, fuzzy msgid "Available packages" msgstr "Tražim dostupne pakete" # #: ../standalone/rpmdrake_.c:62 #, fuzzy msgid "Show only leaves" msgstr "Prikaži manje" #: ../standalone/rpmdrake_.c:67 msgid "Expand all" msgstr "" #: ../standalone/rpmdrake_.c:68 #, fuzzy msgid "Collapse all" msgstr "Očisti sve" #: ../standalone/rpmdrake_.c:70 #, fuzzy msgid "Configuration" msgstr "Iskušaj postavu" #: ../standalone/rpmdrake_.c:71 msgid "Add location of packages" msgstr "" #: ../standalone/rpmdrake_.c:75 msgid "Update location" msgstr "" #: ../standalone/rpmdrake_.c:79 ../standalone/rpmdrake_.c:328 #, fuzzy msgid "Remove" msgstr "Ukloni zapis" #: ../standalone/rpmdrake_.c:100 msgid "Configuration: Add Location" msgstr "" #: ../standalone/rpmdrake_.c:101 msgid "Expand Tree" msgstr "" #: ../standalone/rpmdrake_.c:102 msgid "Collapse Tree" msgstr "" # #: ../standalone/rpmdrake_.c:103 #, fuzzy msgid "Find Package" msgstr "Loš paket" #: ../standalone/rpmdrake_.c:104 msgid "Find Package containing file" msgstr "" #: ../standalone/rpmdrake_.c:105 msgid "Toggle between Installed and Available" msgstr "" #: ../standalone/rpmdrake_.c:139 msgid "Files:\n" msgstr "" #: ../standalone/rpmdrake_.c:161 ../standalone/rpmdrake_.c:209 #, fuzzy msgid "Uninstall" msgstr "Instaliraj" #: ../standalone/rpmdrake_.c:163 #, fuzzy msgid "Choose package to install" msgstr "Odaberite pakete za instaliranje" #: ../standalone/rpmdrake_.c:190 msgid "Checking dependencies" msgstr "" #: ../standalone/rpmdrake_.c:190 ../standalone/rpmdrake_.c:409 msgid "Wait" msgstr "" #: ../standalone/rpmdrake_.c:209 #, fuzzy msgid "The following packages are going to be uninstalled" msgstr "Odaberite pakete za instaliranje" #: ../standalone/rpmdrake_.c:210 #, fuzzy msgid "Uninstalling the RPMs" msgstr "Instaliram paket %s" #: ../standalone/rpmdrake_.c:229 ../standalone/rpmdrake_.c:269 msgid "Regexp" msgstr "" #: ../standalone/rpmdrake_.c:229 msgid "Which package are looking for" msgstr "" #: ../standalone/rpmdrake_.c:238 ../standalone/rpmdrake_.c:262 #: ../standalone/rpmdrake_.c:278 #, c-format msgid "%s not found" msgstr "" #: ../standalone/rpmdrake_.c:238 ../standalone/rpmdrake_.c:262 #: ../standalone/rpmdrake_.c:278 msgid "No match" msgstr "" #: ../standalone/rpmdrake_.c:238 ../standalone/rpmdrake_.c:262 #: ../standalone/rpmdrake_.c:278 msgid "No more match" msgstr "" #: ../standalone/rpmdrake_.c:246 msgid "" "rpmdrake is currently in ``low memory'' mode.\n" "I'm going to relaunch rpmdrake to allow searching files" msgstr "" #: ../standalone/rpmdrake_.c:253 msgid "Which file are you looking for" msgstr "" #: ../standalone/rpmdrake_.c:269 msgid "What are looking for" msgstr "" #: ../standalone/rpmdrake_.c:289 msgid "Give a name (eg: `extra', `commercial')" msgstr "" #: ../standalone/rpmdrake_.c:291 #, fuzzy msgid "Directory" msgstr "Sektor" #: ../standalone/rpmdrake_.c:294 msgid "No cdrom available (nothing in /mnt/cdrom)" msgstr "" #: ../standalone/rpmdrake_.c:298 msgid "URL of the directory containing the RPMs" msgstr "" #: ../standalone/rpmdrake_.c:299 msgid "" "For FTP and HTTP, you need to give the location for hdlist\n" "It must be relative to the URL above" msgstr "" #: ../standalone/rpmdrake_.c:302 msgid "Please submit the following information" msgstr "" #: ../standalone/rpmdrake_.c:304 #, fuzzy, c-format msgid "%s is already in use" msgstr "Ova oznaka već postoji" #: ../standalone/rpmdrake_.c:315 ../standalone/rpmdrake_.c:321 #: ../standalone/rpmdrake_.c:329 msgid "Updating the RPMs base" msgstr "" #: ../standalone/rpmdrake_.c:328 #, fuzzy, c-format msgid "Going to remove entry %s" msgstr "Ukloni zapis" #: ../standalone/rpmdrake_.c:360 msgid "Finding leaves" msgstr "" #: ../standalone/rpmdrake_.c:360 msgid "Finding leaves takes some time" msgstr "" #~ msgid "Polish" #~ msgstr "Poljska" #~ msgid "Going to install %d MB. You can choose to install more programs" #~ msgstr "" #~ "Instalirati ću %d MB. Možete izabrati još par paketa za instalaciju."