rpms/MiniCopier/F-10 MiniCopier-Configuration.java.patch, NONE, 1.1 MiniCopier-MainFrame.java.patch, NONE, 1.1 MiniCopier-Manifest.txt.patch, NONE, 1.1 MiniCopier-MiniCopier.sh.patch, NONE, 1.1 MiniCopier-build.xml.patch, NONE, 1.1 MiniCopier-configuration.ini.patch, NONE, 1.1 MiniCopier.desktop, NONE, 1.1 MiniCopier.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hicham HAOUARI
hicham at fedoraproject.org
Wed Aug 12 05:21:42 UTC 2009
- Previous message: rpms/MiniCopier/F-11 MiniCopier-Configuration.java.patch, NONE, 1.1 MiniCopier-MainFrame.java.patch, NONE, 1.1 MiniCopier-Manifest.txt.patch, NONE, 1.1 MiniCopier-MiniCopier.sh.patch, NONE, 1.1 MiniCopier-build.xml.patch, NONE, 1.1 MiniCopier-configuration.ini.patch, NONE, 1.1 MiniCopier.desktop, NONE, 1.1 MiniCopier.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/lohit-fonts/devel .cvsignore, 1.11, 1.12 lohit-fonts.spec, 1.16, 1.17 sources, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hicham
Update of /cvs/pkgs/rpms/MiniCopier/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21926/F-10
Modified Files:
.cvsignore sources
Added Files:
MiniCopier-Configuration.java.patch
MiniCopier-MainFrame.java.patch MiniCopier-Manifest.txt.patch
MiniCopier-MiniCopier.sh.patch MiniCopier-build.xml.patch
MiniCopier-configuration.ini.patch MiniCopier.desktop
MiniCopier.spec import.log
Log Message:
MiniCopier-Configuration.java.patch:
Configuration.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- NEW FILE MiniCopier-Configuration.java.patch ---
diff -up MiniCopier-source/src/minicopier/Configuration.java.orig MiniCopier-source/src/minicopier/Configuration.java
--- MiniCopier-source/src/minicopier/Configuration.java.orig 2009-07-19 22:50:02.633753707 +0100
+++ MiniCopier-source/src/minicopier/Configuration.java 2009-07-19 23:57:56.626753659 +0100
@@ -24,7 +24,7 @@ import java.io.*;
public class Configuration {
- private static final String configName = "configuration.ini";
+ private static final String configName = System.getProperty("user.home")+"/.MiniCopier/configuration.ini";
public static String language;
@@ -141,6 +141,9 @@ public class Configuration {
String toWrite;
try {
+ Runtime rt = Runtime.getRuntime();
+ Process proc = rt.exec("mkdir " + System.getProperty("user.home") + "/.MiniCopier");
+ int exitVal = proc.waitFor();
writer = new PrintWriter (new OutputStreamWriter (new FileOutputStream (configName)));
while ((toWrite=buf.readLine())!=null){
writer.println(toWrite);
MiniCopier-MainFrame.java.patch:
MainFrame.java | 7 +++++++
1 file changed, 7 insertions(+)
--- NEW FILE MiniCopier-MainFrame.java.patch ---
diff -up MiniCopier-source/src/minicopier/gui/MainFrame.java.orig MiniCopier-source/src/minicopier/gui/MainFrame.java
--- MiniCopier-source/src/minicopier/gui/MainFrame.java.orig 2009-07-22 03:18:14.705153248 +0100
+++ MiniCopier-source/src/minicopier/gui/MainFrame.java 2009-07-22 03:19:02.347154242 +0100
@@ -85,6 +85,13 @@ public class MainFrame extends JFrame{
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setIconImage(imageFromJar("img/icon.jpg"));
//this.setUndecorated(true);
+
+ Toolkit tk = Toolkit.getDefaultToolkit();
+ Dimension screenSize = tk.getScreenSize();
+ int screenHeight = screenSize.height;
+ int screenWidth = screenSize.width;
+ setSize(screenWidth / 2, screenHeight / 2);
+ setLocation(screenWidth / 4, screenHeight / 4);
this.supPanel = new SupPanel(this);
MiniCopier-Manifest.txt.patch:
Manifest.txt | 1 -
1 file changed, 1 deletion(-)
--- NEW FILE MiniCopier-Manifest.txt.patch ---
diff -up MiniCopier-source/Manifest.txt.orig MiniCopier-source/Manifest.txt
--- MiniCopier-source/Manifest.txt.orig 2009-07-19 22:18:03.171752042 +0100
+++ MiniCopier-source/Manifest.txt 2009-07-20 00:25:58.625753349 +0100
@@ -1,3 +1,2 @@
Main-Class: minicopier.Copier
-Class-Path: lib/PgsLookAndFeel.jar
MiniCopier-MiniCopier.sh.patch:
MiniCopier.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE MiniCopier-MiniCopier.sh.patch ---
diff -up MiniCopier-source/MiniCopier.sh.orig MiniCopier-source/MiniCopier.sh
--- MiniCopier-source/MiniCopier.sh.orig 2009-07-19 22:39:58.805753849 +0100
+++ MiniCopier-source/MiniCopier.sh 2009-07-19 23:05:33.488753936 +0100
@@ -1,5 +1,5 @@
#!/bin/bash
-
+cd /usr/share/java
echo "Launching MiniCopier..."
java -jar MiniCopier.jar $*
echo "MiniCopier terminated."
MiniCopier-build.xml.patch:
build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE MiniCopier-build.xml.patch ---
diff -up MiniCopier-source/build.xml.orig MiniCopier-source/build.xml
--- MiniCopier-source/build.xml.orig 2009-08-07 20:52:09.856524471 +0100
+++ MiniCopier-source/build.xml 2009-08-07 20:53:59.638525369 +0100
@@ -2,7 +2,7 @@
<property name="src" location="src"/>
<property name="bin" location="class"/>
-<property name="lib" location="lib"/>
+<property name="lib" location="/usr/share/java"/>
<target name="prepare" description="directory creation">
MiniCopier-configuration.ini.patch:
configuration.ini | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE MiniCopier-configuration.ini.patch ---
diff -up MiniCopier-source/src/minicopier/configuration.ini.orig MiniCopier-source/src/minicopier/configuration.ini
--- MiniCopier-source/src/minicopier/configuration.ini.orig 2009-07-20 00:02:12.767753926 +0100
+++ MiniCopier-source/src/minicopier/configuration.ini 2009-07-20 00:03:01.606753894 +0100
@@ -10,7 +10,7 @@ alwaysontop=true
#Look and Feel
#You can try with : "pgs","native","metal"
-lnf=pgs
+lnf=native
#Collision default action
#"ask","cancel","overwrite","overwrite_older","resume"
--- NEW FILE MiniCopier.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=MiniCopier
GenericName=MiniCopier
Comment=Powerful graphic copy manager
Exec=MiniCopier
Icon=MiniCopier
Terminal=false
Type=Application
Categories=Utility;
StartupNotify=false
X-Desktop-File-Install-Version=0.15
--- NEW FILE MiniCopier.spec ---
Name: MiniCopier
Version: 0.4
Release: 3%{?dist}
Summary: Graphical copy manager
Group: Applications/File
License: GPLv2+
URL: http://a.courreges.free.fr/projets/minicopier/minicopier-en.php
Source0: http://a.courreges.free.fr/projets/minicopier/releases/%{name}-source.tar
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: jpackage-utils
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: ant
BuildRequires: desktop-file-utils
BuildRequires: PgsLookAndFeel
Requires: jpackage-utils
Requires: java >= 1:1.6.0
Requires: PgsLookAndFeel
Source1: MiniCopier.desktop
#Patch0: remove classpath from manifest
Patch0: %{name}-Manifest.txt.patch
#Patch1: change configuration file path to ~/.MiniCopier
Patch1: %{name}-Configuration.java.patch
#Patch2: fix startup directory
Patch2: %{name}-MiniCopier.sh.patch
#Patch3: start the application with native GTK LookAndFeel by default
Patch3: %{name}-configuration.ini.patch
#Patch4: start the application centered on the screen
Patch4: %{name}-MainFrame.java.patch
#Patch5: fix the lib directory path where the jar required for the build is expected to be
Patch5: %{name}-build.xml.patch
%description
MiniCopier is a graphical copy manager. It provides more comfort and control
over files copy operations, than basic OS functions.
Features
* processing of the transfers one after the other
* add new tranfers to the queue while a copy is already being processed
* dynamic management of the queue of remaining transfers
* pause a copy
* skip current transfer to proceed to the next one
* resume a copy at the exact point where it failed (no need to start over)
* choose another name for the target if a file already exists
* can follow or ignore symbolic links (Unix systems only)
* set a default behaviour if target file already exists
* storage of the failed transfers into a list
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-source
%ant clean
find -name '*.jar' -exec rm -f '{}' \;
find -name '*.class' -exec rm -f '{}' \;
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%ant jar doc
%install
rm -rf %{buildroot}
install -D -p -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}.jar
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -rf -p javadoc/* %{buildroot}%{_javadocdir}/%{name}
install -D -p -m 644 class/img/icon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -D -p -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name}
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE1}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_javadir}/%{name}.jar
%files javadoc
%defattr(-,root,root,-)
%doc LICENSE README
%{_javadocdir}/%{name}
%changelog
* Fri Aug 07 2009 Hicham HAOUARI <hicham.haouari at gmail.com> 0.4-3
- Removed version from the jar.
- Spec cleanup.
* Wed Jul 22 2009 Hicham HAOUARI <hicham.haouari at gmail.com> 0.4-2
- Removed PkgLookAndFeel.jar
- Fixed the License tag
- Added patch to center the main window on the screen.
* Sun Jul 19 2009 Hicham HAOUARI <hicham.haouari at gmail.com> 0.4-1
- Initial package for Fedora.
--- NEW FILE import.log ---
MiniCopier-0_4-3_fc11:F-10:MiniCopier-0.4-3.fc11.src.rpm:1250054452
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/MiniCopier/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 10 Aug 2009 05:33:52 -0000 1.1
+++ .cvsignore 12 Aug 2009 05:21:42 -0000 1.2
@@ -0,0 +1 @@
+MiniCopier-source.tar
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/MiniCopier/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 10 Aug 2009 05:33:52 -0000 1.1
+++ sources 12 Aug 2009 05:21:42 -0000 1.2
@@ -0,0 +1 @@
+2c6d694c3b42979696c6bc69bbceb474 MiniCopier-source.tar
- Previous message: rpms/MiniCopier/F-11 MiniCopier-Configuration.java.patch, NONE, 1.1 MiniCopier-MainFrame.java.patch, NONE, 1.1 MiniCopier-Manifest.txt.patch, NONE, 1.1 MiniCopier-MiniCopier.sh.patch, NONE, 1.1 MiniCopier-build.xml.patch, NONE, 1.1 MiniCopier-configuration.ini.patch, NONE, 1.1 MiniCopier.desktop, NONE, 1.1 MiniCopier.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/lohit-fonts/devel .cvsignore, 1.11, 1.12 lohit-fonts.spec, 1.16, 1.17 sources, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list