packages gtick.spec
      Pages: < 1 >  DOWNLOAD      
Name:          gtick
Version:       0.5.4
Release:       1mamba
Summary:       Metronome application
Group:         Applications/Multimedia
Vendor:        openmamba
Distribution:  openmamba
Packager:      Tiziana Ferro <tiziana.ferro@...>
URL:           http://www.antcom.de/gtick
Source:        http://www.antcom.de/gtick/download/gtick-%{version}.tar.gz
Source1:       gtick.png
Patch0:        gtick-0.5.3-desktop.patch
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libsndfile-devel
## AUTOBUILDREQ-END
Requires:      alsa-oss
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
gtick is a small metronome application written for Linux and UN*X supporting different meters (2/4, 3/4, 4/4) and speeds ranging from 30 to 250 bpm. 
It utilizes GTK+ and OSS (ALSA compatible).

%prep
%setup -q
%patch0 -p1

%build
%configure
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_datadir}/pixmaps
install -D -m 755 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps

#mkdir -p %{buildroot}%{_datadir}/applications
#cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
#[Desktop Entry]
#Name=Gtick
#Name[it]=Gtick
#Comment=Keep your rhythm even with Gtick
#Comment[it]=Gtick ed andiamo a tempo
#GenericName=Metronome
#GenericName[it]=Metronomo
#Encoding=UTF-8
#Icon=gtick.png
#Exec=aoss gtick
#Terminal=false
#StartupNotify=true
#Type=Application
#Categories=GNOME;Application;AudioVideo;Audio;
#MimeType=video/dv;application/smil;
#EOF

%makeinstall desktopdir=%{_datadir}/applications

%find_lang %{name}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gtick
%{_datadir}/appdata/gtick.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/gtick.xpm
%{_datadir}/pixmaps/gtick_32x32.xpm
%{_datadir}/pixmaps/gtick.png
%{_mandir}/man1/gtick.1.gz
%doc AUTHORS COPYING
# ChangeLog NEWS README THANKS TODO

%changelog
* Mon Aug 18 2014 Automatic Build System <autodist@...> 0.5.4-1mamba
- automatic update by autodist

* Sat Jun 28 2014 Automatic Build System <autodist@...> 0.5.3-1mamba
- automatic update by autodist

* Thu Mar 14 2013 Automatic Build System <autodist@...> 0.5.2-1mamba
- automatic version update by autodist

* Wed May 23 2012 Silvan Calarco <silvan.calarco@...> 0.5.1-2mamba
- require alsa-oss and launch with aoss in desktop file

* Wed May 02 2012 Automatic Build System <autodist@...> 0.5.1-1mamba
- automatic version update by autodist

* Thu Aug 11 2011 Automatic Build System <autodist@...> 0.5.0-1mamba
- automatic version update by autodist

* Fri Jun 06 2008 Silvan Calarco <silvan.calarco@...> 0.4.2-2mamba
- added GenericName to desktop entry

* Fri Jun 06 2008 Tiziana Ferro <tiziana.ferro@...> 0.4.2-1mamba
- package created by autospec