Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 7f7ae5204ba9ba7361a9834dca034b2f > files > 3

creox-0.2.2-0.rc2.8mdv2009.1.src.rpm

Name: creox
Version: 0.2.2
Release: %mkrel 0.rc2.8
License:	GPLv2+
Summary: Creox is a real-time sound processor
URL:		http://www.uid0.sk/zyzstar/?creox
Group:		Sound
Source0:	http://www.uid0.sk/zyzstar/projects/creox/downloads/%{name}-%{version}rc2.tar.bz2
Patch0:		creox-0.2.2rc2-gcc3.4-fix.patch
BuildRequires:	qt3-devel zlib-devel X11-devel kdelibs3-devel jackit-devel
BuildRequires:	png-devel jpeg-devel libart_lgpl-devel expat-devel
BuildRequires:	desktop-file-utils
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Creox is a real-time sound processor. You can plug your electric guitar
or any other musical instrument directly to the PC's sound card and start
experimenting with various sound effects. Creox has a nice user-friendly
GUI, a preset support, a low-latency DSP engine and each effect parameter
can be altered "on the fly". 

As the creox is a JACK application, the output sound can be routed to the
other JACK aware applications as well as the audio input can be taken as
the output from the other JACK client.

%prep
%setup -q -n %{name}-%{version}rc2
%patch0 -p1 -b .gcc34

%build
%configure_kde3

%make

%install
rm -rf %{buildroot}
%{makeinstall_std}

mkdir -p %{buildroot}/%{_kde3_datadir}/applications
mv %{buildroot}/%{_kde3_datadir}/applnk/Applications/%{name}.desktop %{buildroot}/%{_kde3_datadir}/applications/%{name}.desktop

perl -pi -e 's,%{name}.png,%{name},g' %{buildroot}%{_kde3_datadir}/applications/*

desktop-file-install --vendor="" \
  --remove-category="Application" \
  --add-category="AudioVideo;Audio" \
  --dir %{buildroot}%{_kde3_datadir}/applications %{buildroot}%{_kde3_datadir}/applications/*

install -m644 %{buildroot}%{_kde3_iconsdir}/hicolor/16x16/apps/%{name}.png -D %{buildroot}%{_miconsdir}/%{name}.png
install -m644 %{buildroot}%{_kde3_iconsdir}/hicolor/32x32/apps/%{name}.png -D %{buildroot}%{_kde3_iconsdir}/%{name}.png
install -m644 %{buildroot}%{_kde3_iconsdir}/hicolor/48x48/apps/%{name}.png -D %{buildroot}%{_liconsdir}/%{name}.png

#Relativisation of symlink, rpm fails to do it
rm -f %{buildroot}%{_kde3_datadir}/doc/HTML/en/%{name}/common
ln -sf ../common %{buildroot}%{_kde3_datadir}/doc/HTML/en/%{name}/common

%find_lang %{name}

%if %mdkversion < 200900
%post
%update_menus
%endif

%if %mdkversion < 200900
%postun
%clean_menus
%endif

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(755,root,root,755)
%{_kde3_bindir}/%{name}
%defattr(644,root,root,755)
%{_kde3_datadir}/apps/%{name}
%{_kde3_datadir}/applications/%{name}.desktop
%{_kde3_iconsdir}/hicolor/16x16/apps/%{name}.png
%{_kde3_iconsdir}/hicolor/32x32/apps/%{name}.png
%{_kde3_iconsdir}/hicolor/48x48/apps/%{name}.png
%{_kde3_iconsdir}/hicolor/64x64/apps/%{name}.png
%{_miconsdir}/%{name}.png
%{_kde3_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%doc %{_kde3_docdir}/HTML/*/%{name}
%doc AUTHORS BUGS ChangeLog README TODO



%changelog
* Wed Mar 25 2009 Helio Chissini de Castro <helio@mandriva.com> 0.2.2-0.rc2.8mdv2009.1
+ Revision: 361105
- Bump again
- Bump to rebuild against cooker

  + Emmanuel Andry <eandry@mandriva.org>
    - drop arts support

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.2.2-0.rc2.5mdv2008.1
+ Revision: 136347
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request
    - buildrequires X11-devel instead of XFree86-devel

* Sat Sep 08 2007 Emmanuel Andry <eandry@mandriva.org> 0.2.2-0.rc2.5mdv2008.0
+ Revision: 82485
- uncompress patch
- drop old menu
- xdg menu
- remove icon file extension in desktop file
- Import creox



* Tue May 23 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 0.2.2-0.rc2.4mdk
- fix lib64 path to qt3
- use %%configure macro

* Tue Jul 12 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 0.2.2-0.rc2.3mdk
- rebuild
- %%mkrel

* Tue Jun 15 2004 Per ?yvind Karlsen <peroyvind@linux-mandrake.com> 0.2.2-0.rc2.2mdk
- fix build with gcc-3.4 (P0)

* Wed Nov 26 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.2.2-0.rc2.1mdk
- 0.2.2rc2
- remove -fpermissive from CXXFLAGS, compiles fine now:)
- fix buildrequires (lib64..)

* Sat Aug 02 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.2.1-4mdk
- compile with -fpermissive to produce warnings in stead of errors (so things compile)
- actually build in %%build
- actually include the locale files

* Thu Jun 19 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.2.1-2mdk
- change summary macro to avoid possible conflicts with -debug packages
- fix path to qt3 (lib64 issues..)
- fix invalid binnames

* Wed Apr 09 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.2.1-1mdk
- 0.2.1
- build with xinerama support

* Thu Mar 27 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.2.0-2mdk
- corrected url, thx to Curtis Hildebrand <curtis_h.news@telus.net>

* Thu Mar 27 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.2.0-1mdk
- initial mdk release