commit d1240c48d5e5af9eeb461f45deac5a172d6424ad
Author: Jakub Bogusz <[email protected]>
Date:   Sat Apr 13 11:51:17 2013 +0200

    - added destdir patch (don't let DESTDIR break mono helpers)
    - release 2

 cito-destdir.patch | 18 ++++++++++++++++++
 cito.spec          |  4 +++-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/cito.spec b/cito.spec
index c7314ef..5a38128 100644
--- a/cito.spec
+++ b/cito.spec
@@ -3,11 +3,12 @@ Summary(en.UTF-8):    Ć programming language
 Summary(pl.UTF-8):     Język programowania Ć
 Name:          cito
 Version:       0.3.0
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Development/Languages
 Source0:       http://downloads.sourceforge.net/cito/%{name}-%{version}.tar.gz
 # Source0-md5: 794676f282dc8a2d0b9af220a92ad349
+Patch0:                %{name}-destdir.patch
 URL:           http://cito.sourceforge.net/
 # .NET 3.5 - what is minimal mono version?
 BuildRequires: mono-csharp >= 3
@@ -31,6 +32,7 @@ się "cito".
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make}
diff --git a/cito-destdir.patch b/cito-destdir.patch
new file mode 100644
index 0000000..255a3b8
--- /dev/null
+++ b/cito-destdir.patch
@@ -0,0 +1,18 @@
+--- cito-0.3.0/Makefile.orig   2013-01-31 12:23:48.000000000 +0100
++++ cito-0.3.0/Makefile        2013-04-13 11:43:59.660060100 +0200
+@@ -36,13 +36,13 @@
+ install-cito: cito.exe
+       mkdir -p $(DESTDIR)$(prefix)/lib/cito $(DESTDIR)$(prefix)/bin
+       cp $< $(DESTDIR)$(prefix)/lib/cito/cito.exe
+-      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono 
$(DESTDIR)$(prefix)/lib/cito/cito.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cito
++      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono 
$(prefix)/lib/cito/cito.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cito
+       chmod 755 $(DESTDIR)$(prefix)/bin/cito
+ 
+ install-cipad: cipad.exe
+       mkdir -p $(DESTDIR)$(prefix)/lib/cito $(DESTDIR)$(prefix)/bin
+       cp $< $(DESTDIR)$(prefix)/lib/cito/cipad.exe
+-      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono 
$(DESTDIR)$(prefix)/lib/cito/cipad.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cipad
++      (echo '#!/bin/sh' && echo 'exec /usr/bin/mono 
$(prefix)/lib/cito/cipad.exe "$$@"') >$(DESTDIR)$(prefix)/bin/cipad
+       chmod 755 $(DESTDIR)$(prefix)/bin/cipad
+ 
+ uninstall:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cito.git/commitdiff/d1240c48d5e5af9eeb461f45deac5a172d6424ad

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to