commit
da012f101e
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# libburn1
|
||||
|
||||
#### Description
|
||||
Library for reading, mastering and writing optical discs.
|
||||
|
||||
#### 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/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# libburn1
|
||||
|
||||
#### 介绍
|
||||
Library for reading, mastering and writing optical discs.
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
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/)
|
||||
23
libburn-0.6.16-multilib.patch
Normal file
23
libburn-0.6.16-multilib.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Patch by Robert Scheck <robert@fedoraproject.org> for libburn >= 0.6.16, which solves the
|
||||
multilib/multiarch problem by removing the timestamp within the footer from the doxygen
|
||||
generated files.
|
||||
|
||||
--- libburn-0.6.16/doc/doxygen.conf.in 2008-11-25 11:00:11.000000000 +0100
|
||||
+++ libburn-0.6.16/doc/doxygen.conf.in.multilib 2009-03-17 22:17:03.000000000 +0100
|
||||
@@ -904,7 +904,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
|
||||
--- libburn-0.6.16/doc/footer_no_timestamp.html 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ libburn-0.6.16/doc/footer_no_timestamp.html.multilib 2009-03-17 22:18:47.000000000 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
+<hr size="1"><address style="text-align: right;"><small>Generated for $projectname by
|
||||
+<a href="http://www.doxygen.org/index.html">
|
||||
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> $doxygenversion </small></address>
|
||||
+</body>
|
||||
+</html>
|
||||
BIN
libburn-1.5.2.tar.gz
Normal file
BIN
libburn-1.5.2.tar.gz
Normal file
Binary file not shown.
104
libburn1.spec
Normal file
104
libburn1.spec
Normal file
@ -0,0 +1,104 @@
|
||||
Name: libburn1
|
||||
Version: 1.5.2
|
||||
Release: 2
|
||||
License: GPLv2+
|
||||
Summary: A package for reading, mastering and writing optical discs
|
||||
URL: http://libburnia-project.org/
|
||||
Source0: http://files.libburnia-project.org/releases/libburn-%{version}.tar.gz
|
||||
# which solves the multilib/multiarch problem by removing the timestamp within the footer from the
|
||||
# doxygen generated files.
|
||||
Patch0000: libburn-0.6.16-multilib.patch
|
||||
BuildRequires: intltool gettext autoconf automake libtool pkgconfig
|
||||
|
||||
%description
|
||||
Libburn is a package for reading, mastering and writing optical discs: CD, DVD and BD (Blu-Ray).
|
||||
It also offers a facility for reading data blocks from its drives without using the normal block
|
||||
device I/O, which has advantages and disadvantages.
|
||||
|
||||
%package devel
|
||||
Summary: Files for libburn1 development
|
||||
Requires: libburn1 = %{version}-%{release} pkgconfig
|
||||
|
||||
%description devel
|
||||
Contains libraries and header files for developing applications.
|
||||
|
||||
%package help
|
||||
Summary: Help files for libburn1
|
||||
BuildArch: noarch
|
||||
Provides: libburn1-doc = %{version}-%{release}
|
||||
Obsoletes: libburn1-doc < %{version}-%{release}
|
||||
BuildRequires: doxygen graphviz
|
||||
|
||||
%description help
|
||||
Help files for libburn1.
|
||||
|
||||
%package -n cdrskin1
|
||||
Summary: A limited cdrecord compatibility wrapper
|
||||
Requires: libburn1 = %{version}-%{release}
|
||||
Requires(post): chkconfig coreutils
|
||||
Requires(preun): chkconfig
|
||||
|
||||
%description -n cdrskin1
|
||||
The package is a limited cdrecord compatibility wrapper which allows to use some libburn1 features
|
||||
from the command line.
|
||||
|
||||
%prep
|
||||
%autosetup -n libburn-%{version} -p1
|
||||
sed -e 's@libburn_libburn@libburn_libburn1@g' -e 's@libburn/libburn.la@libburn/libburn1.la@g' \
|
||||
-e 's@(includedir)/libburn@(includedir)/libburn1@g' -e 's@libburn-1.pc@libburn1-1.pc@g' -i Makefile.am
|
||||
sed -e 's@libburn-1.pc@libburn1-1.pc@g' -i configure.ac
|
||||
sed -e 's@burn@burn1@g' libburn-1.pc.in > libburn1-1.pc.in
|
||||
libtoolize --force
|
||||
autoreconf --force --install
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
doxygen doc/doxygen.conf
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libburn1.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
||||
mv -f $RPM_BUILD_ROOT%{_bindir}/{cdrskin,cdrskin1}
|
||||
mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdrskin,cdrskin1}.1
|
||||
ln -sf cdrskin1 $RPM_BUILD_ROOT%{_bindir}/cdrecord
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n cdrskin1
|
||||
link=`readlink %{_bindir}/cdrecord`
|
||||
if [ "$link" == "cdrskin1" ];
|
||||
then
|
||||
rm -f %{_bindir}/cdrecord
|
||||
fi
|
||||
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/cdrskin1 50 \
|
||||
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/cdrskin1.1.gz
|
||||
|
||||
%preun -n cdrskin1
|
||||
if [ $1 = 0 ];
|
||||
then
|
||||
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/cdrskin1
|
||||
fi
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS COPYRIGHT README
|
||||
%{_libdir}/libburn1*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libburn1
|
||||
%{_libdir}/libburn1*.so
|
||||
%{_libdir}/pkgconfig/libburn1*.pc
|
||||
|
||||
%files help
|
||||
%doc doc/html/
|
||||
%{_mandir}/man1/cdrskin1.1*
|
||||
|
||||
%files -n cdrskin1
|
||||
%ghost %{_bindir}/cdrecord
|
||||
%{_bindir}/cdrskin1
|
||||
|
||||
%changelog
|
||||
* Mon Mar 9 2020 Ling Yang <lingyang2@huawei.com> - 1.5.2-2
|
||||
- Package Init
|
||||
Loading…
x
Reference in New Issue
Block a user