]> git.pld-linux.org Git - packages/dsktool.git/blob - dsktool.spec
- rebuild with wxGTK3-unicode, rel 2
[packages/dsktool.git] / dsktool.spec
1 Summary:        Diskette tools - GUI front-end to LibDsk
2 Summary(pl.UTF-8):      Narzędzia do dyskietek - graficzny interfejs do LibDsk
3 Name:           dsktool
4 Version:        1.0.5
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
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
11 BuildRequires:  libdsk-devel
12 BuildRequires:  rpmbuild(macros) >= 1.167
13 BuildRequires:  wxGTK2-devel >= 2.8
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
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
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
This page took 0.112818 seconds and 3 git commands to generate.