58 lines
1.4 KiB
RPMSpec
58 lines
1.4 KiB
RPMSpec
%define name transmission
|
|
%define version @VERSION@
|
|
%define release 1
|
|
|
|
Summary: Transmission BitTorrent Client
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
License: MIT
|
|
Group: Applications/Internet
|
|
URL: http://www.transmissionbt.com/
|
|
Epoch: 1
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
BuildRequires: curl-devel >= @CURL_MINIMUM@
|
|
BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
|
|
BuildRequires: glib2-devel >= @GLIB_MINIMUM@
|
|
BuildRequires: gtk2-devel >= @GTK_MINIMUM@
|
|
BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
|
|
BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
|
|
|
|
Requires: curl >= @CURL_MINIMUM@
|
|
Requires: openssl >= @OPENSSL_MINIMUM@
|
|
Requires: glib2 >= @GLIB_MINIMUM@
|
|
Requires: gtk2 >= @GTK_MINIMUM@
|
|
Requires: libnotify >= @LIBNOTIFY_MINIMUM@
|
|
Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
|
|
|
|
Provides: %{name}
|
|
|
|
%description
|
|
A fast and easy BitTorrent client
|
|
|
|
%prep
|
|
%setup -q
|
|
%build
|
|
%configure --program-prefix=""
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
%find_lang %{name}
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS LICENSE NEWS README
|
|
%attr(755,root,root) %{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/*
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Jul 18 2006 Charles Kerr <charles@rebelbase.com>
|
|
- first draft at a spec file, cribbed from Pan's spec file
|