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

Annotation of /cauldron/drakfirsttime/current/SPECS/drakfirsttime.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 75991 - (hide annotations) (download)
Wed Mar 23 19:21:43 2011 UTC (14 years, 3 months ago) by steletch
File size: 1880 byte(s)
imported package drakfirsttime
1 steletch 75991 %define version 2.25.5
2     %define name drakfirsttime
3    
4     Summary: The Mandriva Linux First Time Wizard
5     Name: %{name}
6     Version: %{version}
7     Release: %mkrel 2
8     # http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/ftw/
9     Source0: %{name}-%{version}.tar.lzma
10     URL: http://qa.mandriva.com/
11     License: GPL
12     Group: System/Configuration/Other
13     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14     Requires: drakxtools >= 12.77.1, perl-MDK-Common >= 1.1.17-3mdk, perl-libwww-perl >= 5.800-1mdk
15     # for connection test:
16     Requires: libdrakx-net
17     Requires: xinitrc >= 2.4.9-1mdk
18     Suggests: hcl
19     Requires: xrandr mozilla-firefox
20     Requires: drakx-installer-matchbox
21     BuildRequires: gettext perl-devel perl-MDK-Common-devel
22     BuildRequires: firefox-ext-r-kiosk
23     BuildArch: noarch
24    
25     %description
26     The First Time Wizard is a config tool to help a Mandriva Linux user to
27     set up some basic things, like registration at Mandriva Club/Mandriva Expert
28     and Mandriva Online the first time the system boots.
29     This package also includes the drakclub wizard, to set the club urpmi
30     sources.
31    
32     %prep
33     rm -rf %{buildroot}
34    
35     %setup -q
36    
37     %build
38    
39     %install
40     rm -rf %{buildroot}
41     %makeinstall_std PREFIX=%buildroot%_prefix
42     # (tv) install r-kiosk extension:
43     mkdir -p %buildroot%_datadir/%name/firefox/drakfirsttime/extensions
44     cp -a %_libdir/firefox-*/extensions/* %buildroot%_datadir/%name/firefox/drakfirsttime/extensions
45    
46     mkdir -p %buildroot%_prefix/X11R6/bin/
47    
48     #install lang
49     %{find_lang} drakfirstboot
50    
51     %if %mdkversion < 200900
52     %post
53     %update_icon_cache hicolor
54     %endif
55    
56     %if %mdkversion < 200900
57     %postun
58     %clean_icon_cache hicolor
59     %endif
60    
61     %clean
62     rm -rf %{buildroot}
63    
64     %files -f drakfirstboot.lang
65     %defattr(-,root,root)
66     %doc README COPYING NEWS
67     %{_sysconfdir}/X11/xsetup.d/??firstboot.xsetup
68     %_bindir/*
69     %config(noreplace) %{_sysconfdir}/sysconfig/firstboot
70     %{_datadir}/drakfirsttime
71    
72    
73    

  ViewVC Help
Powered by ViewVC 1.1.30