aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'transfugdrake.spec')
-rw-r--r--transfugdrake.spec87
1 files changed, 87 insertions, 0 deletions
diff --git a/transfugdrake.spec b/transfugdrake.spec
new file mode 100644
index 0000000..000b636
--- /dev/null
+++ b/transfugdrake.spec
@@ -0,0 +1,87 @@
+# Changed by Makefile of cvs.
+%define version 0.1
+%define name transfugdrake
+
+Summary: A wizard to moves from Windows to MandrakeLinux
+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, drakfloppy >= 0.43-1mdk, harddrake >= 0.9.3-17mdk, drakfont >= 0.58-11mdk, XFree86-100dpi-fonts, menudrake >= 0.6-5mdk
+BuildRoot: %{_tmppath}/%{name}-buildroot
+
+%description
+Transfugdrake helps you to kick windows out of your life.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT install
+
+mv ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/transfugdrake \
+ ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/transfugdrake.real
+ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin/transfugdrake
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,security/console.apps}
+cp pam.transfugdrake $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/transfugdrake
+cp apps.transfugdrake $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/transfugdrake
+
+#install lang
+%{find_lang} %{name}
+
+#install menu
+mkdir -p $RPM_BUILD_ROOT%{_menudir}
+cat > $RPM_BUILD_ROOT%{_menudir}/smbdrake << EOF
+?package(smbdrake): \
+needs="x11" \
+icon="transfugdrake.xpm" \
+section="Configuration/Other" \
+title="Import files from windows to Linux" \
+longtitle="Import files from windows to Linux" \
+command="/usr/X11R6/bin/transfugdrake"
+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)
+%doc ChangeLog README TRANSLATORS AUTHORS
+%{_prefix}/X11R6/bin/*
+%{_menudir}/smbdrake
+%{_miconsdir}/*.xpm
+%{_iconsdir}/*.xpm
+%{_liconsdir}/*.xpm
+%config(noreplace) %{_sysconfdir}/pam.d/smbdrake
+%config(noreplace) %{_sysconfdir}/security/console.apps/smbdrake
+
+%changelog
+* Sat Jun 9 2001 Yves Duret <yduret@mandrakesoft.com> 0.1-1mdk
+- first release
+
+
+
+# end of file