diff --git a/.gitignore b/.gitignore index e69de29..6cc0946 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/skin-nopacity-0b29805c23c99922bbade2824d93126bab112316.tar.bz2 +/vdr-skinnopacity.conf diff --git a/skin-nopacity-0b29805c23c99922bbade2824d93126bab112316.tar.bz2 b/skin-nopacity-0b29805c23c99922bbade2824d93126bab112316.tar.bz2 new file mode 100644 index 0000000..458e4b3 Binary files /dev/null and b/skin-nopacity-0b29805c23c99922bbade2824d93126bab112316.tar.bz2 differ diff --git a/sources b/sources index e69de29..c49dde8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +292a33236943c8136ca4f1480771f65f vdr-skinnopacity.conf diff --git a/vdr-skinnopacity.conf b/vdr-skinnopacity.conf new file mode 100644 index 0000000..d39d571 --- /dev/null +++ b/vdr-skinnopacity.conf @@ -0,0 +1,6 @@ +# Configuration snippet for vdr-skinnopacity -*- sh -*- +# +# Add command line options to pass to the skinnopacity plugin to PLUGIN_OPTIONS. +# See /usr/share/doc/vdr-skinnopacity/README for info about available options. + +PLUGIN_OPTIONS="--iconpath=/usr/share/vdr/plugins/skinnopacity/icons/ --logopath=/usr/share/vdr/plugins/skinnopacity/logos/ --epgimages=/var/cache/vdr/plugins/skinnopacity/epgimages/" diff --git a/vdr-skinnopacity.spec b/vdr-skinnopacity.spec new file mode 100644 index 0000000..54bd905 --- /dev/null +++ b/vdr-skinnopacity.spec @@ -0,0 +1,115 @@ +%global commit 0b29805c23c99922bbade2824d93126bab112316 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global gitdate 20131221 + +Name: vdr-skinnopacity +Version: 1.0.3 +Release: 5.%{gitdate}git%{shortcommit}%{?dist} +Summary: A highly customizable native true color skin for the Video Disc Recorder + +Group: Applications/Multimedia +License: GPLv2+ +URL: http://projects.vdr-developer.org/projects/skin-nopacity +# how to get the tarball +# go to the url address, click the link behind commit, then select the download links below. +Source0: http://projects.vdr-developer.org/git/skin-nopacity.git/snapshot/skin-nopacity-%{commit}.tar.bz2 +# informed upstream to put copyright and licensing details in source files +# http://projects.vdr-developer.org/issues/1679 +# Configuration files for plugin parameters. These are Fedora specific and not in upstream. +Source1: %{name}.conf +BuildRequires: freetype-devel +BuildRequires: ImageMagick-c++-devel +BuildRequires: vdr-devel >= 1.7.34 +Requires: vdr(abi)%{?_isa} = %{vdr_apiversion} + +%description +The VDR plugin "nOpacity" is a highly customizable native true color skin +for the Video Disc Recorder. + +%package data +Summary: Icons files for %{name} +Group: Applications/Multimedia +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description data +This package contains icons files. + +%prep +%setup -qn skin-nopacity-%{commit} +iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README + +%build +make CFLAGS="%{optflags}" %{?_smp_mflags} all + +%install +# make install would install the themes under /etc, let's not use that +make install-lib install-i18n install-icons DESTDIR=$RPM_BUILD_ROOT +# install the themes to the custom location used in Fedora +install -dm 755 $RPM_BUILD_ROOT%{vdr_vardir}/themes +install -dm 755 $RPM_BUILD_ROOT%{vdr_vardir}/plugins/skinnopacity/themeconfigs +install -pm 644 themes/*.theme $RPM_BUILD_ROOT%{vdr_vardir}/themes/ +install -pm 644 conf/theme-* $RPM_BUILD_ROOT%{vdr_vardir}/plugins/skinnopacity/themeconfigs/ + +# skinnopacity.conf +install -Dpm 644 %{SOURCE1} \ + %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/skinnopacity.conf + +%find_lang %{name} + +%files -f %{name}.lang +%doc COPYING HISTORY* README* +%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/skinnopacity.conf +%config(noreplace) %{vdr_vardir}/plugins/skinnopacity/themeconfigs/theme-*.conf +%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion} +%{vdr_vardir}/themes/nOpacity-*.theme + + +%files data +%{vdr_resdir}/plugins/skinnopacity/icons/ + +%changelog +* Wed Jan 15 2014 Martin Gansser - 1.0.3-5.20131221git0b29805 +- removed macro in changelog +- corrected license type to GPLv2+ +- installed themes and themeconfigs to the custom location used in Fedora +- added gitdate for fedora naming schema +- added tarball download instructions + +* Tue Jan 14 2014 Martin Gansser - 1.0.3-4.0b29805 +- used %%make_install instead of make install DESTDIR... +- using buildroot for consistency + +* Sun Jan 12 2014 Martin Gansser - 1.0.3-3.0b29805 +- removed additional icons install section + +* Sat Jan 11 2014 Martin Gansser - 1.0.3-2.0b29805 +- added themes and themeconfigs file +- added compiler flags in build section +- removed additional localization install section +- corrected path to README in skinnopacity.conf + +* Fri Jan 03 2014 Martin Gansser - 1.0.3-1.0b29805 +- rebuild for new release + +* Sat Dec 07 2013 Martin Gansser - 1.0.2pre1-1 +- rebuild for new git + +* Sun Dec 01 2013 Martin Gansser - 1.0.1-1 +- rebuild for new git + +* Sun Oct 27 2013 Martin Gansser - 0.9.0-1 +- rebuild for new git + +* Sat Oct 05 2013 Martin Gansser - 0.1.4-1 +- rebuild for new git + +* Sun May 05 2013 Martin Gansser - 0.1.1-1 +- rebuild for new git + +* Mon Apr 08 2013 Martin Gansser - 0.1.0-2 +- rebuild for new git + +* Sun Mar 31 2013 Martin Gansser - 0.1.0-1 +- Rebuild. +