]> git.pld-linux.org Git - SPECS.git/blob - gnomeradio.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / gnomeradio.spec
1 Summary:        A FM-Tuner program for GNOME
2 Summary(pl.UTF-8):      Tuner FM dla GNOME
3 Name:           gnomeradio
4 Version:        1.6
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/packages/%{name}-%{version}.tar.gz
9 # Source0-md5:  07b9d511f79e38f114af51cc7bfc014a
10 Patch0:         %{name}-schema.patch
11 Patch1:         %{name}-warnings.patch
12 Patch2:         %{name}-do_not_popup_without_lirc.patch
13 Patch3:         %{name}-no_disable_deprecated.patch
14 Patch4:         %{name}-desktop.patch
15 URL:            http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/
16 BuildRequires:  autoconf >= 2.52
17 BuildRequires:  automake
18 BuildRequires:  gettext-tools
19 BuildRequires:  gtk+2 >= 2.1.5
20 BuildRequires:  intltool
21 BuildRequires:  libgnomeui-devel >= 2.0
22 BuildRequires:  libtool
23 BuildRequires:  lirc-devel
24 BuildRequires:  ncurses-devel
25 BuildRequires:  pkgconfig
26 BuildRequires:  rarian-compat
27 BuildRequires:  rpm-build >= 4.1-10
28 Requires(post): GConf2
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 A FM-Tuner program for GNOME.
33
34 %description -l pl.UTF-8
35 Tuner FM dla GNOME.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 #%patch1 -p1
41 #%patch2 -p1
42 #%patch3 -p0
43 %patch4 -p1
44
45 %build
46 rm -f missing
47 %{__intltoolize}
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__automake}
52 %configure \
53         --disable-install-schemas \
54         --with-gconf-schema-file-dir=%{_sysconfdir}/gconf/schemas
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
65
66 %find_lang %{name} --with-gnome --all-name
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %gconf_schema_install
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README README.lirc example.lircrc
77 %attr(755,root,root) %{_bindir}/*
78 %{_desktopdir}/*.desktop
79 %{_omf_dest_dir}/*
80 %{_pixmapsdir}/*
81 %{_sysconfdir}/gconf/schemas/*
This page took 0.102723 seconds and 3 git commands to generate.