SPECS: freemind.spec (NEW) - New spec file.

japhy japhy at pld-linux.org
Fri Dec 1 03:38:55 CET 2006


Author: japhy                        Date: Fri Dec  1 02:38:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- New spec file.

---- Files affected:
SPECS:
   freemind.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/freemind.spec
diff -u /dev/null SPECS/freemind.spec:1.1
--- /dev/null	Fri Dec  1 03:38:55 2006
+++ SPECS/freemind.spec	Fri Dec  1 03:38:50 2006
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+Summary:	A free mind-mapping software
+Summary(pl):	Program do tworzenia map umysłu
+Name:		freemind
+Version:	0.9.0
+%define		_rc Beta_8
+Release:	0.%{_rc}.1
+License:	GPL v2
+Group:		X11/Applications
+Source0:	http://freemind.sourceforge.net/testversions/%{name}-src-%{version}_%{_rc}.tar.gz
+# Source0-md5:	50627d1b4ad9dbfb393abf17e4b9dd0f
+Source1:	%{name}.desktop
+Source2:	%{name}.xml
+URL:		http://freemind.sourceforge.net/
+BuildRequires:	ant
+BuildRequires:	ant-nodeps
+BuildRequires:	jdk >= 1.4
+BuildRequires:	sed >= 4.0
+Requires(post,postun):  desktop-file-utils
+Requires(post,postun):  shared-mime-info
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FreeMind is an open source mind mapping software that enables you to
+visualize ideas, projects, concepts, brainstorming, research or any
+other task that can benefit from a structured overview.
+
+%description -l pl
+FreeMind jest otwartym programem do tworzenia map umysłu
+umożliwiającym wizualne przedstawienie pomysłów, projektów, koncepcji,
+burzy mózgów, pracy naukowej czy dowolnego innego problemu, który
+mógłby skorzystać ze zorganizowanej formy prezentacji.
+
+%prep
+%setup -q -c
+
+%build
+cd %{name}
+JAVA_HOME=%{java_home}
+sed -i s,./doc/freemind.mm,%{_docdir}/freemind.mm, freemind.properties
+%ant dist browser
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/mime/packages
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+
+cp -a bin/dist $RPM_BUILD_ROOT%{_datadir}/%{name}
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/[Ff]reemind.*
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/license
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
+cp -a bin/dist/%{name}.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -a freemind/images/FreeMindWindowIcon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/mime/packages
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+update-mime-database %{_datadir}/mime ||:
+%update_desktop_database_post
+
+%postun
+umask 022
+update-mime-database %{_datadir}/mime ||:
+%update_desktop_database_postun
+
+%files
+%defattr(644,root,root,755)
+%doc bin/dist/doc/freemind*
+%{_datadir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
+%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/*
+%{_datadir}/mime/packages/*
+
+%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/12/01 02:38:50  japhy
+- New spec file.
+
+
================================================================


More information about the pld-cvs-commit mailing list