lingot/lingot.spec

95 lines
2.6 KiB
RPMSpec

Name: lingot
Version: 1.0.1
Release: 1mamba
Summary: LINGOT Is Not a Guitar-Only Tuner
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.nongnu.org/lingot/
Source: http://download.savannah.gnu.org/releases/lingot/lingot-%{version}.tar.gz
Source1: lingot.png
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
%description
LINGOT Is Not a Guitar-Only Tuner.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=Lingot
Comment=Lingot Is Not a Guitar-Only Tuner
Comment[it]=Lingot non è solo un accordatore per chitarra
GenericName=Instrument tuner
GenericName[it]=Accordatore
Encoding=UTF-8
Icon=%{_datadir}/pixmaps/lingot/lingot-icon.svg
Exec=lingot
Terminal=false
StartupNotify=true
Type=Application
Categories=GNOME;GTK;Application;AudioVideo;
EOF
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/lingot
%{_datadir}/applications/lingot.desktop
%{_datadir}/applications/org.nongnu.lingot.desktop
%{_datadir}/metainfo/org.nongnu.lingot.appdata.xml
%{_datadir}/icons/hicolor/scalable/apps/org.nongnu.lingot.svg
%{_mandir}/man1/lingot.1*
%{_datadir}/doc/lingot/*
%doc AUTHORS COPYING
#ChangeLog INSTALL NEWS README THANKS TODO
%changelog
* Tue Aug 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic update by autodist
* Thu Aug 25 2011 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* Fri Mar 04 2011 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic update by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic update by autodist
* Wed Mar 10 2010 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- update to 0.8.0
* Fri Jun 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.6-2mamba
- addded GenericName to desktop file
- install custom desktop entry file after make install or it will be overwritten
* Fri Jun 06 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.7.6-1mamba
- package created by autospec