]> git.pld-linux.org Git - packages/system-config-date.git/blame - system-config-date.spec
- use pld config for timezone
[packages/system-config-date.git] / system-config-date.spec
CommitLineData
f14ab4ba 1Summary: A graphical interface for modifying system date and time
30338e5f 2Summary(pl.UTF-8): Graficzny interfejs do zmiany daty i czasu systemowego
f14ab4ba 3Name: system-config-date
9966f1d7 4Version: 1.9.67
587e0018 5Release: 1
f14ab4ba
ER
6License: GPL
7Group: Base
9966f1d7
ER
8Source0: http://fedorahosted.org/released/system-config-date/%{name}-%{version}.tar.bz2
9# Source0-md5: 5af4caafb46a9c63a5fcc6e0e6e4d2e4
24861d01 10Patch0: %{name}-desktop.patch
587e0018 11Patch1: tzconfig.patch
4b49da8b 12URL: http://fedoraproject.org/wiki/SystemConfig/date
f14ab4ba
ER
13BuildRequires: desktop-file-utils
14BuildRequires: gettext-devel
15BuildRequires: intltool
16BuildRequires: python
63344ff5 17Requires(post,postun): gtk-update-icon-cache
56574aea 18Requires(post,postun): hicolor-icon-theme
f14ab4ba 19#Requires: chkconfig
9966f1d7
ER
20Requires: hicolor-icon-theme
21Requires: ntpdate
f14ab4ba 22Requires: python-gnome-canvas
9966f1d7 23Requires: python-pygtk-glade
24861d01 24Requires: python-rhpl
9966f1d7 25Requires: python-slip >= 0.2.11
d6034cc6 26Requires: python-snack
bcdf0d7b 27Requires: tzdata
9966f1d7 28Requires: usermode-gtk >= 1.94
f14ab4ba 29Conflicts: firstboot <= 1.3.26
f14ab4ba
ER
30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34system-config-date is a graphical interface for changing the system
35date and time, configuring the system time zone, and setting up the
36NTP daemon to synchronize the time of the system with a NTP time
37server.
38
55995b97 39%description -l pl.UTF-8
82eb5a1a
JB
40system-config-date to graficzny interfejs do zmiany daty i czasu
41systemowego, konfiguracji strefy czasowej i ustawiania demona NTP do
42synchronizacji czasu systemowego z serwerem czasu NTP.
43
f14ab4ba
ER
44%prep
45%setup -q
24861d01 46%patch0 -p1
587e0018 47%patch1 -p1
f14ab4ba
ER
48
49%build
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
82eb5a1a
JB
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57desktop-file-install --vendor system --delete-original \
58 --dir $RPM_BUILD_ROOT%{_desktopdir} \
82eb5a1a 59 $RPM_BUILD_ROOT%{_desktopdir}/system-config-date.desktop
f14ab4ba 60
24861d01 61%find_lang %{name} --with-gnome --with-omf
f14ab4ba 62
bcdf0d7b
PZ
63rm $RPM_BUILD_ROOT%{_bindir}/system-config-date
64cat > $RPM_BUILD_ROOT%{_bindir}/system-config-date << EOF
65#!/bin/sh
9966f1d7 66%{__python} %{_datadir}/system-config-date/system-config-date.pyc
bcdf0d7b
PZ
67EOF
68
69ln -sf system-config-date $RPM_BUILD_ROOT%{_bindir}/dateconfig
70ln -sf system-config-date $RPM_BUILD_ROOT%{_bindir}/system-config-time
71
f14ab4ba
ER
72%py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-date
73%py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-date
74%py_postclean %{_datadir}/system-config-date
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
f14ab4ba 79%post
0e64a53a 80%update_icon_cache hicolor
f14ab4ba
ER
81
82%postun
0e64a53a 83%update_icon_cache hicolor
f14ab4ba
ER
84
85%files -f %{name}.lang
86%defattr(644,root,root,755)
82eb5a1a
JB
87%attr(755,root,root) %{_bindir}/system-config-date
88%attr(755,root,root) %{_bindir}/system-config-time
89%attr(755,root,root) %{_bindir}/dateconfig
f14ab4ba 90%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-date
f14ab4ba 91%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
f14ab4ba 92%dir %{_datadir}/system-config-date
9966f1d7 93%config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.conf.template
f14ab4ba
ER
94%{_datadir}/system-config-date/*.py[co]
95%{_datadir}/system-config-date/*.glade
f14ab4ba 96%dir %{_datadir}/system-config-date/pixmaps
f14ab4ba
ER
97%{_datadir}/system-config-date/pixmaps/map1440.png
98%{_mandir}/man8/system-config-date*
82eb5a1a
JB
99%lang(fr) %{_mandir}/fr/man8/system-config-date*
100%lang(ja) %{_mandir}/ja/man8/system-config-date*
f14ab4ba 101%{_desktopdir}/system-config-date.desktop
9966f1d7
ER
102%{_iconsdir}/hicolor/*/apps/system-config-date.png
103%{_iconsdir}/hicolor/*/apps/system-config-date.svg
104
105%dir %{py_sitescriptdir}/scdate
106%{py_sitescriptdir}/scdate/*.py[co]
107%dir %{py_sitescriptdir}/scdate/core
108%{py_sitescriptdir}/scdate/core/*.py[co]
109%{py_sitescriptdir}/scdate-%{version}-py*.egg-info
This page took 0.064833 seconds and 4 git commands to generate.