rrename 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (7) hide show
  1. data/Makefile +33 -0
  2. data/README +11 -0
  3. data/TODO +8 -0
  4. data/rrename.gemspec +51 -0
  5. data/rrename.glade +1081 -0
  6. data/rrename.rb +897 -0
  7. metadata +46 -0
data/Makefile ADDED
@@ -0,0 +1,33 @@
1
+
2
+ VERSION=0.2.0
3
+ DIST=../dist
4
+ NAME=rrename
5
+ DIR=${NAME}
6
+ TARGZ=${DIR}-${VERSION}.tar.gz
7
+ DEST=${DIST}/${DIR}
8
+ FILES=${NAME}.glade ${NAME}.rb ${NAME}.gemspec Makefile TODO README
9
+ GEM=${NAME}-${VERSION}.gem
10
+ GEMSPEC=${NAME}.gemspec
11
+
12
+ default: release gem
13
+
14
+ release: ${DIST}/${TARGZ}
15
+
16
+
17
+ gem: ${DIST}/${GEM}
18
+
19
+
20
+ ${DIST}/${TARGZ}:
21
+ rm -rfv ${DEST}
22
+ mkdir ${DEST}
23
+ cp ${FILES} ${DEST}
24
+ tar -C ${DIST} -cvzf ${DIST}/${TARGZ} ${DIR}
25
+
26
+ ${DIST}/${GEM}:
27
+ gem build ${GEMSPEC}
28
+ mv ${GEM} ${DIST}
29
+
30
+
31
+ clean:
32
+ rm -fv ${DIST}/${TARGZ}
33
+ rm -fv ${DIST}/${GEM}
data/README ADDED
@@ -0,0 +1,11 @@
1
+ RRENAME
2
+ =======
3
+
4
+ A GNOME2 based tool for interactively renameing files
5
+ with regular expressions.
6
+
7
+ rrename is a GNOME2 based tool which renames a set of files
8
+ interactively with the help of regular expressions and ruby code.
9
+ It supports undo and redo and stores the replace patterns. Patterns and
10
+ code can easily be customized.
11
+
data/TODO ADDED
@@ -0,0 +1,8 @@
1
+ TODO
2
+ ====
3
+
4
+ * work only on the selection
5
+ * make add and remove files redo / undoable
6
+ * apply command from menu automatically
7
+ * figure out how to make translation
8
+ * write documentation
data/rrename.gemspec ADDED
@@ -0,0 +1,51 @@
1
+
2
+ require 'rubygems'
3
+
4
+ spec = Gem::Specification.new do |s|
5
+
6
+ #### Basic information.
7
+
8
+ s.name = 'rrename'
9
+ s.version = "0.2.0"
10
+ s.summary = <<-EOF
11
+ A GNOME2 based tool for interactively renameing files
12
+ with regular expressions.
13
+ EOF
14
+ s.description = <<-EOF
15
+ rrename is a GNOME2 based tool which renames a set of files
16
+ interactively with the help of regular expressions and ruby code.
17
+ It supports undo and redo and stores the replace patterns. Patterns and
18
+ code can easily be customized.
19
+ EOF
20
+
21
+ #### Dependencies and requirements.
22
+
23
+ # s.add_dependency('log4r', '> 1.0.4')
24
+ s.requirements << "libgnome2-ruby"
25
+ s.requirements << "libglade2-ruby"
26
+ s.requirements << "libyaml-ruby"
27
+
28
+ #### Which files are to be included in this gem? Everything! (Except CVS directories.)
29
+
30
+ s.files = ["rrename.glade", "rrename.rb", "rrename.gemspec",
31
+ "Makefile", "TODO", "README"]
32
+
33
+
34
+ #### Load-time details: library and application (you will need one or both).
35
+
36
+ s.bindir = "." # Use these for applications.
37
+ s.executables = ["rrename.rb"]
38
+ s.default_executable = "rrename.rb"
39
+
40
+ #### Documentation and testing.
41
+
42
+ # s.has_rdoc = true
43
+ # s.test_suite_file = "test/rmagic-tests.rb"
44
+
45
+ #### Author and project details.
46
+
47
+ s.author = "Jens Lincke"
48
+ s.email = "jensL81@gmx.de"
49
+ s.homepage = "HTTP://rrename.rubyforge.org"
50
+ s.rubyforge_project = "rrename"
51
+ end