diff --git a/lingot.spec b/lingot.spec index 6973b76..284be70 100644 --- a/lingot.spec +++ b/lingot.spec @@ -1,5 +1,5 @@ Name: lingot -Version: 1.0.1 +Version: 1.1.1 Release: 1mamba Summary: LINGOT Is Not a Guitar-Only Tuner Group: Graphical Desktop/Applications/Multimedia @@ -10,7 +10,6 @@ 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 @@ -19,12 +18,31 @@ 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. -%prep +%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 @@ -58,6 +76,9 @@ EOF %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 @@ -67,10 +88,26 @@ EOF %{_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 +%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 1.1.1-1mamba +- automatic update by autodist + * Tue Aug 28 2018 Automatic Build System 1.0.1-1mamba - automatic update by autodist