]>
Commit | Line | Data |
---|---|---|
6f3f3e0f | 1 | Summary: Diskette tools - GUI front-end to LibDsk |
db58845b | 2 | Summary(pl.UTF-8): Narzędzia do dyskietek - graficzny interfejs do LibDsk |
6f3f3e0f | 3 | Name: dsktool |
e8e7e6f8 | 4 | Version: 1.0.5 |
553cdefc | 5 | Release: 2 |
6f3f3e0f JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
e8e7e6f8 JB |
8 | Source0: http://www.seasip.info/Unix/LibDsk/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6cb3b6ebb11b7e7102976c26a7ec8c3f | |
10 | URL: http://www.seasip.info/Unix/LibDsk/#tools | |
6f3f3e0f JB |
11 | BuildRequires: libdsk-devel |
12 | BuildRequires: rpmbuild(macros) >= 1.167 | |
553cdefc | 13 | BuildRequires: wxGTK3-unicode-devel >= 2.8 |
6f3f3e0f JB |
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}" \ | |
553cdefc JR |
31 | CXXFLAGS="%{rpmcxxflags} `wx-gtk3-unicode-config --cflags`" \ |
32 | WX_LIBS="`wx-gtk3-unicode-config --libs`" | |
6f3f3e0f JB |
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 |