Marcus Meissner 2022-01-06 10:13:52 +00:00 committed by Git OBS Bridge
parent 7a4abfdc59
commit 5e292015f2

View File

@ -173,6 +173,9 @@ rm %buildroot/%_libdir/*.la
rm %buildroot/%_libdir/libgphoto2/%version/*.la
rm %buildroot/%_libdir/libgphoto2_port/0.12.0/*.la
rm -rf %buildroot/usr/share/doc/libgphoto2_port
rm -rf %buildroot/usr/share/doc/libgphoto2
%find_lang libgphoto2-%major
%find_lang libgphoto2_port-12
cat libgphoto2-%major.lang libgphoto2_port-12.lang >libgphoto2-all.lang
@ -221,10 +224,7 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete
%files -n libgphoto2_port12
%defattr(-,root,root)
%dir /usr/share/doc/libgphoto2_port
%doc /usr/share/doc/libgphoto2_port/README
%doc /usr/share/doc/libgphoto2_port/AUTHORS
%doc /usr/share/doc/libgphoto2_port/NEWS
%doc libgphoto2_port/README libgphoto2_port/AUTHORS libgphoto2_port/NEWS
%_libdir/libgphoto2_port
%_libdir/libgphoto2_port.so.*
%_datadir/libgphoto2_port