source: branches/1.4x/transmission.spec.in @ 7095

Last change on this file since 7095 was 5680, checked in by charles, 14 years ago

sync the spec file up with the curl requirements

File size: 1.4 KB
Line 
1%define name transmission
2%define version @VERSION@
3%define release 1
4
5Summary:   Transmission BitTorrent Client
6Name:      %{name}
7Version:   %{version}
8Release:   %{release}
9License:   MIT
10Group:     Applications/Internet
11URL:       http://www.transmissionbt.com/
12Epoch:     1
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
15BuildRequires: curl-devel >= @CURL_MINIMUM@
16BuildRequires: openssl-devel >= @OPENSSL_MINIMUM@
17BuildRequires: glib2-devel >= @GLIB_MINIMUM@
18BuildRequires: gtk2-devel >= @GTK_MINIMUM@
19BuildRequires: libnotify-devel >= @LIBNOTIFY_MINIMUM@
20BuildRequires: dbus-glib-devel >= @DBUS_GLIB_MINIMUM@
21
22Requires: curl >= @CURL_MINIMUM@
23Requires: openssl >= @OPENSSL_MINIMUM@
24Requires: glib2 >= @GLIB_MINIMUM@
25Requires: gtk2 >= @GTK_MINIMUM@
26Requires: libnotify >= @LIBNOTIFY_MINIMUM@
27Requires: dbus-glib >= @DBUS_GLIB_MINIMUM@
28
29Provides: %{name}
30
31%description
32A fast and easy BitTorrent client
33
34%prep
35%setup -q
36%build
37%configure --program-prefix=""
38make CFLAGS="$RPM_OPT_FLAGS"
39%install
40rm -rf $RPM_BUILD_ROOT
41make DESTDIR=$RPM_BUILD_ROOT install
42%find_lang %{name}
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files -f %{name}.lang
47%defattr(-,root,root)
48%doc AUTHORS LICENSE NEWS README
49%attr(755,root,root) %{_bindir}/%{name}
50%{_datadir}/applications/%{name}.desktop
51%{_datadir}/pixmaps/*
52
53
54%changelog
55
56* Wed Jul 18 2006 Charles Kerr <charles@rebelbase.com>
57- first draft at a spec file, cribbed from Pan's spec file
Note: See TracBrowser for help on using the repository browser.