Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37871707
en ru br
ALT Linux repositórios
S:1.5.6-alt1
D:0.3.8-alt0.1
5.0: 0.5.2-alt1
4.1: 0.4.2-alt1
4.0: 0.3.8-alt2

Group :: Sistema/Bibliotecas
RPM: libburn

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_enable shared
%def_enable static
%def_disable debug
%def_enable largefile
%def_with doc

Name: libburn
Version: 0.3.8
Release: alt0.1
Summary: CD-R/CD-RW disc reading/writing library
URL: http://libburnia.pykix.org/
License: GPL2+
Group: System/Libraries
Source: http://libburnia-download.pykix.org/releases/%name-%version.tar.bz2
Patch0: %name-0.3.6-cflags.patch
Patch1: cdrskin-0.3.8-linking.patch

%{?_with_doc:BuildRequires: doxygen}

%description
libburnia.pykix.org is an open-source software project for reading,
mastering and writing optical discs. For now this means only CD-R,
CD-RW, DVD-RAM, DVD+RW, DVD-RW.
The project comprises of several more or less interdependent parts
which together strive to be a usable foundation for application
development. These are libraries, language bindings, and middleware
binaries which emulate classical (and valuable) Linux tools.
Our scope is currently Linux 2.4 and 2.6 only. For ports to other
systems we would need: login on a development machine resp. a live OS
on CD or DVD, advise from a system person about the equivalent of Linux
sg or FreeBSD CAM, volunteers for testing of realistic use cases.
We have a workable code base for burning CDs and overwriteable DVDs,
though. The burn API is quite comprehensively documented and can be
used to build a presentable application.
We have a functional binary which emulates parts of cdrecord in order
to prove that usability, and in order to allow you to explore
libburnia's scope by help of existing cdrecord frontends.


%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name-devel%{?_disable_shared:-static} = %version-%release

%description devel
libburnia.pykix.org is an open-source software project for reading,
mastering and writing optical discs. For now this means only CD-R,
CD-RW, DVD-RAM, DVD+RW, DVD-RW.
The project comprises of several more or less interdependent parts
which together strive to be a usable foundation for application
development. These are libraries, language bindings, and middleware
binaries which emulate classical (and valuable) Linux tools.
Our scope is currently Linux 2.4 and 2.6 only. For ports to other
systems we would need: login on a development machine resp. a live OS
on CD or DVD, advise from a system person about the equivalent of Linux
sg or FreeBSD CAM, volunteers for testing of realistic use cases.
We have a workable code base for burning CDs and overwriteable DVDs,
though. The burn API is quite comprehensively documented and can be
used to build a presentable application.
We have a functional binary which emulates parts of cdrecord in order
to prove that usability, and in order to allow you to explore
libburnia's scope by help of existing cdrecord frontends.


%if_enabled static
%package devel-static
Summary: Static library %name
Group: Development/KDE and QT
Requires: %name-devel = %version-%release

%description devel-static
libburnia.pykix.org is an open-source software project for reading,
mastering and writing optical discs. For now this means only CD-R,
CD-RW, DVD-RAM, DVD+RW, DVD-RW.
The project comprises of several more or less interdependent parts
which together strive to be a usable foundation for application
development. These are libraries, language bindings, and middleware
binaries which emulate classical (and valuable) Linux tools.
Our scope is currently Linux 2.4 and 2.6 only. For ports to other
systems we would need: login on a development machine resp. a live OS
on CD or DVD, advise from a system person about the equivalent of Linux
sg or FreeBSD CAM, volunteers for testing of realistic use cases.
We have a workable code base for burning CDs and overwriteable DVDs,
though. The burn API is quite comprehensively documented and can be
used to build a presentable application.
We have a functional binary which emulates parts of cdrecord in order
to prove that usability, and in order to allow you to explore
libburnia's scope by help of existing cdrecord frontends.
%endif


%if_with doc
%package doc
Summary: Documentation for %name
Group: Documentation

%description doc
libburnia.pykix.org is an open-source software project for reading,
mastering and writing optical discs. For now this means only CD-R,
CD-RW, DVD-RAM, DVD+RW, DVD-RW.
The project comprises of several more or less interdependent parts
which together strive to be a usable foundation for application
development. These are libraries, language bindings, and middleware
binaries which emulate classical (and valuable) Linux tools.
Our scope is currently Linux 2.4 and 2.6 only. For ports to other
systems we would need: login on a development machine resp. a live OS
on CD or DVD, advise from a system person about the equivalent of Linux
sg or FreeBSD CAM, volunteers for testing of realistic use cases.
We have a workable code base for burning CDs and overwriteable DVDs,
though. The burn API is quite comprehensively documented and can be
used to build a presentable application.
We have a functional binary which emulates parts of cdrecord in order
to prove that usability, and in order to allow you to explore
libburnia's scope by help of existing cdrecord frontends.
%endif


%package -n cdrskin
Summary: minimal cdrecord implementation based on %name
Group: Archiving/Cd burning

%description -n cdrskin
cdrskin  is a limited cdrecord compatibility wrapper for %name.
Cdrecord is a powerful GPL'ed burn program included in Joerg
Schilling's cdrtools. cdrskin strives to be a second source for the
services traditionally provided by cdrecord.
cdrskin does not contain any bytes copied from cdrecord's sources.
Many bytes have been copied from the message output of cdrecord runs,
though.


%prep
%setup
%patch0 -p1
%patch1 -p1


%build
%define _optlevel 3
%__autoreconf
%configure \
   %{subst_enable shared} \
   %{subst_enable static} \
   %{subst_enable largefile} \
   %{subst_enable debug}

%make_build
bzip2 --best --keep --force cdrskin/changelog.txt
%{?_with_doc:doxygen doc/doxygen.conf}


%install
%make_install DESTDIR=%buildroot install
install -d -m 0755 %buildroot%_docdir/%name-%version
install -m 0644 AUTHORS CONTRIBUTORS COPYRIGHT README %buildroot%_docdir/%name-%version/
%if_with doc
install -d -m 0755 %buildroot%_docdir/%name-%version/html
install -m 0644 doc/html/* %buildroot%_docdir/%name-%version/html/
%endif


%if_enabled shared
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%endif


%if_enabled shared
%files
%dir %_docdir/%name-%version
%_docdir/%name-%version/AUTHORS
%_docdir/%name-%version/CONTRIBUTORS
%_docdir/%name-%version/COPYRIGHT
%_docdir/%name-%version/README
%_libdir/%name.so.*
%endif


%files devel
%if_disabled shared
%dir %_docdir/%name-%version
%_docdir/%name-%version/AUTHORS
%_docdir/%name-%version/CONTRIBUTORS
%_docdir/%name-%version/COPYRIGHT
%_docdir/%name-%version/README
%endif
%dir %_includedir/%name
%_includedir/%name/*
%{?_enable_shared:%_libdir/*.so}
%_pkgconfigdir/*


%if_enabled static
%files devel-static
%_libdir/*.a
%endif


%if_with doc
%files doc
%dir %_docdir/%name-%version
%_docdir/%name-%version/html
%endif


%files -n cdrskin
%doc cdrskin/README cdrskin/*.html cdrskin/wiki_plain.txt
%doc cdrskin/changelog.txt.*
%_bindir/*
%_man1dir/*


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009