1 Summary: A graphical interface for modifying system date and time
2 Summary(pl.UTF-8): Graficzny interfejs do zmiany daty i czasu systemowego
3 Name: system-config-date
8 Source0: %{name}-%{version}.tar.bz2
9 # Source0-md5: 6551690e7362a7d912e3a6a70cba1915
10 Patch0: %{name}-desktop.patch
11 URL: http://fedora.redhat.com/projects/config-tools/
12 BuildRequires: desktop-file-utils
13 BuildRequires: gettext-devel
14 BuildRequires: intltool
16 #Requires(post): hicolor-icon-theme
17 #Requires(postun): hicolor-icon-theme
21 #Requires: pygtk2-libglade
22 Requires: python-gnome-canvas
24 Requires: python-snack
25 #Requires: usermode >= 1.36
26 Requires(post,postun): desktop-file-utils
27 Conflicts: firstboot <= 1.3.26
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 system-config-date is a graphical interface for changing the system
33 date and time, configuring the system time zone, and setting up the
34 NTP daemon to synchronize the time of the system with a NTP time
37 %description -l pl.UTF-8
38 system-config-date to graficzny interfejs do zmiany daty i czasu
39 systemowego, konfiguracji strefy czasowej i ustawiania demona NTP do
40 synchronizacji czasu systemowego z serwerem czasu NTP.
50 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
54 desktop-file-install --vendor system --delete-original \
55 --dir $RPM_BUILD_ROOT%{_desktopdir} \
56 --add-category X-Red-Hat-Base \
57 $RPM_BUILD_ROOT%{_desktopdir}/system-config-date.desktop
59 %find_lang %{name} --with-gnome --with-omf
61 %py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-date
62 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-date
63 %py_postclean %{_datadir}/system-config-date
66 rm -rf $RPM_BUILD_ROOT
69 %update_icon_cache hicolor
72 %update_icon_cache hicolor
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/system-config-date
78 %attr(755,root,root) %{_bindir}/system-config-time
79 %attr(755,root,root) %{_bindir}/dateconfig
80 %attr(755,root,root) %{_sbindir}/timeconfig
81 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/dateconfig
82 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-date
83 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-time
84 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/dateconfig
85 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
86 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-time
87 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp/ntpservers
88 %dir %{_datadir}/system-config-date
89 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.template
90 %{_datadir}/system-config-date/*.py[co]
91 %{_datadir}/system-config-date/*.glade
92 %dir %{_datadir}/system-config-date/pixmaps
93 %{_datadir}/system-config-date/pixmaps/system-config-date.png
94 %{_datadir}/system-config-date/pixmaps/map1440.png
95 %{_mandir}/man8/system-config-date*
96 %lang(fr) %{_mandir}/fr/man8/system-config-date*
97 %lang(ja) %{_mandir}/ja/man8/system-config-date*
98 %{_desktopdir}/system-config-date.desktop
99 %{_iconsdir}/hicolor/48x48/apps/system-config-date.png