]> git.pld-linux.org Git - packages/system-config-date.git/blame - system-config-date.spec
- pl, cleanups
[packages/system-config-date.git] / system-config-date.spec
CommitLineData
f14ab4ba 1Summary: A graphical interface for modifying system date and time
82eb5a1a 2Summary(pl): Graficzny interfejs do zmiany daty i czasu systemowego
f14ab4ba
ER
3Name: system-config-date
4Version: 1.8.2
5Release: 0.1
6License: GPL
7Group: Base
f14ab4ba
ER
8Source0: %{name}-%{version}.tar.bz2
9# Source0-md5: 04b0e69d7d0c4d9fbffde77dfe62522b
82eb5a1a 10URL: http://fedora.redhat.com/projects/config-tools/
f14ab4ba
ER
11BuildRequires: desktop-file-utils
12BuildRequires: gettext-devel
13BuildRequires: intltool
14BuildRequires: python
15#Requires(post): hicolor-icon-theme
16#Requires(postun): hicolor-icon-theme
17#Requires: chkconfig
18#Requires: htmlview
19#Requires: newt
20#Requires: ntp
21#Requires: pygtk2-libglade
22Requires: python-gnome-canvas
23#Requires: python2
24#Requires: rhpl
25#Requires: usermode >= 1.36
26Conflicts: firstboot <= 1.3.26
27ExclusiveOS: Linux
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32system-config-date is a graphical interface for changing the system
33date and time, configuring the system time zone, and setting up the
34NTP daemon to synchronize the time of the system with a NTP time
35server.
36
82eb5a1a
JB
37%description -l pl
38system-config-date to graficzny interfejs do zmiany daty i czasu
39systemowego, konfiguracji strefy czasowej i ustawiania demona NTP do
40synchronizacji czasu systemowego z serwerem czasu NTP.
41
f14ab4ba
ER
42%prep
43%setup -q
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
ER
57
58%find_lang %{name}
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
67%if 0
68%post
69touch --no-create %{_datadir}/icons/hicolor
70if [ -x %{_bindir}/gtk-update-icon-cache ]; then
71 gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
72fi
73
74%postun
75touch --no-create %{_datadir}/icons/hicolor
76if [ -x %{_bindir}/gtk-update-icon-cache ]; then
77 gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
78fi
79%endif
80
81%files -f %{name}.lang
82%defattr(644,root,root,755)
83%doc doc/*
82eb5a1a
JB
84%attr(755,root,root) %{_bindir}/system-config-date
85%attr(755,root,root) %{_bindir}/system-config-time
86%attr(755,root,root) %{_bindir}/dateconfig
87%attr(755,root,root) %{_sbindir}/timeconfig
f14ab4ba
ER
88%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/dateconfig
89%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-date
90%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-time
91%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/dateconfig
92%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
93%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-time
94%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp/ntpservers
f14ab4ba 95%dir %{_datadir}/system-config-date
82eb5a1a 96%config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.template
f14ab4ba
ER
97%{_datadir}/system-config-date/*.py[co]
98%{_datadir}/system-config-date/*.glade
99%{_datadir}/system-config-date/regions
100%dir %{_datadir}/system-config-date/pixmaps
101%{_datadir}/system-config-date/pixmaps/system-config-date.png
102%{_datadir}/system-config-date/pixmaps/map1440.png
103%{_mandir}/man8/system-config-date*
82eb5a1a
JB
104%lang(fr) %{_mandir}/fr/man8/system-config-date*
105%lang(ja) %{_mandir}/ja/man8/system-config-date*
f14ab4ba
ER
106%{_desktopdir}/system-config-date.desktop
107%{_iconsdir}/hicolor/48x48/apps/system-config-date.png
This page took 0.0603 seconds and 4 git commands to generate.