~blackskad/gnomeradio/dev-vol-button

« back to all changes in this revision

Viewing changes to gnomeradio.spec.in

  • Committer: mfcn
  • Date: 2003-01-08 17:19:21 UTC
  • Revision ID: svn-v3-trunk0:ba97a3d1-ec25-0410-b1c6-e06ad936ea6c:trunk:2
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Note that this is NOT a relocatable package
 
2
%define ver      @VERSION@
 
3
%define rel      1
 
4
%define prefix   /usr
 
5
 
 
6
Summary: A FM-Tuner program for Gnome
 
7
Name: gnomeradio
 
8
Version: %ver
 
9
Release: %rel
 
10
Copyright: GPL
 
11
Group: Applications/Multimedia
 
12
Source: http://mfcn.ilo.de/gnomeradio/gnomeradio-%{ver}.tar.gz
 
13
BuildRoot: /var/tmp/gnomeradio-%{ver}-root
 
14
Packager: J�rgen Scheibengruber <mfcn@gmx.de>
 
15
URL: http://mfcn.ilo.de/gnomeradio
 
16
Docdir: %{prefix}/doc
 
17
 
 
18
BuildRequires: pkgconfig
 
19
BuildRequires: intltool
 
20
BuildRequires: libgnomeui-devel
 
21
 
 
22
%description
 
23
A FM-Tuner program for Gnome
 
24
 
 
25
%changelog
 
26
 
 
27
%prep
 
28
%setup
 
29
 
 
30
%build
 
31
CFLAGS="${RPM_OPT_FLAGS}"
 
32
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
 
33
make
 
34
 
 
35
%install
 
36
rm -rf $RPM_BUILD_ROOT
 
37
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
38
make prefix=$RPM_BUILD_ROOT%{prefix} install
 
39
%makeinstall
 
40
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
41
 
 
42
%clean
 
43
rm -rf $RPM_BUILD_ROOT
 
44
 
 
45
%files
 
46
%defattr(-, root, root)
 
47
 
 
48
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
 
49
 
 
50
%{prefix}/bin/*
 
51
%{prefix}/share/locale/*
 
52
%{prefix}/share/pixmaps/radio.png
 
53
%{prefix}/share/pixmaps/gnome-radio.png
 
54
%{prefix}/share/gnome/apps/Multimedia/gnomeradio.desktop
 
55
 
 
56
%post
 
57
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
58
SCHEMAS="gnomeradio.schemas"
 
59
for S in $SCHEMAS; do
 
60
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
 
61
done