gnomeradio.spec.in
资源名称:fmradio.zip [点击查看]
上传用户:ledjyj
上传日期:2014-08-27
资源大小:2639k
文件大小:1k
源码类别:
驱动编程
开发平台:
Unix_Linux
- # Note that this is NOT a relocatable package
- %define ver @VERSION@
- %define rel 1
- %define prefix /usr
- Summary: A FM-Tuner program for Gnome
- Name: gnomeradio
- Version: %ver
- Release: %rel
- Copyright: GPL
- Group: Applications/Multimedia
- Source: http://mfcn.ilo.de/gnomeradio/gnomeradio-%{ver}.tar.gz
- BuildRoot: /var/tmp/gnomeradio-%{ver}-root
- Packager: J鰎gen Scheibengruber <mfcn@gmx.de>
- URL: http://mfcn.ilo.de/gnomeradio
- Docdir: %{prefix}/doc
- BuildRequires: pkgconfig
- BuildRequires: intltool
- BuildRequires: libgnomeui-devel
- %description
- A FM-Tuner program for Gnome
- %changelog
- %prep
- %setup
- %build
- CFLAGS="${RPM_OPT_FLAGS}"
- CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- %makeinstall
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-, root, root)
- %{_bindir}/*
- %{_datadir}/locale/*
- %{_datadir}/pixmaps/radio.png
- %{_datadir}/gnome/help/gnomeradio
- %{_datadir}/pixmaps/gnomeradio.png
- %{_datadir}/omf/gnomeradio/gnomeradio-C.omf
- %{_datadir}/applications/gnomeradio.desktop
- %{_sysconfdir}/gconf/schemas/gnomeradio.schemas
- %post
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gnomeradio.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
- done
- scrollkeeper-update
- %postun
- scrollkeeper-update