diff --git a/README.en.md b/README.en.md deleted file mode 100644 index f505ba05534a4102126d2278f3b6908c92419ac9..0000000000000000000000000000000000000000 --- 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 abfbf8382586bf4334202c600fb2462f93ca42fc..0000000000000000000000000000000000000000 --- 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/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/libisoburn-1.0.8-multilib.patch b/libisoburn-1.0.8-multilib.patch new file mode 100644 index 0000000000000000000000000000000000000000..5cda5a6ae20ddac7d074e6116bf697fa2fe45ae3 --- /dev/null +++ b/libisoburn-1.0.8-multilib.patch @@ -0,0 +1,22 @@ +Patch by Robert Scheck for libisoburn >= 1.0.8, which solves multilib/ +multiarch problem by removing the timestamp within the footer from the doxygen generated files. + +--- libisoburn-1.0.8/doc/doxygen.conf.in 2011-02-23 14:43:07.000000000 +0100 ++++ libisoburn-1.0.8/doc/doxygen.conf.in.multilib 2011-04-17 20:31:16.872988140 +0200 +@@ -689,7 +689,7 @@ + # each generated HTML page. If it is left blank doxygen will generate a + # standard footer. + +-HTML_FOOTER = ++HTML_FOOTER = doc/footer_no_timestamp.html + + # The HTML_STYLESHEET tag can be used to specify a user-defined cascading + # style sheet that is used by each HTML page. It can be used to +--- libisoburn-1.0.8/doc/footer_no_timestamp.html 1970-01-01 01:00:00.000000000 +0100 ++++ libisoburn-1.0.8/doc/footer_no_timestamp.html.multilib 2011-04-17 20:31:27.817044448 +0200 +@@ -0,0 +1,5 @@ ++
Generated for $projectname by  ++ ++doxygen $doxygenversion
++ ++ diff --git a/libisoburn-1.5.2.tar.gz b/libisoburn-1.5.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d6f6311912dabc9734f3b0228b3f01a03efd62fc Binary files /dev/null and b/libisoburn-1.5.2.tar.gz differ diff --git a/libisoburn-1.5.2.tar.gz.sig b/libisoburn-1.5.2.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000..8530f19dd8cbc73fe3d15eee5e8a6aa1974f1b35 Binary files /dev/null and b/libisoburn-1.5.2.tar.gz.sig differ diff --git a/libisoburn.spec b/libisoburn.spec new file mode 100644 index 0000000000000000000000000000000000000000..3afb4c5ec1218ce82a8b1b9f0a413977f66f8c8e --- /dev/null +++ b/libisoburn.spec @@ -0,0 +1,109 @@ +Name: libisoburn +Version: 1.5.2 +Release: 2 +Summary: A frontend which enables creation and expansion of ISO-9660 filesystems +License: GPLv2+ +URL: http://libburnia-project.org/ + +Source0: http://files.libburnia-project.org/releases/libisoburn-%{version}.tar.gz +Source1: http://files.libburnia-project.org/releases/libisoburn-%{version}.tar.gz.sig +Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg +Source3: xorriso_extract_iso_image.desktop +Patch0: libisoburn-1.0.8-multilib.patch + +BuildRequires: gnupg2 gcc gcc-c++ readline-devel libacl-devel zlib-devel +BuildRequires: libburn-devel >= %{version} libisofs-devel >= %{version} +Requires: kde-filesystem >= 4 +Requires(post): %{_sbindir}/alternatives, coreutils +Requires(preun): %{_sbindir}/alternatives +Provides: xorriso = %{version}-%{release} +Obsoletes: xorriso < %{version}-%{release} + +%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. + +%package devel +Summary: Development files for libisoburn +Requires: libisoburn = %{version}-%{release}, pkgconfig + +%description devel +This package contains libraries and header files for developing applications that use libisoburn. + +%package help +Summary: Documents for libisoburn +BuildArch: noarch +BuildRequires: doxygen graphviz +Provides: libisoburn-doc = %{version}-%{release} +Obsoletes: libisoburn-doc < %{version}-%{release} + +%description help +Man pages and other related documents for libisoburn. + +%prep +gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +%autosetup -n libisoburn-%{version} -p1 + +%build +%configure +%make_build +doxygen doc/doxygen.conf + +%install +%make_install + +%delete_la_and_a +rm -rf %{buildroot}%{_defaultdocdir} +install -D -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/kde4/services/ServiceMenus/xorriso_extract_iso_image.desktop +ln -sf xorriso %{buildroot}%{_bindir}/mkisofs +rm -f %{buildroot}%{_infodir}/dir +rm -f %{buildroot}{%{_bindir},%{_infodir},%{_mandir}/man1}/xorriso-tcltk* + +%check +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%{buildroot}%{_libdir}" +cd releng +./run_all_auto -x ../xorriso/xorriso || (cat releng_generated_data/log.*; exit 1) + +%ldconfig_scriptlets + +%post +link=`readlink %{_bindir}/mkisofs` +if [ "$link" == "xorriso" ]; then + rm -f %{_bindir}/mkisofs +fi + +%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorriso 50 \ + --slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs.1.gz + +%preun +if [ $1 = 0 ]; then + %{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso +fi + +%files +%defattr(-,root,root) +%doc AUTHORS README +%license COPYING COPYRIGHT +%ghost %{_bindir}/mkisofs +%{_bindir}/* +%{_libdir}/libisoburn*.so.* +%{_infodir}/* +%{_datadir}/kde4/services/ServiceMenus/xorriso_extract_iso_image.desktop + +%files devel +%defattr(-,root,root) +%doc doc/html +%{_includedir}/libisoburn +%{_libdir}/libisoburn.so +%{_libdir}/pkgconfig/libisoburn*.pc + +%files help +%defattr(-,root,root) +%doc doc/html/ ChangeLog +%{_mandir}/man1/* + +%changelog +* Fri Jan 10 2020 openEuler Buildteam - 1.5.2-2 +- Package init \ No newline at end of file diff --git a/xorriso_extract_iso_image.desktop b/xorriso_extract_iso_image.desktop new file mode 100644 index 0000000000000000000000000000000000000000..6c0b115b07718be7f3660b143ec5f9b169456052 --- /dev/null +++ b/xorriso_extract_iso_image.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Service +X-KDE-ServiceTypes=KonqPopupMenu/Plugin +MimeType=application/x-cd-image; +Actions=xorrisoExtractHere; + +[Desktop Action xorrisoExtractHere] +Name=Extract ISO image using Xorriso here +Name[de]=ISO-Abbild mit Xorriso hier entpacken +Icon=media-optical +Exec=/bin/nice -n 19 ionice -n7 -c3 xorriso -indev "%F" -osirrox on -cp_rx "*" "$(dirname %F)"