56bcf1c
Name:           emerald
Leigh Scott 08975cb
URL:            http://www.compiz-fusion.org/
3fd2634
License:        GPLv2
56bcf1c
Group:          User Interface/Desktops
Nikolay Vladimirov d1c3c16
Version:        0.8.4
384bd91
Release:        7%{?dist}
56bcf1c
3fd2634
Summary:        Themeable window decorator and compositing manager for Compiz Fusion
56bcf1c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3fd2634
Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
Leigh Scott 6318f8a
Patch0:         DSO.patch
Leigh Scott 6318f8a
Patch1:         gtk.patch
384bd91
Patch2:         05_build_without_gtk_disable_deprecated.patch
384bd91
Patch3:         emerald-1d92f64287cded4310c49d7ac64064f75f348506.patch
56bcf1c
Nikolay Vladimirov 187df2b
# compiz-devel is not available on these arches
2e5dbc7
ExcludeArch:    s390 s390x
56bcf1c
3fd2634
Requires:       compiz >= %{version}
56bcf1c
3fd2634
BuildRequires:  compiz-devel >= %{version}
Nikolay Vladimirov 5f2fe95
BuildRequires:  gtk+-devel
Nikolay Vladimirov 5f2fe95
BuildRequires:  libwnck-devel
Nikolay Vladimirov 5f2fe95
BuildRequires:  gtk2-devel
Nikolay Vladimirov 5f2fe95
BuildRequires:  intltool 
Nikolay Vladimirov 5f2fe95
BuildRequires:  desktop-file-utils
Nikolay Vladimirov 5f2fe95
BuildRequires:  perl(XML::Parser) 
Nikolay Vladimirov 5f2fe95
BuildRequires:  gettext-devel
Nikolay Vladimirov 5a811c3
BuildRequires:  libXres-devel
56bcf1c
56bcf1c
56bcf1c
%description
3fd2634
Emerald is themeable window decorator and compositing
3fd2634
manager for Compiz.
56bcf1c
56bcf1c
56bcf1c
%package devel
56bcf1c
Summary: Development files for emerald
56bcf1c
Group: Development/Libraries
56bcf1c
Requires: %{name} = %{version}-%{release}
56bcf1c
Requires: pkgconfig
56bcf1c
56bcf1c
%description devel
56bcf1c
The emerald-devel package provides development files
3fd2634
for emerald, the themeable window decorator for Compiz.
56bcf1c
56bcf1c
56bcf1c
%prep
56bcf1c
%setup -q
Leigh Scott 6318f8a
%patch0 -p1 -b .DSO
Leigh Scott 6318f8a
%patch1 -p1 -b .gtk
384bd91
%patch2 -p1 -b .05_build_without_gtk_disable_deprecated
384bd91
%patch3 -p1 -b .emerald-1d92f64287cded4310c49d7ac64064f75f348506
56bcf1c
56bcf1c
%build
56bcf1c
%configure --enable-librsvg --disable-mime-update
Nikolay Vladimirov 8afc0c0
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Nikolay Vladimirov 8afc0c0
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
56bcf1c
make %{?_smp_mflags}
56bcf1c
56bcf1c
56bcf1c
%install
56bcf1c
rm -rf $RPM_BUILD_ROOT
56bcf1c
make DESTDIR=$RPM_BUILD_ROOT install
56bcf1c
find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
56bcf1c
desktop-file-install --vendor fedora --delete-original \
56bcf1c
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
56bcf1c
  --add-category X-Fedora \
56bcf1c
  $RPM_BUILD_ROOT%{_datadir}/applications/emerald-theme-manager.desktop
56bcf1c
%find_lang %{name}
56bcf1c
56bcf1c
56bcf1c
%clean
56bcf1c
rm -rf $RPM_BUILD_ROOT
56bcf1c
56bcf1c
56bcf1c
%post
56bcf1c
/sbin/ldconfig
56bcf1c
update-mime-database %{_datadir}/mime &>/dev/null || :
56bcf1c
update-desktop-database %{_datadir}/applications &> /dev/null || :
56bcf1c
56bcf1c
%postun
56bcf1c
/sbin/ldconfig
56bcf1c
update-mime-database %{_datadir}/mime &>/dev/null || :
56bcf1c
update-desktop-database %{_datadir}/applications &> /dev/null || :
56bcf1c
56bcf1c
%files -f %{name}.lang
56bcf1c
%defattr(-,root,root,-)
56bcf1c
%doc COPYING
56bcf1c
%{_bindir}/*
56bcf1c
%{_datadir}/pixmaps/*
56bcf1c
%dir %{_libdir}/emerald
56bcf1c
%{_libdir}/emerald/*
56bcf1c
%{_libdir}/libemeraldengine.so.*
56bcf1c
%dir %{_datadir}/emerald
56bcf1c
%dir %{_datadir}/emerald/theme
56bcf1c
%{_datadir}/emerald/theme/*
56bcf1c
%{_datadir}/emerald/settings.ini
56bcf1c
%{_datadir}/applications/*
56bcf1c
%{_datadir}/mime-info/*
56bcf1c
%{_datadir}/mime/packages/*
56bcf1c
%{_datadir}/icons/hicolor/48x48/mimetypes/*
56bcf1c
%{_mandir}/man1/*.1*
56bcf1c
56bcf1c
%files devel
56bcf1c
%defattr(-,root,root,-)
56bcf1c
%{_includedir}/*
56bcf1c
%{_libdir}/pkgconfig/*.pc
56bcf1c
%{_libdir}/libemeraldengine.so
56bcf1c
56bcf1c
%changelog
384bd91
* Sun Nov 14 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-7
384bd91
- apply more upstream gtk deprecated fixes
384bd91
384bd91
* Fri Sep 10 2010 leigh scott <leigh123linux@googlemail.com> - 0.8.4-6
384bd91
- revert last commit
384bd91
384bd91
* Fri Sep 10 2010 leigh scott <leigh123linux@googlemail.com> - 0.8.4-5
384bd91
- add upstream patch to hopefully fix 
384bd91
Leigh Scott 08975cb
* Sun May 16 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-4
384bd91
- apply the upstream gtk deprecated fixes
Leigh Scott 08975cb
Leigh Scott 6318f8a
* Thu Feb 18 2010 Leigh Scott <leigh123linux@googlemail.com> - 0.8.4-3
Leigh Scott 6318f8a
- fix DSO link problem
Leigh Scott 6318f8a
- fix gtk deprecated error
Leigh Scott 6318f8a
Nikolay Vladimirov 5f2fe95
* Sun Jan 17 2010 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.8.4-2
Nikolay Vladimirov 5f2fe95
- add build requires for gtk+
Nikolay Vladimirov 5f2fe95
Nikolay Vladimirov d1c3c16
* Sun Jan 17 2010 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.8.4-1
Nikolay Vladimirov d1c3c16
- new upstream release
Nikolay Vladimirov d1c3c16
78c3b86
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
78c3b86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
78c3b86
Nikolay Vladimirov 5a811c3
* Sat Jun 20 2009 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.8.2-1
Nikolay Vladimirov 5a811c3
- New upstream
Nikolay Vladimirov 5a811c3
- Added build requires for libXres-devel( BZ#496969)
Nikolay Vladimirov 5a811c3
8b20ac9
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.8-2
8b20ac9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8b20ac9
Nikolay Vladimirov 3ae0dad
* Thu Jan 1 2009 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.7.8-1
Nikolay Vladimirov 3ae0dad
- Minor bugfixes
Nikolay Vladimirov 3ae0dad
- L10N updates
Nikolay Vladimirov 3ae0dad
- Droping .desktop file patch ( now upsteam ) 
Nikolay Vladimirov 3ae0dad
Nikolay Vladimirov 3ae0dad
* Tue Jul 15 2008 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.7.6-2
Nikolay Vladimirov 187df2b
- rebuild for ppc64
Nikolay Vladimirov 187df2b
Nikolay Vladimirov 8afc0c0
* Fri Jul 11 2008 Nikolay Vladimirov <nikolay@vladimiroff.com> - 0.7.6-1
Nikolay Vladimirov 8afc0c0
- new upstream release
Nikolay Vladimirov 8afc0c0
- removed gcc43 patch(upstream)
Nikolay Vladimirov 8afc0c0
- added .desktop file patch(fixes bz 286141)
Nikolay Vladimirov 8afc0c0
- spec file clean up
Nikolay Vladimirov 8afc0c0
4eb1816
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.2-4
4eb1816
- Autorebuild for GCC 4.3
4eb1816
dfebbc9
* Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-3
dfebbc9
- Fix gcc43 build
dfebbc9
5e6e1c2
* Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-2
5e6e1c2
- Disable ppc64 build (no compiz-devel.ppc64)
5e6e1c2
3fd2634
* Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-1
3fd2634
- New upstream release
3fd2634
- Should work with latest compiz bits in Fedora
3fd2634
b961a61
* Mon Jun 11 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-2
b961a61
- Fix up build against latest libwnck
b961a61
2e5dbc7
* Mon Jun 04 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-1
2e5dbc7
- beryl 0.2.1
2e5dbc7
2e5dbc7
* Thu Mar 15 2007 Jarod Wilson <jwilson@redhat.com> 0.2.0-1
81f4e04
- beryl 0.2.0
81f4e04
766c320
* Tue Feb 20 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.2-1
766c320
- beryl 0.1.9999.2 (aka 0.2.0-rc2)
766c320
4efea6e
* Mon Feb 05 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.1-1
4efea6e
- beryl 0.1.9999.1 (aka 0.2.0-rc1)
4efea6e
445bbb6
* Mon Jan 29 2007 Jarod Wilson <jwilson@redhat.com> 0.1.99.2-1
445bbb6
- New upstream release
445bbb6
8c8f513
* Tue Jan 02 2007 Jarod Wilson <jwilson@redhat.com> 0.1.4-1
8c8f513
- New upstream release
8c8f513
bfd2ab6
* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-2
bfd2ab6
- Add necessary BR for freshly-added translations
bfd2ab6
b840b35
* Tue Dec 12 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-1
b840b35
- New upstream release
b840b35
b840b35
* Thu Nov 16 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-4
b840b35
- Trim BR:
b840b35
56bcf1c
* Wed Nov 15 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-3
56bcf1c
- Kill rpaths
56bcf1c
56bcf1c
* Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-2
56bcf1c
- Use upstream tarball, now that there is one
56bcf1c
56bcf1c
* Fri Nov 10 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-1
56bcf1c
- New upstream release
56bcf1c
56bcf1c
* Tue Oct 31 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-2
56bcf1c
- Add missing BR: libtool, gettext-devel, libwnck-devel,
56bcf1c
  libXdamage, libXcomposite
56bcf1c
56bcf1c
* Thu Oct 26 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-1
56bcf1c
- New upstream release
56bcf1c
- Require beryl-core of at least the same version
56bcf1c
- Move autoreconf bits to prep section
56bcf1c
56bcf1c
* Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-3
56bcf1c
- Really fix the duplicate menu entries this time
56bcf1c
56bcf1c
* Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-2
56bcf1c
- Fix duplicate menu entries
56bcf1c
56bcf1c
* Tue Oct 03 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-1
56bcf1c
- Initial Fedora build