Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rpms/dextrose-updater/dextrose-updater.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpms/dextrose-updater/dextrose-updater.spec')
-rw-r--r--rpms/dextrose-updater/dextrose-updater.spec74
1 files changed, 74 insertions, 0 deletions
diff --git a/rpms/dextrose-updater/dextrose-updater.spec b/rpms/dextrose-updater/dextrose-updater.spec
new file mode 100644
index 0000000..bce8cb7
--- /dev/null
+++ b/rpms/dextrose-updater/dextrose-updater.spec
@@ -0,0 +1,74 @@
+Name: dextrose-updater
+Version: 1
+Release: 6%{?dist}
+Summary: A yum based updater for sugar-dextrose. Updates the sugar-dextrose related packages automatically and emits dbus messages (for the sugar notification system, if installed)
+
+Group: Applications/Updating
+License: GPLv3
+URL: http://wiki.sugarlabs.org/go/Dextrose/Updater
+Source0: http://people.sugarlabs.org/~anish/dextrose-updater.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildArch: noarch
+
+#BuildRequires:
+#Requires:
+Packager: Anish Mangal <anish@sugarlabs.org>
+
+%description
+
+A yum based updater for sugar-dextrose. Updates the sugar-dextrose related packages automatically and emits dbus messages (for the sugar notification system, if installed)
+
+
+
+%prep
+%setup -q
+
+
+%build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT/{etc/sysconfig,etc/cron.daily,usr/sbin}
+install -m755 $RPM_BUILD_DIR/%{name}-%{version}/sbin/dextrose-update \
+$RPM_BUILD_ROOT/usr/sbin
+
+install -m755 $RPM_BUILD_DIR/%{name}-%{version}/sysconfig/dextrose-update \
+$RPM_BUILD_ROOT/etc/sysconfig
+
+ln -s /usr/sbin/dextrose-update \
+$RPM_BUILD_ROOT/etc/cron.daily/dextrose-update
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+
+%files
+%defattr(-,root,root,-)
+%doc
+
+/usr/sbin/dextrose-update
+/etc/sysconfig/dextrose-update
+/etc/cron.daily/dextrose-update
+
+%changelog
+* Mon Jan 10 2011 Anish Mangal <anish@sugarlabs.org> 1-6
+- Remove dextrose-py and change path of config file from /etc/default to /etc/sysconfig.
+
+* Mon Jan 03 2011 Anish Mangal <anish@sugarlabs.org> 1-5
+- Add dextrose-py to the list of repos to update from.
+
+* Wed Dec 22 2010 Anish Mangal <anish@sugarlabs.org> 1-4
+- Remove post, postun sections and handle symlink in install and file sections.
+
+* Wed Dec 22 2010 Anish Mangal <anish@sugarlabs.org> 1-3
+- Remove cron job after removing
+
+* Wed Dec 22 2010 Anish Mangal <anish@sugarlabs.org> 1-2
+- Add cron job
+
+* Wed Dec 22 2010 Anish Mangal <anish@sugarlabs.org> 1-1
+- Initial rpm version
+