LogoopenSUSE Build Service > Projects
Sign Up | Log In

gimp-lch-selector

gimp-lch-selector
http://registry.gimp.org/node/16814#attachmentsā€¸

Last change
###########

# osc request show --diff 26009                          
Request to submit (sri26009):                                    

    home:psmt:branches:home:doiggl/gimp-lch-selector  ->  home:doiggl/gimp-lch-selector

Source revision:
    2           

Message:
    Fix Makefile and .spec

State:   new          2009-12-08T13:45:50 psmt
Comment: None                                 



Fixes
http://lists.opensuse.org/opensuse-packaging/2009-12/msg00044.html
http://lists.opensuse.org/opensuse-packaging/2009-12/msg00062.html
http://lists.opensuse.org/opensuse-packaging/2009-12/msg00068.html
http://lists.opensuse.org/opensuse-packaging/2009-12/msg00069.html

# cd /

# tar -xvf /tmp/gimp-lch-selector-0.3.tar
gimp-lch-selector/Makefile
gimp-lch-selector/color-space.hpp
gimp-lch-selector/main.cpp
gimp-lch-selector/selector-lch.hpp

# ll gimp-lch-selector
total 20
-rw-r--r-- 1 1001 1001  522 Jun  9 01:16 Makefile
-rw-r--r-- 1 1001 1001 2349 Jun 14 22:29 color-space.hpp
-rw-r--r-- 1 1001 1001  683 Jun 15 20:10 main.cpp
-rw-r--r-- 1 1001 1001 6793 Jun 15 20:15 selector-lch.hpp

# cd /

# ll gimp-lch-selector
total 20
-rw-r--r-- 1 1001 1001  522 Jun  9 01:16 Makefile
-rw-r--r-- 1 1001 1001 2349 Jun 14 22:29 color-space.hpp
-rw-r--r-- 1 1001 1001  683 Jun 15 20:10 main.cpp
-rw-r--r-- 1 1001 1001 6793 Jun 15 20:15 selector-lch.hpp
linux:/ # mv -v  gimp-lch-selector gimp-lch-selector-0.3
`gimp-lch-selector' -> `gimp-lch-selector-0.3'

# tar -cvf gimp-lch-selector-0.3.tar gimp-lch-selector-0.3
gimp-lch-selector-0.3/
gimp-lch-selector-0.3/color-space.hpp
gimp-lch-selector-0.3/main.cpp
gimp-lch-selector-0.3/selector-lch.hpp
gimp-lch-selector-0.3/Makefile

# gzip -v gimp-lch-selector-0.3.tar
gimp-lch-selector-0.3.tar:       83.2% -- replaced with gimp-lch-selector-0.3.tar.gz


===================
Successful compile.
===================
-----------------------------------------------------------------
----- building gimp-lch-selector.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'jobs 4' --define 'disturl obs://build.opensuse.org/home:doiggl/openSUSE_11.2/c46a62d378f521aefad17ee20b9e6f03-gimp-lch-selector' /usr/src/packages/SOURCES/gimp-lch-selector.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66tZYN
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf gimp-lch-selector-0.3
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/gimp-lch-selector-0.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gimp-lch-selector-0.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (glchs-makefile_overhaul.patch):'
Patch #0 (glchs-makefile_overhaul.patch):
+ /bin/cat /usr/src/packages/SOURCES/glchs-makefile_overhaul.patch
+ /usr/bin/patch -s -p0 --fuzz=2
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JUmj0w
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
++ dirname /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
+ /bin/mkdir -p /usr/src/packages/BUILDROOT
+ /bin/mkdir /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
+ cd gimp-lch-selector-0.3
+ export RPM_OPT_FLAGS
+ make
g++ -ansi -pedantic -Wall -Wextra -O3 -shared -fPIC -O3 $(gimptool-2.0 --cflags) -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o libcolor-selector-lch.so main.cpp $(gimptool-2.0 --libs)
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bq2epi
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd gimp-lch-selector-0.3
+ make DESTDIR=/usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64 install
install -d /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64$(gimptool-2.0 --gimpplugindir)/modules/
install -m755 libcolor-selector-lch.so /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64$(gimptool-2.0 --gimpplugindir)/modules/
+ /usr/lib/rpm/brp-lib64-linux
sf@suse.de: if you find problems with this script, drop me a note
+ RPM_BUILD_ROOT=/usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
+ export RPM_BUILD_ROOT
+ test -x /usr/sbin/Check -a 399 = 0 -o -x /usr/sbin/Check -a '!' -z /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.y2AOjq
setting /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64/ to root:root 0755. (wrong owner/group abuild:abuild)
setting /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64/usr/ to root:root 0755. (wrong owner/group abuild:abuild)
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-debug
+ /usr/lib/rpm/brp-check-la
+ /usr/lib/rpm/brp-symlink
+ /usr/lib/rpm/brp-desktop
WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
+ /usr/lib/rpm/brp-rpath
+ /usr/lib/rpm/brp-pie
+ /usr/lib/rpm/brp-rootfs
+ /usr/lib/rpm/brp-tcl
+ /usr/lib/rpm/brp-check-python
+ /usr/lib/rpm/brp-check-bytecode-version
+ /usr/lib/rpm/brp-boot-scripts
+ /usr/lib/rpm/brp-hook
Processing files: gimp-lch-selector-0.3-20.1.x86_64
Finding Provides: /usr/lib/rpm/find-provides gimp-lch-selector
Finding Requires: /usr/lib/rpm/find-requires gimp-lch-selector
Finding Supplements: /usr/lib/rpm/find-supplements gimp-lch-selector
Provides: libcolor-selector-lch.so()(64bit)
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libcairo.so.2()(64bit) libgdk-x11-2.0.so.0()(64bit) libgimpcolor-2.0.so.0()(64bit) libgimpwidgets-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
Wrote: /usr/src/packages/SRPMS/gimp-lch-selector-0.3-20.1.src.rpm
Wrote: /usr/src/packages/RPMS/x86_64/gimp-lch-selector-0.3-20.1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jMYzqL
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd gimp-lch-selector-0.3
+ rm -rf /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-20.1.x86_64
+ exit 0
... checking for files with abuild user/group
... running 00-check-install-rpms
... installing all built rpms
Preparing packages for installation...
gimp-lch-selector-0.3-20.1
... running 01-check-debuginfo
... testing for empty debuginfo packages
... running 02-check-gcc-output
... testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using //.build.log)
... running 03-check-binary-kernel-log
... running 04-check-filelist
... checking filelist
... running 05-check-invalid-requires
... running 06-check-installtest
... testing for pre/postinstall scripts that are not idempotent
... running 08-check-permissions
... testing for modified permissions
... running 09-check-packaged-twice
... running 10-check-lanana
... running 11-check-pkgconfig-deps
... testing devel dependencies required by pkgconfig .pc files
... running 12-check-libtool-deps
... testing devel dependencies required by libtool .la files
(can be skipped by "skip-check-libtool-deps" anywhere in spec)
... running 13-check-invalid-provides
... running 14-check-gconf-scriptlets
... testing GConf scriptlet presence
... running 99-check-remove-rpms
... removing all built rpms
(order: reverse gimp-lch-selector)

RPMLINT report:
===============
gimp-lch-selector.x86_64: W: unstripped-binary-or-object /usr/lib64/gimp/2.0/modules/libcolor-selector-lch.so
2 packages and 0 specfiles checked; 0 errors, 1 warnings.
... creating baselibs
ignoring /usr/src/packages/RPMS/x86_64/gimp-lch-selector-0.3-20.1.x86_64.rpm as gimp-lch-selector-0.3-20.1.x86_64.rpm not in baselibs.conf
... saving built packages
/usr/src/packages/RPMS/x86_64/gimp-lch-selector-0.3-20.1.x86_64.rpm
/usr/src/packages/SRPMS/gimp-lch-selector-0.3-20.1.src.rpm

build31 finished "build gimp-lch-selector.spec" at Thu Dec 10 12:33:11 UTC 2009.

mount: / is busy
System halted.
build: extracting built packages...
gimp-lch-selector-0.3-20.1.x86_64.rpm
gimp-lch-selector-0.3-20.1.src.rpm

Specfile that works
===================
Name:           gimp-lch-selector  
Version:        0.3  
Release:        1  
License:        GPL v2 or later  
Source:         gimp-lch-selector-0.3.tar.bz2  
Patch0:         glchs-makefile_overhaul.patch  
Group:          Productivity/Other  
Summary:        L*C*h color selector for Gimp  
  
BuildRoot:      %{_tmppath}/%{name}-%{version}-build  
  
%define plugin_dir %(gimptool-2.0 --gimpplugindir)/modules  
  
List of additional build dependencies  
BuildRequires:  gcc-c++ libxml2-devel   
BuildRequires:  gtk-devel  
BuildRequires:  gimp-devel  
  
%description  
This is a L*C*h (L*a*b* in polar coordinates) color selector module for  
GIMP.  
  
%prep  
%setup -q  
%patch0  
  
%build  
export RPM_OPT_FLAGS  
make  
  
%install  
make DESTDIR=%buildroot install  
  
%clean  
rm -rf %buildroot  
  
%files  
%defattr(-,root,root)  
%{plugin_dir}/libcolor-selector-lch.so  
  
%changelog  
* Thu Dec 10 2009 doiggl@velocitynet.com.au    
- packaged gimp-lch-selector 0.3 using the buildservice spec file wizard    

Source Files

Filename Size Changed Actions
gimp-lch-selector-0.3.tar.bz2 3.46 KB Download File
gimp-lch-selector.changes 448 Bytes Download File
gimp-lch-selector.spec 946 Bytes Download File
glchs-makefile_overhaul.patch 1.2 KB Download File
wizard.xml 587 Bytes Download File

Comments for home:doiggl (0)

Login required, please login or signup in order to comment