|
|
c984ba1 |
Name: gnaural
|
|
Koji |
d503355 |
Version: 1.0.20110606
|
|
Koji |
d503355 |
Release: 1%{?dist}
|
|
|
c984ba1 |
Summary: A multi-platform programmable binaural-beat generator
|
|
|
c984ba1 |
License: GPLv2+
|
|
Koji |
d503355 |
URL: http://gnaural.sourceforge.net
|
|
Koji |
d503355 |
Source0: http://downloads.sourceforge.net/project/%{name}/Gnaural/%{name}-%{version}.tar.gz
|
|
Koji |
d503355 |
BuildRequires: gtk2-devel libglade2-devel libsndfile-devel
|
|
|
c984ba1 |
BuildRequires: portaudio-devel
|
|
|
c984ba1 |
BuildRequires: desktop-file-utils
|
|
|
c984ba1 |
Requires: hicolor-icon-theme
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%description
|
|
|
c984ba1 |
Gnaural is a multi-platform programmable binaural-beat generator. It
|
|
|
c984ba1 |
is actually brainwave entrainment software for creating binaural beats
|
|
|
c984ba1 |
intended to be used as personal brainwave synchronization software,
|
|
|
c984ba1 |
for scientific research, or by professionals. Gnaural allows for the
|
|
|
c984ba1 |
creation of binaural beat tracks specifying different frequencies and
|
|
|
c984ba1 |
exporting tracks into different audio formats. Gnaural runnings can
|
|
|
c984ba1 |
also be linked over the internet, allowing synchronous sessions
|
|
|
c984ba1 |
between many users.
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%prep
|
|
Koji |
d503355 |
%setup -q
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%build
|
|
|
c984ba1 |
%configure
|
|
|
c984ba1 |
make %{?_smp_mflags}
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%install
|
|
Koji |
d503355 |
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
|
|
c984ba1 |
|
|
Koji |
d503355 |
install -p -dm 755 %{buildroot}%{_datadir}/pixmaps
|
|
Koji |
d503355 |
install -p -dm 755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
|
c984ba1 |
|
|
|
c984ba1 |
install -p -m 644 pixmaps/%{name}-icon.xpm \
|
|
Koji |
d503355 |
%{buildroot}%{_datadir}/pixmaps
|
|
|
c984ba1 |
install -p -m 644 pixmaps/%{name}-icon.png \
|
|
Koji |
d503355 |
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
|
c984ba1 |
|
|
Koji |
d503355 |
install -p -dm 755 %{buildroot}%{_datadir}/applications
|
|
|
c984ba1 |
|
|
|
c984ba1 |
sed -i -e 's|^Categories=.*$|Categories=AudioVideo;AudioVideoEditing;|g' \
|
|
|
c984ba1 |
-e 's|^Encoding=UTF-8$||g' \
|
|
|
c984ba1 |
-e 's|^GenericName=Audio binaural beat editor/generator$||g' \
|
|
|
c984ba1 |
-e 's|^Icon=.*$|Icon=%{name}-icon|g' \
|
|
Koji |
d503355 |
%{buildroot}/%{_datadir}/gnome/apps/Multimedia/%{name}.desktop
|
|
|
c984ba1 |
|
|
|
c984ba1 |
desktop-file-install \
|
|
Koji |
d503355 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
Koji |
d503355 |
%{buildroot}%{_datadir}/gnome/apps/Multimedia/%{name}.desktop
|
|
|
c984ba1 |
|
|
Koji |
d503355 |
rm -rf %{buildroot}%{_datadir}/gnome
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%post
|
|
Koji |
d503355 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%postun
|
|
Koji |
d503355 |
if [ $1 -eq 0 ] ; then
|
|
Koji |
d503355 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Koji |
d503355 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
c984ba1 |
fi
|
|
|
c984ba1 |
|
|
Koji |
d503355 |
%posttrans
|
|
Koji |
d503355 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%files
|
|
|
c984ba1 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
c984ba1 |
%{_bindir}/%{name}
|
|
Koji |
d503355 |
%{_datadir}/%{name}
|
|
|
c984ba1 |
%{_datadir}/applications/%{name}.desktop
|
|
|
c984ba1 |
%{_datadir}/pixmaps/%{name}-icon.xpm
|
|
Koji |
d503355 |
%{_datadir}/icons/hicolor/*x*/apps/%{name}*.png
|
|
|
c984ba1 |
|
|
|
c984ba1 |
%changelog
|
|
Koji |
d503355 |
* Sun Aug 25 2013 Christopher Meng <rpm@cicku.me> - 1.0.20110606-1
|
|
Koji |
d503355 |
- Update to new version.
|
|
Koji |
d503355 |
- Update icon cache refresh script.
|
|
Koji |
d503355 |
|
|
|
83d7ff7 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20100408-7
|
|
|
83d7ff7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
83d7ff7 |
|
|
|
b33a885 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20100408-6
|
|
|
b33a885 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b33a885 |
|
|
|
636f9c0 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20100408-5
|
|
|
636f9c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
636f9c0 |
|
|
|
9a4b8dc |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20100408-4
|
|
|
9a4b8dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9a4b8dc |
|
|
|
5f25470 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.20100408-3
|
|
|
5f25470 |
- Rebuild for new libpng
|
|
|
5f25470 |
|
|
|
11243d5 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20100408-2
|
|
|
11243d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
11243d5 |
|
|
|
e4526f0 |
* Tue May 04 2010 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20100408-1
|
|
|
e4526f0 |
- Updated to 1.0.20100408
|
|
|
e4526f0 |
|
|
|
6417224 |
* Tue Nov 10 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20090808-1
|
|
|
e4526f0 |
- Updated to 1.0.20090808
|
|
|
6417224 |
|
|
|
99122a6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20080808-7
|
|
|
99122a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
99122a6 |
|
|
|
98e3644 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20080808-6
|
|
|
98e3644 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
98e3644 |
|
|
|
c984ba1 |
* Mon Jan 05 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20080808-5
|
|
|
c984ba1 |
- Removed "Application" from .desktop Categories.
|
|
|
c984ba1 |
|
|
|
c984ba1 |
* Sun Jan 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20080808-4
|
|
|
c984ba1 |
- Fixed missing -p for install command.
|
|
|
c984ba1 |
|
|
|
c984ba1 |
* Sun Jan 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20080808-3
|
|
|
c984ba1 |
- Removed fedora as vendor - as per new guidelines.
|
|
|
c984ba1 |
|
|
|
c984ba1 |
* Sun Jan 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.20080808-2
|
|
|
c984ba1 |
- Fixed %%version, %%description, timestamp, fixed icon path,
|
|
|
c984ba1 |
- Removed useless buildrequires, fixed .desktop file installation.
|
|
|
c984ba1 |
|
|
|
c984ba1 |
* Sat Dec 06 2008 Rakesh Pandit <rakesh@fedoraproject.org> 1.0-1.20080808
|
|
|
c984ba1 |
- Initial build.
|