]> git.pld-linux.org Git - packages/unace.git/blob - unace.spec
- release 6
[packages/unace.git] / unace.spec
1 Summary:        unACE - extract, test and view ACE archives
2 Summary(pl.UTF-8):      unACE - rozpakowuje, testuje i przegląda archiwa ACE
3 Name:           unace
4 Version:        1.2b
5 Release:        6
6 Epoch:          1
7 License:        Freeware
8 Group:          Applications/Archiving
9 Source0:        %{name}pub.zip
10 # Source0-md5:  1a73dda37e4d8d8ef70f27a858e32a55
11 Patch0:         %{name}-format-security.patch
12 BuildRequires:  unzip
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The unACE utility is a freeware program, distributed with source code
17 and developed for extracting, testing and viewing the contents of
18 archives created with the ACE archiver.
19
20 %description -l pl.UTF-8
21 UnACE jest programem freeware, rozpowszechnianym wraz z kodem
22 źródłowym, przeznaczonym do rozpakowywania, testowania oraz
23 przeglądania zawartości archiwów stworzonych przez program ACE.
24
25 %prep
26 %setup -q -c -T
27 unzip -qa %{SOURCE0}
28 %patch0 -p1
29
30 %build
31 cp -f unix/makefile .
32 cp -f unix/gccmaked .
33 %{__make} dep \
34         CC="%{__cc}" \
35         CFLAGS="%{rpmcflags} -DUNIX -DCASEINSENSE" 
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="%{rpmcflags} -DUNIX -DCASEINSENSE"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43
44 install unace $RPM_BUILD_ROOT%{_bindir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc readme.txt file_id.diz
52 %attr(755,root,root) %{_bindir}/unace
This page took 0.096876 seconds and 4 git commands to generate.