From 3fa16c0fef156e2503dd85b6b90198a3a1890683 Mon Sep 17 00:00:00 2001 From: Karol Krenski Date: Wed, 18 Jun 2008 10:48:47 +0000 Subject: [PATCH 1/1] - new Changed files: btype.spec -> 1.1 --- btype.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 btype.spec diff --git a/btype.spec b/btype.spec new file mode 100644 index 0000000..20a242f --- /dev/null +++ b/btype.spec @@ -0,0 +1,51 @@ +Summary: .torrent file editor +Summary(pl.UTF-8): Edytor plików .torrent +Name: btype +Version: 0.4.1 +Release: 1 +License: GPLv2 +Group: X11/Applications +Source0: http://kde-apps.org/CONTENT/content-files/25051-%{name}-%{version}.tar.bz2 +# Source0-md5: 833123eeacda38a0b585af5b35e18cc7 +URL: http://kde-apps.org/content/show.php/.torrent+file+editor?content=25051 +BuildRequires: kdelibs-devel +BuildRequires: scons +BuildRequires: which +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Easy-to-use program for editing torrent files. It supports +read, edit and save. + +%description -l pl.UTF-8 +Prosty w obsłudze program do edycji plików torrent. Wspiera +odczyt, edycję i zapisywanie. + +%prep +%setup -q + +%build +CXXFLAGS="%{rpmcxxflags}" +QTDIR=%{_prefix} +export CXXFLAGS QTDIR + +./configure \ + debug=0 \ + prefix=%{_prefix} \ + qtincludes=%{_includedir}/qt + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc HISTORY README +%attr(755,root,root) %{_bindir}/btype -- 2.43.0