lingot/lingot.spec

132 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: lingot
Version: 1.1.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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LINGOT Is Not a Guitar-Only Tuner.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%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}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%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/*
#ChangeLog INSTALL NEWS README THANKS TODO
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblingot.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/lingot
%{_includedir}/lingot/lingot-*.h
%{_libdir}/liblingot.a
%{_libdir}/liblingot.la
%{_libdir}/liblingot.so
%{_libdir}/pkgconfig/lingot.pc
%changelog
* Thu Jul 02 2020 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic update by autodist
* 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