summaryrefslogtreecommitdiffstats
path: root/mdkonline.spec
diff options
context:
space:
mode:
Diffstat (limited to 'mdkonline.spec')
-rw-r--r--mdkonline.spec78
1 files changed, 78 insertions, 0 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
new file mode 100644
index 00000000..913c0bf1
--- /dev/null
+++ b/mdkonline.spec
@@ -0,0 +1,78 @@
+# Changed by Makefile of cvs.
+%define version 0.15
+%define name mdkonline
+
+Summary: The Mandrake Online Tool
+Name: %{name}
+Version: %{version}
+Release: 1mdk
+# get the source from our cvs repository (see
+# http://www.linuxmandrake.com/en/cvs.php3)
+Source0: %{name}-%{version}.tar.bz2
+Source1: %{name}16.xpm.bz2
+Source2: %{name}32.xpm.bz2
+Source3: %{name}48.xpm.bz2
+Copyright: GPL
+Group: System/Configuration/Other
+Requires: drakxtools >= 1.1.5-97mdk, gtk+mdk, perl-GTK, perl-GTK-GdkImlib, usermode,
+Requires: popt >= 1.6,
+BuildRoot: %{_tmppath}/%{name}-buildroot
+
+%description
+The Mandrake Online tool is designed for registered users who want to upload their
+configurattion (packages, hardware infos). This allow them to be kept informed about
+security updates, hardware support/enhancements and other high value services.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT install
+
+#install lang
+%{find_lang} %{name}
+
+#install menu
+mkdir -p $RPM_BUILD_ROOT%{_menudir}
+cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
+?package(%{name}):\
+needs="x11" \
+icon="mdkonline.xpm" \
+section="Configuration/Other" \
+title="Mandrake Online" \
+longtitle="Wizard tool for online registered user" \
+command="/usr/X11R6/bin/mdkonline"
+EOF
+
+#install menu icon
+mkdir -p $RPM_BUILD_ROOT%{_miconsdir}
+mkdir -p $RPM_BUILD_ROOT%{_liconsdir}
+bzcat %{SOURCE1} > $RPM_BUILD_ROOT%{_miconsdir}/%{name}.xpm
+bzcat %{SOURCE2} > $RPM_BUILD_ROOT%{_iconsdir}/%{name}.xpm
+bzcat %{SOURCE3} > $RPM_BUILD_ROOT%{_liconsdir}/%{name}.xpm
+
+%post
+%{update_menus}
+
+%postun
+%{clean_menus}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root)
+%{_prefix}/X11R6/bin/*
+%{_datadir}/%{name}
+%{_menudir}/%{name}
+%{_miconsdir}/*.xpm
+%{_iconsdir}/*.xpm
+%{_liconsdir}/*.xpm
+
+%changelog
+* Mon Aug 27 2001 Daouda LO <daouda@mandrakesoft.com> 0.15-1mdk
+- First mandrake package
+