|
|
41e9a6a |
Name: dzen2
|
|
|
41e9a6a |
Version: 0.8.5
|
|
|
1f7c529 |
Release: 15.20100104svn%{?dist}
|
|
|
41e9a6a |
Summary: A general purpose messaging and notification program
|
|
|
41e9a6a |
|
|
|
41e9a6a |
Group: User Interface/X
|
|
|
41e9a6a |
License: MIT
|
|
|
41e9a6a |
URL: http://gotmor.googlepages.com/dzen
|
|
|
c7b4395 |
# created with dzen2-tarballl 20100-01-04
|
|
|
c7b4395 |
Source0: %{name}-%{version}-2010-01-04.tar.gz
|
|
|
c7b4395 |
#Source0: http://gotmor.googlepages.com/%{name}-latest.tar.gz
|
|
|
41e9a6a |
Source1: dzen2.1
|
|
|
41e9a6a |
Source2: dzen2-dbar.1
|
|
|
41e9a6a |
Source3: dzen2-gcpubar.1
|
|
|
41e9a6a |
Source4: dzen2-gdbar.1
|
|
|
41e9a6a |
Source5: dzen2-textwidth.1
|
|
|
c7b4395 |
# tarball generation script
|
|
|
c7b4395 |
Source10: dzen2-tarball
|
|
|
41e9a6a |
|
|
|
41e9a6a |
# 2007-12-26: sent to upstream via private e-mail, inclusion depends on usability
|
|
|
41e9a6a |
# for *BSD and Solaris
|
|
|
c7b4395 |
#Patch0: dzen2-0.8.5-check_environment.patch
|
|
|
41e9a6a |
# Not sent to upstream: removes strip and shows cc invocations, which seems not to
|
|
|
41e9a6a |
# be wanted by upstream
|
|
|
c7b4395 |
Patch1: dzen2-0.8.5-2010-01-04-verbose.patch
|
|
|
c7b4395 |
Patch2: dzen2-0.8.5-2010-01-04-fedora-config.patch
|
|
|
41e9a6a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
41e9a6a |
|
|
|
41e9a6a |
BuildRequires: libXpm-devel libXinerama-devel
|
|
|
beb47c6 |
# for /usr/include/X11/Xft/Xft.h
|
|
|
beb47c6 |
BuildRequires: libXft-devel
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%description
|
|
|
41e9a6a |
Dzen is a general purpose messaging, notification and menuing program for X11.
|
|
|
ed7a6e7 |
It was designed to be scriptable in any language and integrate well with window
|
|
|
ed7a6e7 |
managers like dwm, wmii and xmonad, though it will work with any windowmanger.
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%prep
|
|
|
c7b4395 |
%setup -q -n %{name}-%{version}-2010-01-04
|
|
|
c7b4395 |
#%patch0 -p1 -b .check_environment
|
|
|
41e9a6a |
%patch1 -p1 -b .verbose
|
|
|
c7b4395 |
%patch2 -p1 -b .fedora-config
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
203b86a |
%build
|
|
|
c7b4395 |
make %{?_smp_mflags} LIBDIR="%{_libdir}"
|
|
|
c7b4395 |
make -C gadgets %{?_smp_mflags} LIBDIR="%{_libdir}"
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%install
|
|
|
41e9a6a |
rm -rf $RPM_BUILD_ROOT
|
|
|
41e9a6a |
mkdir $RPM_BUILD_ROOT
|
|
|
41e9a6a |
export CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
c7b4395 |
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
|
|
41e9a6a |
make -C gadgets install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
|
|
41e9a6a |
for gadget in dbar gcpubar gdbar textwidth
|
|
|
41e9a6a |
do
|
|
|
41e9a6a |
mv $RPM_BUILD_ROOT%{_bindir}/{,dzen2-}"${gadget}"
|
|
|
41e9a6a |
done
|
|
|
41e9a6a |
|
|
|
41e9a6a |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
41e9a6a |
for manpage in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5}
|
|
|
41e9a6a |
do
|
|
|
41e9a6a |
install -m 0644 "${manpage}" $RPM_BUILD_ROOT%{_mandir}/man1/"${manpage##*/}"
|
|
|
41e9a6a |
done
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%clean
|
|
|
41e9a6a |
rm -rf $RPM_BUILD_ROOT
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%files
|
|
|
41e9a6a |
%defattr(-,root,root,-)
|
|
|
41e9a6a |
# There is no .desktop file, because the applications displays data received
|
|
|
41e9a6a |
# via stdin, e.g. from xmonad, a window manager
|
|
|
41e9a6a |
# This cannot be done using a .desktop file
|
|
|
41e9a6a |
%doc LICENSE CREDITS README README.dzen
|
|
|
41e9a6a |
%doc gadgets/README.*
|
|
|
41e9a6a |
%{_bindir}/dzen2
|
|
|
41e9a6a |
%{_bindir}/dzen2-dbar
|
|
|
41e9a6a |
%{_bindir}/dzen2-gcpubar
|
|
|
41e9a6a |
%{_bindir}/dzen2-gdbar
|
|
|
41e9a6a |
%{_bindir}/dzen2-textwidth
|
|
|
41e9a6a |
%{_mandir}/man1/dzen2.1*
|
|
|
41e9a6a |
%{_mandir}/man1/dzen2-dbar.1*
|
|
|
41e9a6a |
%{_mandir}/man1/dzen2-gcpubar.1*
|
|
|
41e9a6a |
%{_mandir}/man1/dzen2-gdbar.1*
|
|
|
41e9a6a |
%{_mandir}/man1/dzen2-textwidth.1*
|
|
|
41e9a6a |
|
|
|
41e9a6a |
|
|
|
41e9a6a |
%changelog
|
|
|
1f7c529 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-15.20100104svn
|
|
|
1f7c529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
1f7c529 |
|
|
|
bd53e97 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-14.20100104svn
|
|
|
bd53e97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bd53e97 |
|
|
|
1329cc3 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-13.20100104svn
|
|
|
1329cc3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1329cc3 |
|
|
|
1e77cbd |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-12.20100104svn
|
|
|
1e77cbd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1e77cbd |
|
|
|
32bd50f |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-11.20100104svn
|
|
|
32bd50f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
32bd50f |
|
|
|
df38f32 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-10.20100104svn
|
|
|
df38f32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
df38f32 |
|
|
|
203b86a |
* Mon Feb 28 2011 Till Maas <opensource@till.name> - 0.8.5-9.20100104svn
|
|
|
203b86a |
- Re-add incorrectly removed %%build section (Red Hat Bug 680994)
|
|
|
203b86a |
|
|
|
e157b98 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-8.20100104svn
|
|
|
e157b98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e157b98 |
|
|
|
c7b4395 |
* Mon Jan 04 2010 Till Maas <opensource@till.name> - 0.8.5-7.20100104svn
|
|
|
c7b4395 |
- Update to svn snapshot to support Xft and docking RedHat Bugzilla #552386
|
|
|
c7b4395 |
|
|
|
ed7a6e7 |
* Wed Sep 16 2009 Till Maas <opensource@till.name> - 0.8.5-6
|
|
|
1234797 |
- Fix some typos in %%description
|
|
|
ed7a6e7 |
|
|
|
41e9a6a |
* Thu Aug 27 2009 Till Maas <opensource@till.name> - 0.8.5-5
|
|
|
41e9a6a |
- Remove uneeded PREFIX= argument to make in %%build
|
|
|
41e9a6a |
|
|
|
41e9a6a |
* Wed Aug 26 2009 Till Maas <opensource@till.name> - 0.8.5-4
|
|
|
41e9a6a |
- export LDFLAGS
|
|
|
41e9a6a |
- explain missing .desktop file
|
|
|
41e9a6a |
|
|
|
41e9a6a |
* Tue Aug 25 2009 Till Maas <opensource@till.name> - 0.8.5-3
|
|
|
41e9a6a |
- use make -C instead of pushd/popd
|
|
|
41e9a6a |
- add manpages from debian
|
|
|
41e9a6a |
- prefix gadgets with dzen2 like debian does it
|
|
|
41e9a6a |
|
|
|
41e9a6a |
* Tue Mar 31 2009 Till Maas <opensource@till.name> - 0.8.5-2
|
|
|
41e9a6a |
- Add description
|
|
|
41e9a6a |
|
|
|
41e9a6a |
* Sat Nov 01 2008 Till Maas <opensource@till.name> - 0.8.5-1
|
|
|
41e9a6a |
- Initial package for Fedora
|