Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pnemec
ktoon
ktoon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ktoon.spec of Package ktoon
# norootforbuild Name: ktoon Version: 0.9 BuildRequires: update-desktop-files libqt4 libqt4-devel dlib-devel ruby dlib-devel dlib Mesa-devel URL: http://ktoon.toonka.com/ Release: 1 License: GPL Source: %name-%version-cvs.tar.bz2 # #exutable script into /usr/bin Source1: %name # #desktop file Source2: %name.desktop Patch1: random_data_fix.path BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Productivity/Graphics/Other Autoreqprov: on Summary: Program for editing picture information. %description Ktoon is 2D animation package. It is in very early stage of development. It also look like it is abadon by developer. Authors: -------- http://ktoon.toonka.com/ %prep %setup -q %patch1 export QTDIR=%{_libdir}/qt4 export PATH=${QTDIR}/bin:${PATH} ruby configure.rb \ --prefix=%{_libdir}/%name #--with-debug %build export QTDIR=%{_libdir}/qt4 export PATH=${QTDIR}/bin:${PATH} # # ruby configure is unable to set libdir corectly :( # but now i install it into special directory so there is no need to hack it directly #%if "%_lib" == "lib64" # find . -name Makefile | while read line # do # sed -i s%'/usr/lib/\$(TARGET'%'/usr/lib64/\$(TARGET'%g $line # sed -i s%/usr/lib/%/usr/lib64/%g $line # done #%endif make clean make %install rm -rf $RPM_BUILD_ROOT # #hack to install under RPM_BUILD_ROOT ruby configure.rb \ --prefix=$RPM_BUILD_ROOT/%{_libdir}/%name #ruby configure is unable to set libdir corectly :( #%if "%_lib" == "lib64" # find . -name Makefile | while read line # do # sed -i s%/usr/lib/%/usr/lib64/%g $line # sed -i s%/lib/%/lib64/%g $line # done #%endif # # delete svn remainings find . -name ".svn" -exec rm -rf \{\} \+ make install %if "%_lib" == "lib64" sed -i s%/usr/lib/%/usr/lib64/%g %{S:1} %endif install -m 0755 -d $RPM_BUILD_ROOT/%{_bindir} install -m 0755 %{S:1} $RPM_BUILD_ROOT/%{_bindir} install -m 0755 -d $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ cp `find . -name theme_config.png` $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ktoon.png %suse_update_desktop_file -i %name Graphics RasterGraphics %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_libdir}/%{name} %{_bindir}/%{name} %{_datadir}/pixmaps %{_datadir}/applications/%{name}.desktop %changelog * Fri Nov 09 2007 - pnemec@suse.cz - fixed type in wraper script * Tue Jun 05 2007 - pnemec@suse.cz - hacked package so everything is installed under /usr/%lib/ktoon and program is run trough wraper with LD_LIBRARY_PATH - added destkop file * Fri May 04 2007 - pnemec@suse.cz - initial version 0.7.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor