conky/conky.spec

281 lines
9.6 KiB
RPMSpec
Raw Normal View History

2014-12-16 13:56:40 +00:00
%global gitdate 20141003
%global gitrev 30d09e
2013-04-09 10:05:50 +00:00
2009-06-17 11:56:56 +00:00
%bcond_without alsa
2014-04-24 12:37:39 +00:00
%bcond_with audacious
%bcond_without curl
2013-10-29 17:30:59 +00:00
%bcond_without ibm
2010-04-14 15:10:44 +00:00
%bcond_without imlib
2009-06-17 11:56:56 +00:00
%bcond_without lua
2009-08-25 14:28:32 +00:00
%bcond_without lua_cairo
2010-04-14 15:10:44 +00:00
%bcond_without lua_imlib
2009-05-11 16:42:06 +00:00
%bcond_with moc
2007-11-27 11:14:34 +00:00
%bcond_without mpd
2010-04-01 16:36:37 +00:00
%bcond_with ncurses
%bcond_with nvidia
2007-11-27 11:14:34 +00:00
%bcond_without rss
2013-10-29 17:26:14 +00:00
%bcond_without weather
%bcond_without weather_xoap
2007-11-27 11:14:34 +00:00
%bcond_without wlan
Name: conky
2012-05-07 14:02:12 +00:00
Version: 1.9.0
Release: 14.%{gitdate}git%{gitrev}%{?dist}
Summary: A system monitor for X
Group: User Interface/X
License: GPLv3+
URL: http://conky.sf.net/
2013-10-29 17:17:58 +00:00
# git clone git://github.com/brndnmtthws/conky.git; cd conky
2013-04-09 10:05:50 +00:00
# git archive --prefix=conky/ %{gitrev} | xz > %{name}-%{version}-%{gitdate}git%{gitrev}.tar.xz
Source0: %{name}-%{version}-%{gitdate}git%{gitrev}.tar.xz
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: libXft-devel
BuildRequires: libXt-devel
BuildRequires: libXdamage-devel
BuildRequires: libXext-devel
2009-06-17 11:56:56 +00:00
%{?with_alsa:BuildRequires: alsa-lib-devel}
2014-04-24 12:37:39 +00:00
%{?with_audacious:BuildRequires: audacious-devel < 3.5 dbus-glib-devel}
%{?with_curl:BuildRequires: curl-devel}
2009-06-17 11:56:56 +00:00
%{?with_imlib:BuildRequires: imlib2-devel}
2014-12-16 13:26:18 +00:00
%{?with_lua:BuildRequires: lua-devel}
# tolua++ switched to lua-5.2 in 1.0.93-14
%{?with_lua_cairo:BuildRequires: cairo-devel tolua++-devel > 1.0.93-14}
%{?with_lua_imlib:BuildRequires: imlib2-devel tolua++-devel > 1.0.93-14}
2010-04-01 16:36:37 +00:00
%{?with_ncurses:BuildRequires: ncurses-devel}
2013-10-29 17:30:59 +00:00
%{?with_nvidia:BuildRequires: libXNVCtrl-devel}
%{?with_rss:BuildRequires: curl-devel libxml2-devel}
2013-10-29 17:26:14 +00:00
%{?with_weather:BuildRequires: curl-devel}
%{?with_weather_xoap:BuildRequires: libxml2-devel}
%{?with_wlan:BuildRequires: wireless-tools-devel}
2013-04-09 10:05:50 +00:00
# needed to generate documentation in the git snapshot
BuildRequires: libtool docbook2X docbook-style-xsl man
%description
A system monitor for X originally based on the torsmo code. but more kickass.
It just keeps on given'er. Yeah.
%prep
2013-04-09 10:05:50 +00:00
%setup -q -n %{name}
2014-12-16 13:26:18 +00:00
# build with lua-5.2
sed -i 's|lua == 5.1|lua >= 5.2|' configure.ac.in
2009-05-11 16:42:06 +00:00
for i in AUTHORS; do
iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,}
done
%build
2013-04-09 10:05:50 +00:00
# needed also to use recent config.guess and config.sub for aarch64
./autogen.sh
%configure \
2009-06-17 11:56:56 +00:00
%{!?with_alsa: --disable-alsa} \
%{?with_audacious: --enable-audacious=yes} \
%{?with_curl: --enable-curl} \
2013-10-29 17:30:59 +00:00
%{?with_ibm: --enable-ibm} \
2009-06-17 11:56:56 +00:00
%{?with_imlib: --enable-imlib2} \
%{!?with_lua: --disable-lua} \
2009-08-25 14:28:32 +00:00
%{?with_lua_cairo: --enable-lua-cairo} \
%{?with_lua_imlib: --enable-lua-imlib2} \
2009-05-11 16:42:06 +00:00
%{!?with_moc: --disable-moc} \
%{!?with_mpd: --disable-mpd} \
2010-04-01 16:36:37 +00:00
%{!?with_ncurses: --disable-ncurses} \
2013-10-29 17:30:59 +00:00
%{?with_nvidia: --enable-nvidia} \
%{?with_rss: --enable-rss} \
2013-10-29 17:26:14 +00:00
%{?with_weather: --enable-weather-metar} \
%{?with_weather_xoap: --enable-weather-xoap} \
%{?with_wlan: --enable-wlan} \
;
2010-04-21 17:03:42 +00:00
# don't use rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
2009-08-25 14:28:32 +00:00
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conky/conky_no_x11.conf
rm -f $RPM_BUILD_ROOT%{_libdir}/conky/*.{la,a}
%files
2009-05-11 16:42:06 +00:00
%doc AUTHORS ChangeLog COPYING TODO README NEWS extras/* doc/docs.html
2007-11-27 11:14:34 +00:00
%dir %{_sysconfdir}/conky
%config %{_sysconfdir}/conky/conky.conf
%{_bindir}/conky
2009-08-25 14:28:32 +00:00
%if %{with lua_cairo} || %{with lua_imlib}
%{_libdir}/conky
%endif
%{_mandir}/man1/conky.1*
%changelog
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-14.20141003git30d09e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2014-12-16 13:58:01 +00:00
* Tue Dec 16 2014 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-13.20141003git30d09e
- update to 20141003git30d09e
- build with lua-5.2 for new tolua++
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-12.20140617gitab826d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-09 12:18:25 +00:00
* Wed Jul 09 2014 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-11.20140617gitab826d
- build with lua-5.1 (#1117120)
2014-06-23 12:36:13 +00:00
* Mon Jun 23 2014 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-10.20140617gitab826d
- update to 20140617gitab826d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-9.20131027git11a13d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-04-24 12:41:01 +00:00
* Thu Apr 24 2014 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-8.20131027git11a13d
- disable audacious support (#1090655)
2013-10-29 17:32:49 +00:00
* Tue Oct 29 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-7.20131027git11a13d
- update to 20131027git11a13d
- enable weather support (#1024089)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-6.20121101gitbfaa84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-14 17:30:08 +00:00
* Tue May 14 2013 Tom Callaway <spot@fedoraproject.org> - 1.9.0-5.20121101gitbfaa84
- rebuild for lua 5.2
2013-04-09 10:09:31 +00:00
* Tue Apr 09 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-4.20121101gitbfaa84
- update to 20121101gitbfaa84
- remove obsolete macros
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-05-07 14:02:12 +00:00
* Mon May 07 2012 Miroslav Lichvar <mlichvar@redhat.com> - 1.9.0-1
- update to 1.9.0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Dec 24 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.8.1-4
- Rebuild as needed for 1.8.1-3 and latest Audacious library deps.
- Fix rebuild failure on Rawhide (no <curl/types.h>).
2011-12-06 03:50:32 +00:00
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.8.1-3
- Rebuild for new libpng
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-10-06 13:39:19 +00:00
* Wed Oct 06 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.8.1-1
- update to 1.8.1
2010-04-21 17:03:42 +00:00
* Wed Apr 21 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.8.0-4
- remove rpath
2010-04-14 15:10:44 +00:00
* Wed Apr 14 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.8.0-3
- enable imlib support (#581986)
* Thu Apr 01 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.8.0-2
2010-04-01 16:36:37 +00:00
- update to 1.8.0
* Mon Feb 15 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.7.2-2
- fix building with new audacious (#556317)
2009-08-25 14:28:32 +00:00
* Tue Aug 25 2009 Miroslav Lichvar <mlichvar@redhat.com> - 1.7.2-1
- Update to 1.7.2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jul 20 2009 Miroslav Lichvar <mlichvar@redhat.com> - 1.7.1.1-2
- Rebuild for new audacious
- Buildrequire libxml2-devel
2009-06-17 11:56:56 +00:00
* Wed Jun 17 2009 Miroslav Lichvar <mlichvar@redhat.com> - 1.7.1.1-1
- Update to 1.7.1.1
2009-05-11 16:42:06 +00:00
* Mon May 11 2009 Miroslav Lichvar <mlichvar@redhat.com> - 1.7.0-1
- Update to 1.7.0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Aug 26 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.6.1-1
2008-08-14 17:53:59 +00:00
- Update to 1.6.1
- Fix buffer overflow when reading interface addresses
2008-08-14 17:53:59 +00:00
* Tue Jul 22 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.6.0-1
- Update to 1.6.0
- Fix freq_dyn on x86_64
2008-04-01 10:30:19 +00:00
* Tue Apr 01 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.5.1-1
- Update to 1.5.1
* Sun Mar 23 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.5.0-1
- Update to 1.5.0
- Convert doc files to UTF-8
2008-02-19 02:41:57 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.9-2
- Autorebuild for GCC 4.3
2007-11-27 11:14:34 +00:00
* Tue Nov 27 2007 Miroslav Lichvar <mlichvar@redhat.com> - 1.4.9-1
- Update to 1.4.9
2007-11-27 11:40:26 +00:00
- Enable support for Audacious 1.4.0
2007-11-27 11:14:34 +00:00
* Sun Oct 21 2007 Miroslav Lichvar <mlichvar@redhat.com> - 1.4.8-1
- Update to 1.4.8
- Enable mpd, rss and wireless support
- Update license tag
* Wed Apr 18 2007 Michael Rice <errr[AT]errr-online.com> - 1.4.5-4
- Rebuild to match audacious lib in fc6 bug: 236989
2007-04-09 23:57:13 +00:00
* Mon Apr 09 2007 Michael Rice <errr[AT]errr-online.com> - 1.4.5-3
- Rebuild for devel
* Thu Dec 14 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.5-2
- Ship NEWS
- Add patch for license of timed_thread and NEWS
* Tue Dec 12 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.5-1
- version bump
- change group
* Wed Dec 06 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.4-3
- rebuild for new audacious lib version
* Thu Nov 30 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.4-2
- Move nano and vim files into docs
- remove unneeded BR's
* Tue Nov 21 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.4-1
- Version bump
- Add vim and nano syntax files to package
* Thu Oct 05 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.3-1
- Version bump
- Remove Install file from docs
* Mon Oct 02 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.2-4
- moved to configure macro from ./configure
- clean up changelog and make more informative entrys
- Fixed sumary in spec file
- remove NEWS file since it was empty
- remove xmms support due to possible security issue
- remove bmp support due to possible security issue
- add missing BR for libXext-devel and remove unneeded libX11-devel
* Thu Sep 28 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.2-3
- use the GPL as licence since the whole package is GPL
* Thu Sep 28 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.2-2
- remove unneeded deps
* Tue Sep 26 2006 Michael Rice <errr[AT]errr-online.com> - 1.4.2-1
- Initial RPM release