Page MenuHomeSolus

D577.id1250.diff
No OneTemporary

D577.id1250.diff

Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: files/gprename-build.patch
===================================================================
--- /dev/null
+++ files/gprename-build.patch
@@ -0,0 +1,43 @@
+diff -ruN gprename-20140325/Makefile gprename-20140325-orig/Makefile
+--- gprename-20140325/Makefile 2014-03-24 22:06:04.000000000 +0100
++++ gprename-20140325-orig/Makefile 2014-06-28 16:05:47.453008829 +0200
+@@ -26,7 +26,7 @@
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
+
+-install: uninstall build
++install: build
+ # Compile all .po files to .mo
+ msgfmt -o build/locale/ca.mo locale/ca.po
+ msgfmt -o build/locale/de.mo locale/de.po
+@@ -45,8 +45,8 @@
+ # Create directories
+ install -d "$(DESTDIR)"
+ install -d "$(DESTDIR)/bin"
+- install -d "/usr/share"
+- install -d "/usr/share/icons"
++ install -d "$(DESTDIR)/share"
++ install -d "$(DESTDIR)/share/icons"
+ install -d "$(DESTDIR)/share/applications"
+ install -d "$(DESTDIR)/share/man"
+ install -d "$(DESTDIR)/share/man/man1"
+@@ -67,7 +67,7 @@
+ # Copy all files in the filesystem
+ install -m 755 build/gprename "$(DESTDIR)/bin/"
+ install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/"
+- install -m 644 icon/gprename.png "/usr/share/icons/"
++ install -m 644 icon/gprename.png "$(DESTDIR)/share/icons/"
+ install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/"
+ install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
+@@ -82,8 +82,8 @@
+ install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+- desktop-file-install bin/gprename.desktop
+- update-desktop-database
++ install -m 644 bin/gprename.desktop "$(DESTDIR)/share/applications/gprename.desktop"
++# update-desktop-database
+ @echo "Installation completed."
+
+ uninstall: clean
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,23 @@
+name : gprename
+version : 20160905
+release : 1
+source :
+ - https://kent.dl.sourceforge.net/project/gprename/gprename/20160905/gprename-20160905.tar.bz2 : 915140caf40559cdbbc368b8a936192ed07984098c14c95a8e6262e8987449b7
+license : GPL-3.0
+component : system.utils
+summary : GPRename is a complete batch renamer for files and directories
+description: |
+ GPRename is a complete batch renamer for files and directories.
+rundeps :
+ - perl-gettext
+ - perl-glib
+ - perl-gtk2
+ - perl-libintl
+ - perl-pango
+setup : |
+ %patch -p1 < $pkgfiles/gprename-build.patch
+install : |
+ %make_install PREFIX=/usr DESTDIR=$installdir/usr
+ sed -i 's|/usr/local|/usr|' $installdir/usr/bin/gprename
+ sed -i 's|/usr/local|/usr|' $installdir/usr/share/applications/gprename*.*
+ sed -i 's|/usr/share/pixmaps/gprename|/usr/share/icons|' $installdir/usr/bin/gprename
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,39 @@
+<PISI>
+ <Source>
+ <Name>gprename</Name>
+ <Packager>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Packager>
+ <License>GPL-3.0</License>
+ <PartOf>system.utils</PartOf>
+ <Summary xml:lang="en">GPRename is a complete batch renamer for files and directories</Summary>
+ <Description xml:lang="en">GPRename is a complete batch renamer for files and directories.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>gprename</Name>
+ <Summary xml:lang="en">GPRename is a complete batch renamer for files and directories</Summary>
+ <Description xml:lang="en">GPRename is a complete batch renamer for files and directories.
+</Description>
+ <PartOf>system.utils</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/applications/gprename-nautilus-actions.xml</Path>
+ <Path fileType="data">/usr/share/applications/gprename.desktop</Path>
+ <Path fileType="data">/usr/share/icons/gprename.png</Path>
+ <Path fileType="localedata">/usr/share/locale</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2017-07-10</Date>
+ <Version>20160905</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
May 17 2023, 6:44 PM (12 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5820612
Default Alt Text
D577.id1250.diff (5 KB)

Event Timeline