]> git.pld-linux.org Git - packages/clit.git/blob - clit.spec
f08d5b29a007fd4c3d40e7fbcd2018ae8e224f4e
[packages/clit.git] / clit.spec
1 %define xver %(echo %{version} | tr -d .)
2 Summary:        Open Convert-.LIT tool
3 Summary(pl):    Otwarte narzêdzie do rozpakowywania plików .LIT
4 Name:           clit
5 Version:        1.4
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/Archiving
9 Source0:        http://www.kyz.uklinux.net/downloads/open_c-lit-%{version}.tar.gz
10 # Source0-md5:  f85b2aa1aae9f58102fee9adc29a2cce
11 URL:            http://www.kyz.uklinux.net/convlit.php
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 clit allows extracting "DRM1" format .LIT files into their original
16 XML/HTML. IANAL but using this program may violate DMCA if you're in
17 USA.
18
19 %description -l pl
20 clit pozwala na rozpakowywanie plików w formacie .LIT/DRM1. U¿ywanie
21 tego programu na terenie Stanów Zjednoczonych Ameryki Pó³nocnej mo¿e
22 gw³aciæ DMCA.
23
24 %prep
25 %setup -q -n %{name}%{xver}src
26
27 %build
28 %{__make} -C lib CC="%{__cc} %{rpmcflags}"
29 %{__make} -C %{name}%{xver} CC="%{__cc} %{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 # create directories if necessary
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 install %{name}%{xver}/%{name} $RPM_BUILD_ROOT%{_bindir}/
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40
41 %files
42 %defattr(644,root,root,755)
43 %doc %{name}%{xver}/{BUGS,CHANGES}
44 %attr(755,root,root) %{_bindir}/*
This page took 0.038083 seconds and 2 git commands to generate.