SPECS: JXplorer.spec - added .desktop file - use icotool to extract .png ic...
pawelz
pawelz at pld-linux.org
Sun Jul 27 20:54:53 CEST 2008
Author: pawelz Date: Sun Jul 27 18:54:53 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added .desktop file
- use icotool to extract .png icon from .ico file
---- Files affected:
SPECS:
JXplorer.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/JXplorer.spec
diff -u SPECS/JXplorer.spec:1.4 SPECS/JXplorer.spec:1.5
--- SPECS/JXplorer.spec:1.4 Sun Jul 20 20:50:30 2008
+++ SPECS/JXplorer.spec Sun Jul 27 20:54:47 2008
@@ -5,7 +5,7 @@
Summary(pl.UTF-8): Przeglądarka LDAP
Name: JXplorer
Version: 3.2
-Release: 0.1
+Release: 0.2
License: Computer Associates Open Source Software License
Group: Applications/Databases/Interfaces
Source0: http://dl.sourceforge.net/jxplorer/JXv%{version}deploy.tar.bz2
@@ -14,6 +14,7 @@
# Source1-md5: 7773a4de17a935db2aaaf3984772fcb1
Source2: %{name}.sh
Source3: %{name}.jxconfig.txt
+Source4: %{name}.desktop
Patch0: %{name}-NoInstallAnywhere.patch
URL: http://www.jxplorer.org/
BuildRequires: ant
@@ -22,6 +23,7 @@
BuildRequires: rpm-javaprov
BuildRequires: rpmbuild(macros) >= 1.300
BuildRequires: sed >= 4.0
+BuildRequires: icoutils
Requires: javahelp
Requires: jpackage-utils
Requires: junit
@@ -45,6 +47,8 @@
%{__sed} -i -e 's,\r$,,' build.xml
+icotool -x -o jxplorer.png jxplorer.ico
+
%patch0 -p0
install %{SOURCE2} jxplorer.sh
@@ -102,6 +106,10 @@
install jxconfig.txt $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/jxconfig.txt
install connections.txt $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/connections.txt
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/jxplorer.desktop
+install jxplorer.png $RPM_BUILD_ROOT%{_pixmapsdir}/jxplorer.png
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -110,6 +118,8 @@
%attr(755,root,root) %{_bindir}/jxplorer
%{_javadir}/%{name}
%{_datadir}/%{name}
+%{_pixmapsdir}/jxplorer.png
+%{_desktopdir}/jxplorer.desktop
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/connections.txt
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/log4j.xml
@@ -126,6 +136,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2008/07/27 18:54:47 pawelz
+- added .desktop file
+- use icotool to extract .png icon from .ico file
+
Revision 1.4 2008/07/20 18:50:30 pawelz
- BR: jar
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/JXplorer.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list