Group :: Sistema/Bibliotecas
RPM: libmirage
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%add_optflags -fcommon
%define soversion 11
Name: libmirage
Version: 3.2.6
Release: alt1
Summary: A CD-ROM image access library
License: GPLv2+
Group: System/Libraries
URL: http://cdemu.sourceforge.net
Packager: Nazarov Denis <nenderus at altlinux.org>
# http://downloads.sourceforge.net/cdemu/%name-%version.tar.bz2
Source: %name-%version.tar
BuildPreReq: gobject-introspection-devel
BuildPreReq: libblkid-devel
BuildPreReq: libflac-devel
BuildPreReq: libmount-devel
BuildPreReq: libogg-devel
BuildPreReq: libopus-devel
BuildPreReq: libpcre-devel
BuildPreReq: libselinux-devel
BuildPreReq: libvorbis-devel
BuildRequires: bzlib-devel
BuildRequires: cmake
BuildRequires: glib-networking
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libGConf
BuildRequires: liblzma-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: zlib-devel
%description
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
%package -n %name%soversion
Summary: A CD-ROM image access library
Group: System/Libraries
Requires: %name-plugins >= %version
Requires: %name-common >= %version
Provides: %name = %EVR
Obsoletes: %name <= 3.0.3-alt1
%description -n %name%soversion
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
%package plugins
Summary: CD-ROM image format plugins for %name
Group: System/Libraries
Conflicts: %{name}10
%description plugins
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
This package provides the image format plugins for %name.
%package common
Summary: Common files for %name
Group: System/Libraries
BuildArch: noarch
%description common
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
This package provides the common files for %name.
%package devel
Summary: A CD-ROM image access library
Group: Development/C
Requires: glib2-devel
%description devel
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
This package contains files needed to develop with libMirage.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmakeinstall_std
%find_lang %name
%files -n %name%soversion
%doc AUTHORS ChangeLog INSTALL NEWS README
%_libdir/libmirage.so.*
%files plugins
%_libdir/libmirage-3.2
%files common -f %name.lang
%_datadir/mime/packages/*.xml
%_datadir/gtk-doc/html/%name
%files devel
%_libdir/libmirage.so
%_libdir/girepository-1.0/Mirage-3.2.typelib
%_pkgconfigdir/%name.pc
%_includedir/%name-3.2
%_datadir/gir-1.0/*
%changelog
…
Todas as alterações você pod ver aqui
%define soversion 11
Name: libmirage
Version: 3.2.6
Release: alt1
Summary: A CD-ROM image access library
License: GPLv2+
Group: System/Libraries
URL: http://cdemu.sourceforge.net
Packager: Nazarov Denis <nenderus at altlinux.org>
# http://downloads.sourceforge.net/cdemu/%name-%version.tar.bz2
Source: %name-%version.tar
BuildPreReq: gobject-introspection-devel
BuildPreReq: libblkid-devel
BuildPreReq: libflac-devel
BuildPreReq: libmount-devel
BuildPreReq: libogg-devel
BuildPreReq: libopus-devel
BuildPreReq: libpcre-devel
BuildPreReq: libselinux-devel
BuildPreReq: libvorbis-devel
BuildRequires: bzlib-devel
BuildRequires: cmake
BuildRequires: glib-networking
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libGConf
BuildRequires: liblzma-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: zlib-devel
%description
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
%package -n %name%soversion
Summary: A CD-ROM image access library
Group: System/Libraries
Requires: %name-plugins >= %version
Requires: %name-common >= %version
Provides: %name = %EVR
Obsoletes: %name <= 3.0.3-alt1
%description -n %name%soversion
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
%package plugins
Summary: CD-ROM image format plugins for %name
Group: System/Libraries
Conflicts: %{name}10
%description plugins
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
This package provides the image format plugins for %name.
%package common
Summary: Common files for %name
Group: System/Libraries
BuildArch: noarch
%description common
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
The aim of libMirage is to provide uniform access to the data stored in
different image formats, by creating a representation of disc stored in image
file, which is based on GObjects.
This package provides the common files for %name.
%package devel
Summary: A CD-ROM image access library
Group: Development/C
Requires: glib2-devel
%description devel
This is libMirage library, a CD-ROM image access library, and part of the
userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
written in C and based on GLib.
This package contains files needed to develop with libMirage.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmakeinstall_std
%find_lang %name
%files -n %name%soversion
%doc AUTHORS ChangeLog INSTALL NEWS README
%_libdir/libmirage.so.*
%files plugins
%_libdir/libmirage-3.2
%files common -f %name.lang
%_datadir/mime/packages/*.xml
%_datadir/gtk-doc/html/%name
%files devel
%_libdir/libmirage.so
%_libdir/girepository-1.0/Mirage-3.2.typelib
%_pkgconfigdir/%name.pc
%_includedir/%name-3.2
%_datadir/gir-1.0/*
%changelog
…
Todas as alterações você pod ver aqui