add.bot.to.windows.package
[tfs.git] / tfs.spec.in
blob870efd7b92b8dfea6bee78ab5946991d842adf85
1 %define name opentf
2 %define release @PACKAGE_VERSION@
4 Name: %name
5 Version: %release
6 Release: 0
7 Summary: A command line client and associated assemblies for Team Foundation.
9 Group: Development/Libraries/Other
10 License: BSD
11 URL:http://code.google.com/p/opentf/
12 Vendor: opentf project
13 Source:%name-@PACKAGE_VERSION@.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
16 Requires: mono-core >= 1.2.4
17 Requires: gtk-sharp2 >= 2.10
18 Requires: gnome-vfs-sharp2
19 Requires: gtksourceview-sharp2
20 ExclusiveArch:%{ix86}
22 BuildRequires:pkgconfig
23 BuildRequires:mono-devel
24 BuildRequires:file-devel
25 BuildRequires:asciidoc
26 BuildRequires:xmlto
27 BuildRequires:libxslt
28 BuildRequires:gtk-sharp2
29 BuildRequires:gnome-vfs-sharp2
30 BuildRequires:gtksourceview-sharp2
31 Prereq:/sbin/ldconfig
33 %description
34 An implementation of the Team Foundation libraries and related client programs for the Mono .Net platform. Team Foundation is a 'collection of collaborative technologies that support a team effort to deliver a product' from Microsoft that includes bug tracking, source control, and other capabilities.
36 %prep
37 %setup
39 %build
40 %configure \
41 --prefix=%{_prefix} --enable-highlight --disable-md \
42 make
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %makeinstall
48 %clean
49 rm -fr $RPM_BUILD_ROOT
51 %files
52 %defattr(-, root, root, -)
53 %doc INSTALL NEWS README
54 %{_libdir}/mono/gac/Microsoft.TeamFoundation*
55 %{_libdir}/mono/2.0/Microsoft.TeamFoundation*
56 %{_libdir}/mono/gac/Gtk.TeamFoundation*
57 %{_libdir}/mono/2.0/Gtk.TeamFoundation*
58 %{_libdir}/mono/gac/OpenTF.Common*
59 %{_libdir}/mono/2.0/OpenTF.Common*
60 %{_libdir}/opentf/*
61 %{_libdir}/pkgconfig/tfs.pc
62 %{_mandir}/man1/*
63 %{_bindir}/*
65 %changelog
66 * Sat Dec 1 2007 Joel W. Reed <joelwreed at gmail>
67 - Add OpenTF.Common and Gtk.TeamFoundation
68 * Wed Sep 19 2007 Joel W. Reed <joelwreed at gmail>
69 - Initial spec file