]>
Commit | Line | Data |
---|---|---|
6f3f3e0f | 1 | Summary: Diskette tools - GUI front-end to LibDsk |
86bd90ae | 2 | Summary(pl.UTF-8): Narzędzia do dyskietek - graficzny interfejs do LibDsk |
6f3f3e0f JB |
3 | Name: dsktool |
4 | Version: 1.0.1 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: d4468598b5ef1d588ad1797a67b748eb | |
10 | URL: http://www.seasip.demon.co.uk/Unix/LibDsk/#tools | |
11 | BuildRequires: libdsk-devel | |
12 | BuildRequires: rpmbuild(macros) >= 1.167 | |
13 | BuildRequires: wxGTK2-devel >= 2.6 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | The Diskette Tools program is a GUI front-end to LibDsk. It doesn't do | |
18 | any more than the provided sample utilities, but it looks nicer. | |
19 | ||
86bd90ae JR |
20 | %description -l pl.UTF-8 |
21 | Program Diskette Tools to graficzny interfejs użytkownika do LibDsk. | |
22 | Nie robi więcej niż załączone programy przykładowe, ale wygląda | |
6f3f3e0f JB |
23 | przyjemniej. |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__make} \ | |
30 | CXX="%{__cxx}" \ | |
31 | CXXFLAGS="%{rpmcxxflags} `wx-gtk2-ansi-config --cflags`" \ | |
32 | WX_LIBS="`wx-gtk2-ansi-config --libs`" | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %{__make} install \ | |
39 | INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc README.txt | |
47 | %attr(755,root,root) %{_bindir}/dsktool |