From 53ec9647573e4dc75d47e43451d58e1e94a48963 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Mar 21 2007 18:24:07 +0000 Subject: auto-import vym-1.8.1-8 on branch devel from vym-1.8.1-8.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..2815776 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vym-1.8.1.tar.gz diff --git a/sources b/sources index e69de29..f55839c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +de461aef063a3a3a528669715611257e vym-1.8.1.tar.gz diff --git a/vym-mainwindow.patch b/vym-mainwindow.patch new file mode 100644 index 0000000..f119c00 --- /dev/null +++ b/vym-mainwindow.patch @@ -0,0 +1,20 @@ +--- mainwindow.cpp 2007-03-21 10:31:33.000000000 -0500 ++++ mainwindow.cpp 2007-03-21 10:36:12.000000000 -0500 +@@ -2764,7 +2764,7 @@ + docpath="./vym.app/Contents/vym.pdf"; + #else + // default path in SUSE LINUX +- docpath="/usr/share/doc/packages/vym/doc/vym.pdf"; ++ docpath="/usr/share/doc/vym-1.8.1/doc/vym.pdf"; + #endif + + if (!QFile (docpath).exists() ) +@@ -2778,7 +2778,7 @@ + if (!QFile (docpath).exists() ) + { + // Try yet another one for Knoppix +- docpath="/usr/share/doc/packages/vym/vym.pdf"; ++ docpath="/usr/share/doc/vym-1.8.1/vym.pdf"; + if (!QFile (docpath).exists() ) + { + QMessageBox::critical(0, diff --git a/vym-pro.patch b/vym-pro.patch new file mode 100644 index 0000000..3af11f7 --- /dev/null +++ b/vym-pro.patch @@ -0,0 +1,16 @@ +--- vym.pro 2007-03-21 10:31:33.000000000 -0500 ++++ vym.pro 2007-03-21 10:36:44.000000000 -0500 +@@ -101,11 +101,11 @@ + INSTALLS += support + + doc.files = tex/vym.pdf +-doc.path = $${INSTALLDIR}/share/doc/packages/vym ++doc.path = $${INSTALLDIR}/share/doc/vym-1.8.1 + INSTALLS += doc + + demo.files = demos/ +-demo.path = $${INSTALLDIR}/share/doc/packages/vym ++demo.path = $${INSTALLDIR}/share/doc/vym-1.8.1 + INSTALLS += demo + + exports.files = exports/ diff --git a/vym-tex.patch b/vym-tex.patch new file mode 100644 index 0000000..83c5da9 --- /dev/null +++ b/vym-tex.patch @@ -0,0 +1,20 @@ +--- tex/vym.tex 2007-03-21 10:31:32.000000000 -0500 ++++ tex/vym.tex 2007-03-21 10:38:28.000000000 -0500 +@@ -500,7 +500,7 @@ + paste it from your browser). Examples for valid paths are: + \begin{verbatim} + http://www.insilmaril.de/vym/index.html +- file:/usr/share/doc/packages/vym/doc/vym.pdf ++ file:/usr/share/doc/vym-1.8.1/doc/vym.pdf + \end{verbatim} + If an URL was entered, a little globe will appear in the branch. By + clicking on the globe in the toolbar or the context menu an external +@@ -1117,7 +1117,7 @@ + Together with \vym you should have received a directory with several + maps e.g. on SUSE~LINUX this is + \begin{center} +- {\tt /usr/share/doc/packages/vym/demos} ++ {\tt /usr/share/doc/vym-1.8.1/demos} + \end{center} + where you find the map {\tt todo.vym}. It lists quite a lot of things to + be done in future. If you have more ideas, contact the development team diff --git a/vym.desktop b/vym.desktop new file mode 100644 index 0000000..d4433bc --- /dev/null +++ b/vym.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Vym +Comment=View your mind +Exec=vym +Icon=vym.png +Terminal=false +Type=Application +Categories=Qt;KDE;Office; diff --git a/vym.spec b/vym.spec new file mode 100644 index 0000000..59223bd --- /dev/null +++ b/vym.spec @@ -0,0 +1,107 @@ +Name: vym +Version: 1.8.1 +Release: 8%{?dist} +Summary: View your mind + +Group: Applications/Productivity +License: GPL +URL: http://www.insilmaril.de/vym/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +Patch0: %{name}-mainwindow.patch +Patch1: %{name}-pro.patch +Patch2: %{name}-tex.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: qt-devel libXext-devel desktop-file-utils kdelibs + +%description +VYM (View Your Mind) is a tool to generate and manipulate maps +which show your thoughts. Such maps can help you to improve +your creativity and effectivity. You can use them for time management, +to organize tasks, to get an overview over complex contexts. + +%prep +%setup -q +%patch0 +%patch1 +%patch2 + +%build +qmake INSTALLDIR=%{buildroot}%{_prefix} + +%{__make} %{?_smp_mflags} + + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} COPY="%{__cp} -p -f" + +%{__mkdir} -p %{buildroot}%{_datadir}/applications/ + +desktop-file-install --vendor fedora \ + --dir %{buildroot}%{_datadir}/applications \ + %{SOURCE1} + +%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps +%{__cp} -p icons/%{name}-16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png +%{__cp} -p icons/%{name}.xpm %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.xpm + +%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps +%{__cp} -p icons/%{name}-128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png + +%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps +%{__cp} -p icons/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png +%{__cp} -p icons/%{name}-editor.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}-editor.png + + +## File lists +# locale's +%find_lang %{name} || touch %{name}.lang + +%clean +%{__rm} -rf %{buildroot} + +%post +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc LICENSE demos/ doc/* +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/icons/hicolor/16x16/apps/%{name}* +%{_datadir}/icons/hicolor/48x48/apps/%{name}* +%{_datadir}/icons/hicolor/128x128/apps/%{name}.png + +%changelog +* Wed Mar 21 2007 Jon Ciesla - 1.8.1-8 +- Converted patches to unified output format. +* Wed Mar 21 2007 Jon Ciesla - 1.8.1-7 +- Dropped symlink in favor of path patches. +* Wed Mar 21 2007 Jon Ciesla - 1.8.1-6 +- Fixed Source URL. +* Tue Mar 20 2007 Jon Ciesla - 1.8.1-5 +- doc link fix, icon fix. +* Mon Mar 19 2007 Jon Ciesla - 1.8.1-4 +- Fixed Desktop icon path, make copy timestamps, cleaned scripts. +- Added symlink to fix PDF location. +* Tue Mar 13 2007 Jon Ciesla - 1.8.1-3 +- Fixed source url. +- added desktop-file-utils,kdelibs BRs. +- Fixed desktop file handling. +* Tue Mar 13 2007 Jon Ciesla - 1.8.1-2 +- Submitting for review. +* Wed Nov 22 2006 Chitlesh Goorah - 1.8.1-1 +- Initial Package. \ No newline at end of file