rpms/vym/FC-6 vym-mainwindow.patch, NONE, 1.1 vym-pro.patch, NONE, 1.1 vym-tex.patch, NONE, 1.1 vym.desktop, NONE, 1.1 vym.spec, NONE, 1.1 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Wed Mar 21 19:00:42 UTC 2007


Author: limb

Update of /cvs/extras/rpms/vym/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv434

Modified Files:
	sources 
Added Files:
	vym-mainwindow.patch vym-pro.patch vym-tex.patch vym.desktop 
	vym.spec 
Log Message:
Initial import.


vym-mainwindow.patch:

--- NEW FILE vym-mainwindow.patch ---
--- 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, 

vym-pro.patch:

--- NEW FILE vym-pro.patch ---
--- 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/

vym-tex.patch:

--- NEW FILE vym-tex.patch ---
--- 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


--- NEW FILE vym.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Vym
Comment=View your mind
Exec=vym
Icon=vym.png
Terminal=false
Type=Application
Categories=Qt;KDE;Office;


--- NEW FILE vym.spec ---
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 <limb at jcomserv.net> - 1.8.1-8
- Converted patches to unified output format.
* Wed Mar 21 2007 Jon Ciesla <limb at jcomserv.net> - 1.8.1-7
- Dropped symlink in favor of path patches.
* Wed Mar 21 2007 Jon Ciesla <limb at jcomserv.net> - 1.8.1-6
- Fixed Source URL.
* Tue Mar 20 2007 Jon Ciesla <limb at jcomserv.net> - 1.8.1-5
- doc link fix, icon fix.
* Mon Mar 19 2007 Jon Ciesla <limb at jcomserv.net> - 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 <limb at jcomserv.net> - 1.8.1-3
- Fixed source url.
- added desktop-file-utils,kdelibs BRs.
- Fixed desktop file handling.
* Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 1.8.1-2
- Submitting for review.
* Wed Nov 22 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org > - 1.8.1-1
- Initial Package.

Index: sources
===================================================================
RCS file: /cvs/extras/rpms/vym/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Mar 2007 17:58:04 -0000	1.1
+++ sources	21 Mar 2007 19:00:09 -0000	1.2
@@ -0,0 +1 @@
+de461aef063a3a3a528669715611257e  vym-1.8.1.tar.gz




More information about the fedora-extras-commits mailing list