From d2e8dee1f01dc9fa69174186dcbb782b517d95e3 Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Tue, 3 Mar 2020 15:43:22 +0800 Subject: [PATCH] package init --- README.en.md | 36 --------- README.md | 37 --------- libisoburn-1.4.8.tar.gz | 168 ++++++++++++++++++++++++++++++++++++++++ libisoburn.spec | 141 +++++++++++++++++++++++++++++++++ 4 files changed, 309 insertions(+), 73 deletions(-) delete mode 100644 README.en.md delete mode 100644 README.md create mode 100644 libisoburn-1.4.8.tar.gz create mode 100644 libisoburn.spec diff --git a/README.en.md b/README.en.md deleted file mode 100644 index f505ba0..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# libisoburn - -#### Description -Library to enable creation and expansion of ISO-9660 filesystems - -#### 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 abfbf83..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# libisoburn - -#### 介绍 -Library to enable creation and expansion of ISO-9660 filesystems - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -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/libisoburn-1.4.8.tar.gz b/libisoburn-1.4.8.tar.gz new file mode 100644 index 0000000..f256d20 --- /dev/null +++ b/libisoburn-1.4.8.tar.gz @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + +Sign in · GitLab + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + diff --git a/libisoburn.spec b/libisoburn.spec new file mode 100644 index 0000000..2c71724 --- /dev/null +++ b/libisoburn.spec @@ -0,0 +1,141 @@ +Name: libisoburn +Version: 1.4.8 +Release: 4 +Summary: Library to enables creation and expansion of ISO-9660 filesystems +License: GPLv2+ +URL: http://libburnia-project.org/ +Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz +BuildRequires: libburn-devel >= %{version}, libisofs-devel >= %{version} + +%description +Libisoburn is a frontend for libraries libburn and libisofs which +enables creation and expansion of ISO-9660 filesystems on all CD/ +DVD/BD media supported by libburn. This includes media like DVD+RW, +which do not support multi-session management on media level and +even plain disk files or block devices. The price for that is thorough +specialization on data files in ISO-9660 filesystem images. So +libisoburn is not suitable for audio (CD-DA) or any other CD layout +which does not entirely consist of ISO-9660 sessions. + +%package devel +Summary: Development files for libisoburn +Group: Development/Libraries +Requires: %{name} = %{version}-%{release}, pkgconfig +BuildRequires: doxygen, graphviz + +%description devel +The libisoburn-devel package contains libraries and header files for +developing applications that use libisoburn. + +%package_help + +%package -n xorriso +Summary: ISO-9660 and Rock Ridge image manipulation tool +Group: Applications/Archiving +URL: http://scdbackup.sourceforge.net/xorriso_eng.html +Requires: %{name} = %{version}-%{release} +Requires: kde-filesystem >= 4 +Requires: chkconfig, coreutils + +%description -n xorriso +Xorriso is a program which copies file objects from POSIX compliant +filesystems into Rock Ridge enhanced ISO-9660 filesystems and allows +session-wise manipulation of such filesystems. It can load management +information of existing ISO images and it writes the session results +to optical media or to filesystem objects. Vice versa xorriso is able +to copy file objects out of ISO-9660 filesystems. + +Filesystem manipulation capabilities surpass those of mkisofs. Xorriso +is especially suitable for backups, because of its high fidelity of +file attribute recording and its incremental update sessions. Optical +supported media: CD-R, CD-RW, DVD-R, DVD-RW, DVD+R, DVD+R DL, DVD+RW, +DVD-RAM, BD-R and BD-RE. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} +doxygen doc/doxygen.conf + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install + +# Don't install any libtool .la files +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la + +# Clean up for later usage in documentation +rm -rf $RPM_BUILD_ROOT%{_defaultdocdir} + +# Symlink xorriso as mkisofs (like in cdrkit) +ln -sf xorriso $RPM_BUILD_ROOT%{_bindir}/mkisofs + +# Some file cleanups +rm -f $RPM_BUILD_ROOT%{_infodir}/dir + +# Don't ship proof of concept for the moment +rm -f $RPM_BUILD_ROOT%{_bindir}/xorriso-tcltk + +%check +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$RPM_BUILD_ROOT%{_libdir}" +cd releng +./run_all_auto -x ../xorriso/xorriso || (cat releng_generated_data/log.*; exit 1) + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n xorriso +/sbin/install-info %{_infodir}/xorrecord.info.gz %{_infodir}/dir || : +/sbin/install-info %{_infodir}/xorriso.info.gz %{_infodir}/dir || : +/sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || : + +link=`readlink %{_bindir}/mkisofs` +if [ "$link" == "xorriso" ]; then + rm -f %{_bindir}/mkisofs + +%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorriso 50 \ + --slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs.1.gz +fi + +%preun -n xorriso +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/xorrecord.info.gz %{_infodir}/dir || : + /sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || : + /sbin/install-info --delete %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || : + + %{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso +fi + +%files +%license COPYING +%doc AUTHORS COPYRIGHT README ChangeLog +%{_libdir}/%{name}*.so.* + +%files devel +%doc doc/html +%{_includedir}/%{name} +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}*.pc + +%files help +%doc doc/html/ +%{_mandir}/man1/xorrecord.1* +%{_mandir}/man1/xorriso.1* +%{_mandir}/man1/xorrisofs.1* +%{_infodir}/xorrecord.info* +%{_infodir}/xorriso.info* +%{_infodir}/xorrisofs.info* + +%files -n xorriso +%ghost %{_bindir}/mkisofs +%{_bindir}/osirrox +%{_bindir}/xorrecord +%{_bindir}/xorriso +%{_bindir}/xorrisofs + +%changelog +* Tue Mar 3 2020 openEuler Buildteam - 1.4.8-4 +- Package init -- Gitee