SHA256
1
0
forked from pool/libmirage
Jan Engelhardt 2013-06-09 14:05:45 +00:00 committed by Git OBS Bridge
parent 2f1b8367a7
commit 7e7e35b0b1

View File

@ -17,8 +17,8 @@
Name: libmirage Name: libmirage
%define lname libmirage7 %define lname libmirage8
%define pname 2_0 %define pname 2_1
Summary: A CD-ROM image access library Summary: A CD-ROM image access library
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -60,7 +60,7 @@ file.
Summary: A CD-ROM image access library Summary: A CD-ROM image access library
Group: System/Libraries Group: System/Libraries
# Technically Suggests:, but pretty useless without # Technically Suggests:, but pretty useless without
Requires: libmirage-2_0 >= 2.0 Requires: libmirage-%pname >= %version
%description -n %lname %description -n %lname
A CD-ROM image access library part of the cdemu suite. A CD-ROM image access library part of the cdemu suite.
@ -69,7 +69,7 @@ libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image image formats by creating a representation of disc stored in image
file. file.
%package 2_0 %package %pname
Summary: CD-ROM image format plugins for libmirage Summary: CD-ROM image format plugins for libmirage
Group: System/Libraries Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
@ -78,7 +78,7 @@ Recommends: libmirage-data
Requires: libmirage-data Requires: libmirage-data
%endif %endif
%description 2_0 %description %pname
A CD-ROM image access library part of the cdemu suite. A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different libmirage provides uniform access to the data stored in different
@ -156,20 +156,20 @@ update-mime-database %{_datadir}/mime || :;
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libmirage.so.* %_libdir/libmirage.so.8*
%files 2_0 %files %pname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libmirage-2.0 %_libdir/libmirage-2.1/
%files data %files data
%defattr(-,root,root) %defattr(-,root,root)
%_datadir/gtk-doc %_datadir/gtk-doc/
%_datadir/mime/packages/* %_datadir/mime/packages/*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/libmirage %_includedir/libmirage/
%_libdir/libmirage.so %_libdir/libmirage.so
%_libdir/pkgconfig/libmirage.pc %_libdir/pkgconfig/libmirage.pc
%if 0%{?suse_version} != 1210 %if 0%{?suse_version} != 1210