[packages/menueditor] - new
qboosh
qboosh at pld-linux.org
Sun Feb 2 15:39:17 CET 2014
commit 156deaca4d882859422b5ada6d8c568b0c02e388
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 2 15:40:47 2014 +0100
- new
menueditor-verbose.patch | 39 +++++++++++++++++++++++++++++++++
menueditor.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 95 insertions(+)
---
diff --git a/menueditor.spec b/menueditor.spec
new file mode 100644
index 0000000..97f2fc4
--- /dev/null
+++ b/menueditor.spec
@@ -0,0 +1,56 @@
+Summary: Menu Editor - an editor for IceWM's menus and console
+Summary(pl.UTF-8): Menu Editor - edytor menu i konsoli IceWM
+Name: menueditor
+Version: 1.3.4
+Release: 1
+License: GPL-like
+Group: X11/Applications
+Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
+# Source0-md5: f792f5bef072bd0e1d9bc0304434124d
+Patch0: %{name}-verbose.patch
+URL: http://freecode.com/projects/menueditor
+BuildRequires: gtk+-devel >= 1.2
+BuildRequires: imlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Menu Editor is an editor for IceWM's menus and console.
+
+%description -l pl.UTF-8
+Menu Editor to edytor menu i konsoli IceWM.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+./configure Linux -v \
+ --prefix=%{_prefix}
+
+%{__make} \
+ CC="%{__cc}" \
+ CPP="%{__cxx}" \
+ CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?debug:-fomit-frame-pointer} -ffast-math -D__USE_BSD -DPREFIX=\\\"/usr\\\" `imlib-config --cflags` -DHAVE_IMLIB `gtk-config --cflags`" \
+ LIB_DIRS=
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+ ICONS_DIR=$RPM_BUILD_ROOT%{_pixmapsdir} \
+ MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
+ INSTBINFLAGS="-m755"
+
+bunzip2 $RPM_BUILD_ROOT%{_mandir}/man1/*.1.bz2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE README
+%attr(755,root,root) %{_bindir}/menueditor
+%{_datadir}/menueditor
+%{_mandir}/man1/menueditor.1*
+%{_pixmapsdir}/menueditor.xpm
diff --git a/menueditor-verbose.patch b/menueditor-verbose.patch
new file mode 100644
index 0000000..9c2a96c
--- /dev/null
+++ b/menueditor-verbose.patch
@@ -0,0 +1,39 @@
+--- menueditor-1.3.4/menueditor/makefile_append.ini.orig 2008-06-17 08:00:00.000000000 +0200
++++ menueditor-1.3.4/menueditor/makefile_append.ini 2014-02-02 15:19:34.932120296 +0100
+@@ -13,10 +13,8 @@
+ OBJ_CPP = $(SRC_CPP:.cpp=.o)
+ .c.o:
+- @echo "Compiling module $*.o"
+- @+$(CC) -c $*.c $(INC_DIRS) $(CFLAGS)
++ $(CC) -c $*.c $(INC_DIRS) $(CFLAGS)
+ .cpp.o:
+- @echo "Compiling module $*.o"
+- @+$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS)
++ $(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS)
+
+ # Programs
+ LS = ls
+--- menueditor-1.3.4/Makefile.orig 2008-06-17 08:00:00.000000000 +0200
++++ menueditor-1.3.4/Makefile 2014-02-02 15:31:25.082090493 +0100
+@@ -9,18 +9,18 @@
+
+ all config:
+ @for subdir in $(ALL_SRC_DIRS); do \
+- $(MAKE) -s -C $$subdir -f Makefile $@; \
++ $(MAKE) -C $$subdir -f Makefile $@; \
+ done
+ @echo "To install, type \"su\" (to gain root privileges)\
+ and then type \"make install\"."
+
+ install:
+ @for subdir in $(ALL_SRC_DIRS); do \
+- $(MAKE) -s -C $$subdir -f Makefile $@; \
++ $(MAKE) -C $$subdir -f Makefile $@; \
+ done
+ @echo "Installation complete."
+
+ clean:
+ @for subdir in $(ALL_SRC_DIRS); do \
+- $(MAKE) -s -C $$subdir -f Makefile $@; \
++ $(MAKE) -C $$subdir -f Makefile $@; \
+ done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/menueditor.git/commitdiff/156deaca4d882859422b5ada6d8c568b0c02e388
More information about the pld-cvs-commit
mailing list