Simplify soname globbing and whitespace

epel9
Kalev Lember 8 years ago
parent d84de928bf
commit a02a770f95

@ -1,8 +1,7 @@
# debug info seem not works with D compiler # debug info seem not works with D compiler
%global debug_package %{nil} %global debug_package %{nil}
%global gtkd_major 0
%global gtkd_minor 4 %global sover 0
%global gtkd_bump 0
Name: gtkd Name: gtkd
Version: 3.4.1 Version: 3.4.1
@ -100,28 +99,21 @@ mv %{buildroot}%{_datadir}/pkgconfig/peasd-3.pc %{buildroot}%{_libdir}/pkgconfig
mkdir -p %{buildroot}/%{_datadir}/geany/tags/ mkdir -p %{buildroot}/%{_datadir}/geany/tags/
install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig %postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%license COPYING %license COPYING
%doc AUTHORS README %doc AUTHORS README
%{_libdir}/libgstreamerd-3.so.%{gtkd_major} %{_libdir}/libgstreamerd-3.so.%{sover}*
%{_libdir}/libgstreamerd-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %{_libdir}/libgtkd-3.so.%{sover}*
%{_libdir}/libgtkd-3.so.%{gtkd_major} %{_libdir}/libgtkdgl-3.so.%{sover}*
%{_libdir}/libgtkd-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %{_libdir}/libgtkdsv-3.so.%{sover}*
%{_libdir}/libgtkdgl-3.so.%{gtkd_major} %{_libdir}/libpeasd-3.so.%{sover}*
%{_libdir}/libgtkdgl-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %{_libdir}/libvted-3.so.%{sover}*
%{_libdir}/libgtkdsv-3.so.%{gtkd_major}
%{_libdir}/libgtkdsv-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump}
%{_libdir}/libpeasd-3.so.%{gtkd_major}
%{_libdir}/libpeasd-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump}
%{_libdir}/libvted-3.so.%{gtkd_major}
%{_libdir}/libvted-3.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump}
%files devel %files devel
%{_d_includedir}/%{name}-3 %{_d_includedir}/gtkd-3/
%{_libdir}/libgstreamerd-3.so %{_libdir}/libgstreamerd-3.so
%{_libdir}/libgtkd-3.so %{_libdir}/libgtkd-3.so
%{_libdir}/libgtkdgl-3.so %{_libdir}/libgtkdgl-3.so

Loading…
Cancel
Save