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