]> git.pld-linux.org Git - packages/detex.git/commitdiff
- new, based on template.spec and SuSE detex-2.7-474
authortwittner <twittner@pld-linux.org>
Fri, 19 Sep 2003 05:18:16 +0000 (05:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    detex.spec -> 1.1

detex.spec [new file with mode: 0644]

diff --git a/detex.spec b/detex.spec
new file mode 100644 (file)
index 0000000..c49d62a
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       TeX/LaTeX to ASCII converter
+Summary(pl):   Konwerter TeX-a/LaTex-a na ASCII
+Name:          detex
+Version:       2.7
+Release:       1
+Epoch:         0
+License:       distributable
+Group:         Applications/Text
+Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
+# Source0-md5: 22cbca475eedb39deee64e126dfd5ddb
+Patch0:                %{name}-suse.patch
+Patch1:                %{name}-install.patch
+URL:           http://www.cs.purdue.edu/homes/trinkle/detex/
+BuildRequires: flex
+Provides:      deTeX
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+detex is filter to strip TeX/LaTeX commands.
+
+%description -l pl
+detex jest filtrem usuwaj±cy makra TeX-a/LaTex-a .
+
+%prep
+%setup -q -c
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -s detex $RPM_BUILD_ROOT%{_bindir}
+(cd $RPM_BUILD_ROOT%{_bindir}; ln -s detex delatex)
+install detex.1l $RPM_BUILD_ROOT%{_mandir}/man1/detex.1
+(cd $RPM_BUILD_ROOT%{_mandir}/man1; ln -s detex.1 delatex.1)
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.060015 seconds and 4 git commands to generate.