]> git.pld-linux.org Git - packages/btmgr.git/blobdiff - btmgr.spec
- x86_64 does not understand "-t us", pff
[packages/btmgr.git] / btmgr.spec
index a4a19dede26fb8b97639383813bf3e97066535c0..a23be296681a4d6eb433362dfab113f219f77d3c 100644 (file)
@@ -1,3 +1,5 @@
+# TODO
+# - x86_64 is broken, use ix86 version
 #
 # Conditional build:
 %bcond_without doc             # build documentation
@@ -5,17 +7,22 @@
 Summary:       Smart Boot Manager is an OS independent boot manager
 Name:          btmgr
 Version:       3.7
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://downloads.sourceforge.net/btmgr/%{name}-%{version}-1.tar.gz
 # Source0-md5: 7bfe432821c3cef48df8b3d6be800009
+Patch0:                nasm.patch
+Patch1:                major-macro.patch
 URL:           http://sourceforge.net/projects/btmgr/
 BuildRequires: nasm
 BuildRequires: sed >= 4.0
+BuildRequires: ucl-devel
 %if %{with doc}
 BuildRequires: sgml-tools
 BuildRequires: tetex-format-latex
+BuildRequires: tetex-metafont
+BuildRequires: tetex-tex-babel
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,6 +37,8 @@ CD-ROM. There are plans to support ZIP and LS-120 in the near future.
 
 %prep
 %setup -q -n %{name}-%{version}-1
+%patch0 -p1
+%patch1 -p1
 
 # allow passing defaults
 %{__sed} -i -e '/^CC=/ s/gcc/$(HOSTCC)/' Makefile
@@ -57,9 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog CREDITS INSTALL README TODO
-%doc(zh) README-ZH
+%doc %lang(zh) README-ZH
 %attr(755,root,root) %{_sbindir}/sbminst
-%{_datadir}/btmgr
+%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.065556 seconds and 4 git commands to generate.