From 6f3f3e0ff2776a8fc96ef8228a782c81a1ef6f71 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 18 Oct 2005 20:20:59 +0000 Subject: [PATCH] - new Changed files: dsktool.spec -> 1.1 --- dsktool.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dsktool.spec diff --git a/dsktool.spec b/dsktool.spec new file mode 100644 index 0000000..13631ef --- /dev/null +++ b/dsktool.spec @@ -0,0 +1,47 @@ +Summary: Diskette tools - GUI front-end to LibDsk +Summary(pl): Narzêdzia do dyskietek - graficzny interfejs do LibDsk +Name: dsktool +Version: 1.0.1 +Release: 1 +License: GPL v2+ +Group: X11/Applications +Source0: http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz +# Source0-md5: d4468598b5ef1d588ad1797a67b748eb +URL: http://www.seasip.demon.co.uk/Unix/LibDsk/#tools +BuildRequires: libdsk-devel +BuildRequires: rpmbuild(macros) >= 1.167 +BuildRequires: wxGTK2-devel >= 2.6 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The Diskette Tools program is a GUI front-end to LibDsk. It doesn't do +any more than the provided sample utilities, but it looks nicer. + +%description -l pl +Program Diskette Tools to graficzny interfejs u¿ytkownika do LibDsk. +Nie robi wiêcej ni¿ za³±czone programy przyk³adowe, ale wygl±da +przyjemniej. + +%prep +%setup -q + +%build +%{__make} \ + CXX="%{__cxx}" \ + CXXFLAGS="%{rpmcxxflags} `wx-gtk2-ansi-config --cflags`" \ + WX_LIBS="`wx-gtk2-ansi-config --libs`" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +%{__make} install \ + INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.txt +%attr(755,root,root) %{_bindir}/dsktool -- 2.43.0