diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 7a6dccfbe9e1e1f9e5e5701ea42722903f52386c..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# libburn - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 936d46a9aa5e79ad40b05e038604f0d363fa467b..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# libburn - -#### 介绍 -{**以下是码云平台说明,您可以替换此简介** -码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg b/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg new file mode 100644 index 0000000000000000000000000000000000000000..00da334c9844a46eaef40d8353bbf8f96be73f5d Binary files /dev/null and b/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg differ diff --git a/0000-libburn-0.6.16-multilib.patch b/libburn-0.6.16-multilib.patch similarity index 100% rename from 0000-libburn-0.6.16-multilib.patch rename to libburn-0.6.16-multilib.patch diff --git a/libburn-1.4.8.tar.gz b/libburn-1.4.8.tar.gz deleted file mode 100644 index 1a043f2db4e3520c590edeeb3551ae506b2d5f49..0000000000000000000000000000000000000000 Binary files a/libburn-1.4.8.tar.gz and /dev/null differ diff --git a/libburn-1.4.8.tar.gz.sig b/libburn-1.4.8.tar.gz.sig deleted file mode 100644 index 823f358befc09894172ff7d6c549e5821b4ab5c9..0000000000000000000000000000000000000000 Binary files a/libburn-1.4.8.tar.gz.sig and /dev/null differ diff --git a/libburn-1.5.2.tar.gz b/libburn-1.5.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..54192a8c10583346a0ac8d4a021bb3739e757027 Binary files /dev/null and b/libburn-1.5.2.tar.gz differ diff --git a/libburn-1.5.2.tar.gz.sig b/libburn-1.5.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..32195c5c0ad648d5f72b035363086394ec898e9d Binary files /dev/null and b/libburn-1.5.2.tar.gz.sig differ diff --git a/libburn.spec b/libburn.spec index 2a297684b0db6aa68d486d4ba867c86ff0fbf32d..e35ad55083524bdf11cfaece58b770746998c0f6 100644 --- a/libburn.spec +++ b/libburn.spec @@ -1,68 +1,68 @@ +%global pkgname libburn + Name: libburn -Version: 1.4.8 -Release: 6 -Summary: The underlying programming library +Version: 1.5.2 +Release: 2 +Summary: Library by which preformatted data get onto optical media License: GPLv2+ URL: http://libburnia-project.org/ + Source0: http://files.libburnia-project.org/releases/libburn-%{version}.tar.gz Source1: http://files.libburnia-project.org/releases/libburn-%{version}.tar.gz.sig -Patch0000: 0000-libburn-0.6.16-multilib.patch -BuildRequires: intltool gettext +Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg +Patch0: libburn-0.6.16-multilib.patch + +BuildRequires: gnupg2 gcc intltool gettext +Requires: libburn = %{version}-%{release} +Requires(post): %{_sbindir}/alternatives, coreutils +Requires(preun): %{_sbindir}/alternatives +Provides: cdrskin = %{version}-%{release} +Obsoletes: cdrskin < %{version}-%{release} %description -Libburn is a library for writing preformatted data onto optical media: CD, DVD and BD (Blu-Ray). -libburn also offers a facility for reading data blocks from its drives without using the normal -block device i/o, which has its advantages and disadvantages. +libburn is the library by which preformatted data get onto optical media. It uses either /dev/sgN +(e.g. on kernel 2.4 with ide-scsi) or /dev/srM or /dev/hdX (e.g. on kernel 2.6). +libburn is the foundation of our cdrecord emulation. Its code is independent of cdrecord. Its DVD +capabilities are learned from studying the code of dvd+rw-tools and MMC-5 specs. No code but only +the pure SCSI knowledge has been taken from dvd+rw-tools, though. %package devel -Summary: Development files of libburn +Summary: Development files for libburn Requires: libburn = %{version}-%{release} pkgconfig %description devel -Development files of libburn. +This package contains libraries and header files for developing applications that use libburn. -%package help -Summary: Help document for libburn +%package help +Summary: Documents for libburn BuildArch: noarch -BuildRequires: doxygen graphviz -Provides: %{name}-doc = %{version}-%{release} -Obsoletes: %{name}-doc < %{version}-%{release} +BuildRequires: doxygen, graphviz +Provides: libburn-doc = %{version}-%{release} +Obsoletes: libburn-doc < %{version}-%{release} -%description help -Help document for libburn. - -%package -n cdrskin -Summary: A limited cdrecord compatibility wrapper for libburn -Requires: %{name} = %{version}-%{release} -Requires(post): chkconfig coreutils -Requires(preun): chkconfig - -%description -n cdrskin -cdrskin is the end-user application of libburnia. It is CLI-only and its syntax is mostly -identical to cdrecord to act as a drop-in replacement for existing front-ends. +%description help +Man pages and other related documents for libburn. %prep +gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %autosetup -n libburn-%{version} -p1 %build -%configure --disable-static +%configure %make_build doxygen doc/doxygen.conf %install %make_install -%delete_la -rm -rf $RPM_BUILD_ROOT%{_defaultdocdir} -ln -sf cdrskin $RPM_BUILD_ROOT%{_bindir}/cdrecord +%delete_la_and_a -%post -/sbin/ldconfig +rm -rf %{buildroot}%{_defaultdocdir} +ln -sf cdrskin %{buildroot}%{_bindir}/cdrecord -%postun -/sbin/ldconfig +%ldconfig_scriptlets -%post -n cdrskin +%post link=`readlink %{_bindir}/cdrecord` if [ "$link" == "cdrskin" ]; then rm -f %{_bindir}/cdrecord @@ -71,29 +71,30 @@ fi %{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/cdrskin 50 \ --slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/cdrskin.1.gz -%preun -n cdrskin +%preun if [ $1 = 0 ]; then %{_sbindir}/alternatives --remove cdrecord %{_bindir}/cdrskin fi %files -%license COPYING -%doc AUTHORS COPYRIGHT README -%{_libdir}/%{name}*.so.* +%defattr(-,root,root) +%doc AUTHORS README +%license COPYING COPYRIGHT +%ghost %{_bindir}/cdrecord +%{_bindir}/cdrskin +%{_libdir}/libburn*.so.* %files devel -%{_includedir}/%{name} -%{_libdir}/%{name}*.so -%{_libdir}/pkgconfig/%{name}*.pc +%defattr(-,root,root) +%{_includedir}/libburn* +%{_libdir}/libburn*.so +%{_libdir}/pkgconfig/libburn*.pc %files help +%defattr(-,root,root) %doc doc/html/ %{_mandir}/man1/cdrskin.1* -%files -n cdrskin -%ghost %{_bindir}/cdrecord -%{_bindir}/cdrskin - %changelog -* Sat Dec 21 2019 shijian - 1.4.8-6 -- Package init +* Fri Jan 10 2020 openEuler Buildteam - 1.5.2-2 +- Package init \ No newline at end of file