package init
This commit is contained in:
parent
c84d99d5e2
commit
596a557603
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.4.8.tar.gz
Normal file
BIN
libburn-1.4.8.tar.gz
Normal file
Binary file not shown.
BIN
libburn-1.4.8.tar.gz.sig
Normal file
BIN
libburn-1.4.8.tar.gz.sig
Normal file
Binary file not shown.
99
libburn.spec
Normal file
99
libburn.spec
Normal file
@ -0,0 +1,99 @@
|
||||
Name: libburn
|
||||
Version: 1.4.8
|
||||
Release: 6
|
||||
Summary: The underlying programming library
|
||||
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
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Summary: Development files of libburn
|
||||
Requires: libburn = %{version}-%{release} pkgconfig
|
||||
|
||||
%description devel
|
||||
Development files of libburn.
|
||||
|
||||
%package help
|
||||
Summary: Help document for libburn
|
||||
BuildArch: noarch
|
||||
BuildRequires: doxygen graphviz
|
||||
Provides: %{name}-doc = %{version}-%{release}
|
||||
Obsoletes: %{name}-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.
|
||||
|
||||
%prep
|
||||
%autosetup -n libburn-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%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
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%post -n cdrskin
|
||||
link=`readlink %{_bindir}/cdrecord`
|
||||
if [ "$link" == "cdrskin" ]; then
|
||||
rm -f %{_bindir}/cdrecord
|
||||
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
|
||||
if [ $1 = 0 ]; then
|
||||
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/cdrskin
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS COPYRIGHT README
|
||||
%{_libdir}/%{name}*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/%{name}*.so
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
|
||||
%files help
|
||||
%doc doc/html/
|
||||
%{_mandir}/man1/cdrskin.1*
|
||||
|
||||
%files -n cdrskin
|
||||
%ghost %{_bindir}/cdrecord
|
||||
%{_bindir}/cdrskin
|
||||
|
||||
%changelog
|
||||
* Sat Dec 21 2019 shijian <shijian16@huawei.com> - 1.4.8-6
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user