parent
dc565c6b35
commit
e208881428
|
@ -12,8 +12,8 @@
|
|||
%global _cmake_build_subdir build-%{?_arch}%{?dist}
|
||||
|
||||
Name: %{libname}-gtk
|
||||
Version: 2.44.5
|
||||
Release: 15%{?dist}
|
||||
Version: 2.44.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Gtk3 User Interface for %{libname}
|
||||
|
||||
License: LGPLv2 or LGPLv3
|
||||
|
@ -103,28 +103,35 @@ pushd %{_cmake_build_subdir}
|
|||
|
||||
# Install documentation.
|
||||
%{__mkdir} -p %{buildroot}%{?_pkgdocdir}
|
||||
%{__cp} -a ../ChangeLog ../COPYING* doc/html/ \
|
||||
%{__cp} -a ../package/%{name}.changes doc/html/ \
|
||||
%{buildroot}%{?_pkgdocdir}
|
||||
popd
|
||||
|
||||
|
||||
%files
|
||||
%doc %dir %{?_pkgdocdir}
|
||||
%doc %{?_pkgdocdir}/COPYING*
|
||||
%license COPYING*
|
||||
%{_libdir}/%{libsuffix}/%{name}.so.%{major_so_ver}*
|
||||
|
||||
%files devel
|
||||
%doc %{?_pkgdocdir}/ChangeLog
|
||||
%doc %{?_pkgdocdir}/%{name}.changes
|
||||
%{_includedir}/%{libsuffix}/*
|
||||
%{_libdir}/%{libsuffix}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake
|
||||
|
||||
%files doc
|
||||
# Pickup license-files from main-pkg's license-dir
|
||||
# If there's no license-dir they are picked up by %%doc previously
|
||||
%{?_licensedir:%license %{_datadir}/licenses/%{name}*}
|
||||
%doc %{?_pkgdocdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Mar 29 2016 Björn Esser <fedora@besser82.io> - 2.44.7-1
|
||||
- new upstream release
|
||||
- handle %%license and %%doc properly
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.44.5-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue