forked from pool/libmirage
Accepting request 116802 from home:jengelh:dev
cdemu suite OBS-URL: https://build.opensuse.org/request/show/116802 OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=1
This commit is contained in:
commit
aca8b0e78d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libmirage-1.5.0.tar.bz2
Normal file
3
libmirage-1.5.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ba50c49e6e2a888175a4d5749ac557a53e37c1f409ce76d8e8adfd702c586a6
|
||||||
|
size 509179
|
136
libmirage.spec
Normal file
136
libmirage.spec
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libmirage
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
Name: libmirage
|
||||||
|
%define lname libmirage6
|
||||||
|
%define pname 1_5
|
||||||
|
Summary: A CD-ROM image access library
|
||||||
|
Version: 1.5.0
|
||||||
|
Release: 0
|
||||||
|
URL: http://cdemu.sf.net/
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
#BuildRequires: autoconf >= 2.59, automake
|
||||||
|
BuildRequires: gtk-doc >= 1.4 libtool pkgconfig(glib-2.0) >= 2.6 pkgconfig(gobject-2.0) >= 2.6 pkgconfig(gmodule-2.0) >= 2.6 pkgconfig(sndfile) >= 1.0.0 xz pkgconfig(zlib) pkgconfig >= 0.21
|
||||||
|
|
||||||
|
%description
|
||||||
|
A CD-ROM image access library part of the cdemu suite.
|
||||||
|
|
||||||
|
libmirage provides uniform access to the data stored in different
|
||||||
|
image formats by creating a representation of disc stored in image
|
||||||
|
file.
|
||||||
|
|
||||||
|
%package -n libmirage6
|
||||||
|
Summary: A CD-ROM image access library
|
||||||
|
Group: System/Libraries
|
||||||
|
# Technically Suggests:, but pretty useless without
|
||||||
|
Requires: libmirage-1_5 >= 1.5
|
||||||
|
|
||||||
|
%description -n libmirage6
|
||||||
|
A CD-ROM image access library part of the cdemu suite.
|
||||||
|
|
||||||
|
libmirage provides uniform access to the data stored in different
|
||||||
|
image formats by creating a representation of disc stored in image
|
||||||
|
file.
|
||||||
|
|
||||||
|
%package 1_5
|
||||||
|
Summary: CD-ROM image format plugins for libmirage
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: libmirage-data
|
||||||
|
|
||||||
|
%description 1_5
|
||||||
|
A CD-ROM image access library part of the cdemu suite.
|
||||||
|
|
||||||
|
libmirage provides uniform access to the data stored in different
|
||||||
|
image formats by creating a representation of disc stored in image
|
||||||
|
file.
|
||||||
|
|
||||||
|
This package provides the image format plugins for libmirage.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for libmirage, a CD-ROM image access library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
A CD-ROM image access library part of the cdemu suite.
|
||||||
|
|
||||||
|
libmirage provides uniform access to the data stored in different
|
||||||
|
image formats by creating a representation of disc stored in image
|
||||||
|
file.
|
||||||
|
|
||||||
|
This package contains files needed to develop with libmirage.
|
||||||
|
|
||||||
|
%package data
|
||||||
|
Summary: MIME type definitions and documentation for libmirage
|
||||||
|
Requires(post): shared-mime-info
|
||||||
|
Requires(postun): shared-mime-info
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description data
|
||||||
|
libmirage provides uniform access to the data stored in different
|
||||||
|
image formats by creating a representation of disc stored in image
|
||||||
|
file.
|
||||||
|
|
||||||
|
This package contains the MIME type definitions and documentation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static --enable-gtk-doc
|
||||||
|
make %{?_smp_mflags};
|
||||||
|
|
||||||
|
%install
|
||||||
|
b="%buildroot";
|
||||||
|
make install DESTDIR="$b";
|
||||||
|
find "$b/%_libdir" -type f -name "*.la" -delete;
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post data
|
||||||
|
update-mime-database %{_datadir}/mime || :;
|
||||||
|
|
||||||
|
%postun data
|
||||||
|
update-mime-database %{_datadir}/mime || :;
|
||||||
|
|
||||||
|
%files -n libmirage6
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libmirage.so.6*
|
||||||
|
|
||||||
|
%files 1_5
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libmirage-1.5
|
||||||
|
|
||||||
|
%files data
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_datadir/gtk-doc
|
||||||
|
%_datadir/mime/packages/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/libmirage
|
||||||
|
%_libdir/libmirage.so
|
||||||
|
%_libdir/pkgconfig/libmirage.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user