diff --git a/README.md b/README.md index 2d8b036..3084013 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # gtick +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). + diff --git a/gtick.png b/gtick.png new file mode 100644 index 0000000..f0df4da Binary files /dev/null and b/gtick.png differ diff --git a/gtick.spec b/gtick.spec new file mode 100644 index 0000000..fd211ee --- /dev/null +++ b/gtick.spec @@ -0,0 +1,98 @@ +Name: gtick +Version: 0.5.2 +Release: 1mamba +Summary: Metronome application +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.antcom.de/gtick +Source: http://www.antcom.de/gtick/download/gtick-%{version}.tar.gz +Source1: gtick.png +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 + +%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 + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/gtick +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png +%{_mandir}/man1/gtick.1.gz +%doc AUTHORS COPYING +# ChangeLog NEWS README THANKS TODO + +%changelog +* Thu Mar 14 2013 Automatic Build System 0.5.2-1mamba +- automatic version update by autodist + +* Wed May 23 2012 Silvan Calarco 0.5.1-2mamba +- require alsa-oss and launch with aoss in desktop file + +* Wed May 02 2012 Automatic Build System 0.5.1-1mamba +- automatic version update by autodist + +* Thu Aug 11 2011 Automatic Build System 0.5.0-1mamba +- automatic version update by autodist + +* Fri Jun 06 2008 Silvan Calarco 0.4.2-2mamba +- added GenericName to desktop entry + +* Fri Jun 06 2008 Tiziana Ferro 0.4.2-1mamba +- package created by autospec