Package qosmic

Download qosmic.spec
Version:	1.6.0
Name:		qosmic
Release:	alt1
Summary:	Qosmic Fractal Flame Editor
License: 	GPLv3
Group: 		Graphics
Packager:	Motsyo Gennadi <drool@altlinux.ru>
Url:		http://code.google.com/p/qosmic/
Source0:	http://qosmic.googlecode.com/files/%name-%version.tar.bz2
Source1:	%name.desktop
Source2:	%name
Patch0:		%name-1.6.0-alt.diff
Requires:	flam3-palettes

BuildRequires: /usr/bin/convert flam3-devel libjpeg-devel libxml2-devel lua-devel qt5-base-devel

%description
Qosmic is a nifty toy with which you can
edit and render flam3 fractal images.

%prep
%setup -n %name
%patch0 -p1

%build
qmake-qt5 "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro
%make_build

%install
%__install -Dp -m 0755 %name %buildroot%_bindir/%name.bin
%__install -Dp -m 0755 %SOURCE2 %buildroot%_bindir/%name

# Menu
%__install -Dp -m 0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop

# Icons
%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 16x16 icons/%name.xpm %buildroot%_miconsdir/%name.png
convert -resize 32x32 icons/%name.xpm %buildroot%_niconsdir/%name.png
convert -resize 48x48 icons/%name.xpm %buildroot%_liconsdir/%name.png

%files
%doc README* changes.txt
%_bindir/%{name}*
%_desktopdir/%name.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png

%changelog
* Mon Dec 07 2020 Motsyo Gennadi <drool@altlinux.ru> 1.6.0-alt1
- 1.6.0

* Tue Feb 07 2017 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1.1
- NMU: rebuild with new lua 5.1

* Sat Oct 18 2014 Motsyo Gennadi <drool@altlinux.ru> 1.5.0-alt1
- 1.5.0

* Mon Dec 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.8-alt1.1
- Fixed build with glibc 2.16

* Sat Jan 02 2010 Motsyo Gennadi <drool@altlinux.ru> 1.4.8-alt1
- 1.4.8
- change URL

* Sat Aug 15 2009 Motsyo Gennadi <drool@altlinux.ru> 1.4.6-alt1
- 1.4.6

* Thu Jul 23 2009 Motsyo Gennadi <drool@altlinux.ru> 1.4.5-alt1
- 1.4.5

* Sun Nov 23 2008 Motsyo Gennadi <drool@altlinux.ru> 1.3.2-alt2.1
- really delete post/postun scripts

* Thu Nov 20 2008 Motsyo Gennadi <drool@altlinux.ru> 1.3.2-alt2
- delete post/postun scripts (new rpm)

* Tue Apr 15 2008 Motsyo Gennadi <drool@altlinux.ru> 1.3.2-alt1
- 1.3.2

* Mon Feb 25 2008 Motsyo Gennadi <drool@altlinux.ru> 1.3-alt1
- 1.3

* Fri Jan 04 2008 Motsyo Gennadi <drool@altlinux.ru> 1.2-alt1
- 1.2

* Wed Oct 31 2007 Motsyo Gennadi <drool@altlinux.ru> 1.1.2-alt1
- 1.1.2

* Tue Oct 23 2007 Motsyo Gennadi <drool@altlinux.ru> 1.1-alt1
- initial build for ALT Linux
Back to Top