SPECS: system-config-date.spec (NEW) - new

glen glen at pld-linux.org
Tue Jun 6 01:11:15 CEST 2006


Author: glen                         Date: Mon Jun  5 23:11:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   system-config-date.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/system-config-date.spec
diff -u /dev/null SPECS/system-config-date.spec:1.1
--- /dev/null	Tue Jun  6 01:11:15 2006
+++ SPECS/system-config-date.spec	Tue Jun  6 01:11:10 2006
@@ -0,0 +1,110 @@
+# $Revision$, $Date$
+Summary:	A graphical interface for modifying system date and time
+Name:		system-config-date
+Version:	1.8.2
+Release:	0.1
+License:	GPL
+Group:		Base
+URL:		http://fedora.redhat.com/projects/config-tools/
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	04b0e69d7d0c4d9fbffde77dfe62522b
+BuildRequires:	desktop-file-utils
+BuildRequires:	gettext-devel
+BuildRequires:	intltool
+BuildRequires:	python
+#Requires(post):	hicolor-icon-theme
+#Requires(postun):	hicolor-icon-theme
+#Requires:	chkconfig
+#Requires:	htmlview
+#Requires:	newt
+#Requires:	ntp
+#Requires:	pygtk2-libglade
+Requires:	python-gnome-canvas
+#Requires:	python2
+#Requires:	rhpl
+#Requires:	usermode >= 1.36
+Conflicts:	firstboot <= 1.3.26
+ExclusiveOS:	Linux
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+system-config-date is a graphical interface for changing the system
+date and time, configuring the system time zone, and setting up the
+NTP daemon to synchronize the time of the system with a NTP time
+server.
+
+%prep
+%setup -q
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+desktop-file-install --vendor system --delete-original       \
+  --dir $RPM_BUILD_ROOT%{_desktopdir}             \
+  --add-category X-Red-Hat-Base                             \
+  $RPM_BUILD_ROOT%{_desktopdir}/system-config-date.desktop
+
+%find_lang %{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-date
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-date
+%py_postclean %{_datadir}/system-config-date
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if 0
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
+%endif
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc doc/*
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/dateconfig
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-date
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-config-time
+%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/dateconfig
+%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
+%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-time
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp/ntpservers
+%config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.template
+%attr(755,root,root) %{_bindir}/system-config-date
+%attr(755,root,root) %{_bindir}/system-config-time
+%attr(755,root,root) %{_bindir}/dateconfig
+%attr(755,root,root) %{_sbindir}/timeconfig
+%dir %{_datadir}/system-config-date
+%{_datadir}/system-config-date/*.py[co]
+%{_datadir}/system-config-date/*.glade
+%{_datadir}/system-config-date/regions
+%dir %{_datadir}/system-config-date/pixmaps
+%{_datadir}/system-config-date/pixmaps/system-config-date.png
+%{_datadir}/system-config-date/pixmaps/map1440.png
+%{_mandir}/man8/system-config-date*
+%{_mandir}/fr/man8/system-config-date*
+%{_mandir}/ja/man8/system-config-date*
+%{_desktopdir}/system-config-date.desktop
+%{_iconsdir}/hicolor/48x48/apps/system-config-date.png
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/06/05 23:11:10  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list