File: bug-buddy.spec.in

package info (click to toggle)
bug-buddy 2.8.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,912 kB
  • ctags: 471
  • sloc: ansic: 4,409; sh: 2,780; xml: 567; makefile: 163
file content (107 lines) | stat: -rw-r--r-- 2,932 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Name:		bug-buddy
Summary:	Utility to ease the reporting of bugs within the GNOME Desktop Environment.
Version:	@VERSION@
Release:	1
License:	GPL
Group:		Applications/System
Source:		ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.gz
URL:		http://www.bug-buddy.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

Requires:	libglade2 >= 1.99.2
Requires:	gnome-vfs2 >= 1.9.1
Requires:	libgnome >= 1.104.0
Requires:	libgnomecanvas >= 1.104.0
Requires:	libgnomeui >= 1.104.0
Requires:	libxml2 >= 2.4.6
BuildRequires:	libglade2-devel >= 1.99.2
BuildRequires:	gnome-vfs2-devel >= 1.9.1
BuildRequires:	libgnome-devel >= 1.104.0
BuildRequires:	libgnomecanvas-devel >= 1.104.0
BuildRequires:	libgnomeui-devel >= 1.104.0
BuildRequires:	libxml2-devel >= 2.4.6

%description
The goal of bug-buddy is to make reporting bugs very simple
and easy for users, while making the reports themselves more
useful and informative for developers. 

%prep
%setup -q

%build

MYCFLAGS="$RPM_OPT_FLAGS"

if [ ! -f configure ]; then
	./autogen.sh
	rm -f config.cache
fi

CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \
    --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} \
    --bindir=%{_bindir} --datadir=%{_datadir}

if [ "$SMP" != "" ]; then
  make -j$SMP "MAKE=make -j$SMP"
else
  make
fi

%install
rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

%clean
rm -fr $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-, root, root)

%doc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%{_bindir}/*
%{_datadir}/pixmaps/*
%{_datadir}/gnome/*
%{_datadir}/mime-info/*
%{_datadir}/bug-buddy

%changelog
* Sat Dec  9 2001 Abel Cheung <maddog@linux.org.hk>
- Use make install DESTDIR=...
- Corrected URL and source location
- Simplify %install
- Modify buildroot to allow non-root building
- Update Requies and BuildRequires

* Sun Aug 05 2001 Jens Finke <jens@triq.net>
- Merged GPP spec file with CVS bug-buddy.spec.in file
- Updated source URL.
- Removed explicit defined localstatedir variable.

* Mon Jun 25 2001 Gregory Leblanc <gleblanc@rh7.build.cu-portland.edu>
- added gdk-pixbuf to the build depandancies

* Mon Jun 25 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- used %find_lang macro

* Thu May 24 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- removed unnecessary %defines
- made %setup quiet
- corrected %files section
- replaced Copywright with license
- Added build requires for gnome-vfs
- cleaned up formatting on BuildRequires

* Tue Feb 20 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- macro fixes, remove hard-coded paths

* Wed Feb 23 2000  Jacob Berkman  <jacob@helixcode.com>
- don't say we own the pixmaps/ dir

* Wed Nov 10 1999  Jacob Berkman  <jberkman@andrew.cmu.edu>
- fixed up for insertion into the CVS

* Fri Nov 05 1999  Ned Rhudy  <nrhudy@pabus.com>
- the first incarnation of the spec file...watch it not work