]> git.pld-linux.org Git - packages/system-config-date.git/blame - system-config-date.spec
- fix desktop file
[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
24861d01
PZ
4Version: 1.9.17
5Release: 1
f14ab4ba
ER
6License: GPL
7Group: Base
f14ab4ba 8Source0: %{name}-%{version}.tar.bz2
24861d01
PZ
9# Source0-md5: 6551690e7362a7d912e3a6a70cba1915
10Patch0: %{name}-desktop.patch
82eb5a1a 11URL: http://fedora.redhat.com/projects/config-tools/
f14ab4ba
ER
12BuildRequires: desktop-file-utils
13BuildRequires: gettext-devel
14BuildRequires: intltool
15BuildRequires: python
16#Requires(post): hicolor-icon-theme
17#Requires(postun): hicolor-icon-theme
18#Requires: chkconfig
24861d01
PZ
19Requires: python-newt
20Requires: ntp-client
f14ab4ba
ER
21#Requires: pygtk2-libglade
22Requires: python-gnome-canvas
24861d01 23Requires: python-rhpl
f14ab4ba 24#Requires: usermode >= 1.36
0e64a53a 25Requires(post,postun): desktop-file-utils
f14ab4ba 26Conflicts: firstboot <= 1.3.26
f14ab4ba
ER
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31system-config-date is a graphical interface for changing the system
32date and time, configuring the system time zone, and setting up the
33NTP daemon to synchronize the time of the system with a NTP time
34server.
35
55995b97 36%description -l pl.UTF-8
82eb5a1a
JB
37system-config-date to graficzny interfejs do zmiany daty i czasu
38systemowego, konfiguracji strefy czasowej i ustawiania demona NTP do
39synchronizacji czasu systemowego z serwerem czasu NTP.
40
f14ab4ba
ER
41%prep
42%setup -q
24861d01 43%patch0 -p1
f14ab4ba
ER
44
45%build
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
82eb5a1a
JB
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53desktop-file-install --vendor system --delete-original \
54 --dir $RPM_BUILD_ROOT%{_desktopdir} \
55 --add-category X-Red-Hat-Base \
56 $RPM_BUILD_ROOT%{_desktopdir}/system-config-date.desktop
f14ab4ba 57
24861d01 58%find_lang %{name} --with-gnome --with-omf
f14ab4ba
ER
59
60%py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-date
61%py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-date
62%py_postclean %{_datadir}/system-config-date
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
f14ab4ba 67%post
0e64a53a 68%update_icon_cache hicolor
f14ab4ba
ER
69
70%postun
0e64a53a 71%update_icon_cache hicolor
f14ab4ba
ER
72
73%files -f %{name}.lang
74%defattr(644,root,root,755)
75%doc doc/*
82eb5a1a
JB
76%attr(755,root,root) %{_bindir}/system-config-date
77%attr(755,root,root) %{_bindir}/system-config-time
78%attr(755,root,root) %{_bindir}/dateconfig
79%attr(755,root,root) %{_sbindir}/timeconfig
f14ab4ba
ER
80%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/dateconfig
81%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-date
82%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-time
83%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/dateconfig
84%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
85%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-time
86%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp/ntpservers
f14ab4ba 87%dir %{_datadir}/system-config-date
82eb5a1a 88%config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.template
f14ab4ba
ER
89%{_datadir}/system-config-date/*.py[co]
90%{_datadir}/system-config-date/*.glade
f14ab4ba
ER
91%dir %{_datadir}/system-config-date/pixmaps
92%{_datadir}/system-config-date/pixmaps/system-config-date.png
93%{_datadir}/system-config-date/pixmaps/map1440.png
94%{_mandir}/man8/system-config-date*
82eb5a1a
JB
95%lang(fr) %{_mandir}/fr/man8/system-config-date*
96%lang(ja) %{_mandir}/ja/man8/system-config-date*
f14ab4ba
ER
97%{_desktopdir}/system-config-date.desktop
98%{_iconsdir}/hicolor/48x48/apps/system-config-date.png
This page took 0.065748 seconds and 4 git commands to generate.