[packages/imgworks] - new

qboosh qboosh at pld-linux.org
Sat Feb 8 07:39:44 CET 2014


commit 2220629862f0c4045845b369443ea5eccf207d27
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 8 07:39:52 2014 +0100

    - new

 imgworks-verbose.patch | 40 ++++++++++++++++++++++++++++++
 imgworks.spec          | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)
---
diff --git a/imgworks.spec b/imgworks.spec
new file mode 100644
index 0000000..33fd738
--- /dev/null
+++ b/imgworks.spec
@@ -0,0 +1,67 @@
+Summary:	ImgWorks - graphical batch image converter
+Summary(pl.UTF-8):	ImgWorks - graficzny wsadowy konwerter obrazów
+Name:		imgworks
+Version:	0.8.1
+Release:	1
+License:	GPL v2
+Group:		X11/Applications/Graphics
+Source0:	http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
+# Source0-md5:	4badf90fe08ae8fceb4cabc032558285
+Patch0:		%{name}-verbose.patch
+URL:		http://freecode.com/projects/imgworks
+BuildRequires:	ImageMagick-devel
+BuildRequires:	endeavour-devel >= 3
+BuildRequires:	gtk+-devel >= 1.2
+BuildRequires:	libstdc++-devel
+Requires:	endeavour >= 3
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ImgWorks is a graphical batch image converter that uses ImageMagick
+along with Endeavour Mark II to conveniently convert and edit a
+user-specified list of image/video files. Features include converting
+images from one format to another, adjusting the compression level,
+adjusting the gamma, rotating, cropping, resizing, and adding frames
+and text.
+
+%description -l pl.UTF-8
+ImgWorks to graficzny wsadowy konwerter obrazów, wykorzystujący pakiet
+ImageMagick wraz z Endeavour Mark II do wygodnej konwersji i edycji
+podanej przez użytkownika listy plików obrazów/wideo. Możliwości
+obejmują konwersję z jednego formatu do innego, modyfikowanie poziomu
+kompresji, modyfikowanie współczynnika gamma, obracanie, przycinanie,
+zmianę orzmiaru oraz dodawanie ramek i tekstu.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CPP="%{__cxx}" \
+	CFLAGS="%{rpmcflags} -Wall -DPREFIX=\\\"%{_prefix}\\\" \
+		-DHAVE_IMAGE_MAGICK `Magick-config --cflags` `Wand-config --cflags` \
+		`gtk-config --cflags` \
+		-DHAVE_LIBENDEAVOUR2 `endeavour2-base-config --cflags`"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+	MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
+	INSTBINFLAGS="-m755"
+
+bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/endeavour2/bin/imgworks
+%{_datadir}/endeavour2/help/imgworks
+%{_datadir}/endeavour2/icons/icon_imgworks_*.xpm
+%{_mandir}/man1/imgworks.1*
diff --git a/imgworks-verbose.patch b/imgworks-verbose.patch
new file mode 100644
index 0000000..e07a779
--- /dev/null
+++ b/imgworks-verbose.patch
@@ -0,0 +1,40 @@
+--- imgworks-0.8.1/Makefile.orig	2009-02-10 09:00:00.000000000 +0100
++++ imgworks-0.8.1/Makefile	2014-02-07 22:40:35.732880519 +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
+--- imgworks-0.8.1/imgworks/Makefile.orig	2009-02-10 09:00:00.000000000 +0100
++++ imgworks-0.8.1/imgworks/Makefile	2014-02-07 22:43:14.209540535 +0100
+@@ -32,11 +32,9 @@
+ OBJ_C   = $(SRC_C:.c=.o)
+ 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imgworks.git/commitdiff/2220629862f0c4045845b369443ea5eccf207d27



More information about the pld-cvs-commit mailing list