File compiz-emerald.spec of Package compiz-emerald

#
# spec file for package compiz-emerald (Version 0.7.8 )
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           compiz-emerald
BuildRequires:  gcc-c++ gtk2-devel libwnck-devel perl-XML-Parser startup-notification-devel xorg-x11-devel
BuildRequires:  bzip2 compiz-devel compiz-gnome intltool update-desktop-files
Url:            http://opencompositing.org
License:        GPL v2 or later
Group:          System/X11/Utilities
PreReq:         %fillup_prereq
Requires:       compiz
Version:        0.7.8 
Release:        2
Provides:       compiz-decorator = 0.7.0
Provides:       emerald = %{version}
Provides:       emerald-compiz-git = %{version}
Obsoletes:      emerald-compiz-git <= %{version}
Obsoletes:      emerald <= %{version}
Summary:        Themeable window decorator for Compiz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         emerald-%{version}.tar.bz2
ExclusiveArch:  %ix86 x86_64 ppc ppc64 ia64

%description
Emerald is themeable window decorator for Compiz.



Authors:
--------
    The Compiz-Fusion community at www.opencompositing.org

%package devel
License:        GPL v2 or later
Summary:        Development files for compiz-emerald
Group:          System/X11/Utilities
Requires:       gcc-c++ gtk2-devel libwnck-devel mDNSResponder-lib perl-XML-Parser startup-notification-devel xorg-x11-devel %{name} = %{version}
AutoReqProv:    on

%description devel
Emerald is themeable window decorator for Compiz.

This package holds the development files for compiz-emerald.



Authors:
--------
    The Compiz-Fusion community at www.opencompositing.org

%prep
%setup -q -n emerald-%{version}

%build
#
####Emerald
#
%configure --disable-mime-update
make %{?jobs:-j%jobs}
%makeinstall

%install
%suse_update_desktop_file emerald-theme-manager DesktopSettings
%__install -d -m 755 %{buildroot}/var/adm/fillup-templates
find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
%find_lang emerald

%clean
%__rm -rf %{buildroot}

%post
update-mime-database %{_datadir}/mime &>/dev/null || :
/sbin/ldconfig

%postun
update-mime-database %{_datadir}/mime &>/dev/null || :
/sbin/ldconfig

%files -f emerald.lang
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/pixmaps/*
%dir %{_libdir}/emerald
%dir %{_datadir}/emerald
%{_libdir}/emerald/*
%{_libdir}/libemerald*
%{_datadir}/applications/*
%dir %{_datadir}/mime-info
%{_datadir}/mime-info/*
%{_datadir}/mime/packages/*
%dir %{_datadir}/icons/hicolor/48x48/mimetypes
%{_datadir}/icons/hicolor/48x48/mimetypes/*
%{_datadir}/emerald/*
%{_mandir}/man1/*

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*

%changelog
* Mon Dec 01 2008 ro@suse.de
- add ExclusiveArch
* Mon Sep 29 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Tue Sep 16 2008 cyberorg@opensuse.org
- Release 0.7.8
- translation updates
- Fix crash if decorations are removed while
  button fade is in progress.
* Tue Jul 01 2008 mhopf@suse.de
- Update from buildservice.
* Fri May 30 2008 cyberorg@opensuse.org
- update to version 0.7.6
  - translation updates
* Mon Apr 14 2008 mhopf@suse.de
- Update from buildservice.
* Thu Apr 03 2008 cyberorg@cyberorg.info
- 0.7.4 development release
- minor fixes
- translation updates
* Fri Mar 14 2008 aj@suse.de
- Fix specfile to not use %%version without version set.
* Fri Mar 07 2008 cyberorg@cyberorg.info
- 0.7.2 development release
* Fri Feb 08 2008 cyberorg@cyberorg.info
- sync to latest git
- Fix instant applying of theme
- Use new compiz atom names
* Tue Dec 04 2007 cyberorg@cyberorg.info
- sync to latest git
- Green default theme
* Mon Oct 15 2007 cyberorg@cyberorg.info
- Update to release 0.6.0
- Theme repository fix
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Sun Aug 26 2007 cyberorg@cyberorg.info
- Clean up spec
- Fixed all the LINGUA names
* Tue Aug 21 2007 cyberorg@cyberorg.info
- Add %%post and %%postun to run ldconfig- shut rpmlint up
* Sun Aug 12 2007 cyberorg@cyberorg.info
- Update to 0.5.2 release.
* Tue Aug 07 2007 aj@suse.de
- Fix filelist.
* Mon Aug 06 2007 dreveman@suse.de
- Use %%suse_update_desktop_file macro
* Mon Aug 06 2007 dreveman@suse.de
- Initial version of package
openSUSE Build Service is sponsored by