rpms/constantine-backgrounds/devel constantine-mosaico-metadata.desktop, NONE, 1.1 constantine-underwater-mosaic-metadata.desktop, NONE, 1.1 constantine-backgrounds.spec, 1.1, 1.2

Rex Dieter rdieter at fedoraproject.org
Tue Aug 11 20:52:47 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/constantine-backgrounds/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14288

Modified Files:
	constantine-backgrounds.spec 
Added Files:
	constantine-mosaico-metadata.desktop 
	constantine-underwater-mosaic-metadata.desktop 
Log Message:
* Tue Aug 11 2009 Rex Dieter <rdieter at fedoraproject.org> - 11.90.1-2
- -kde subpkg, CamelCase themes (with feeling)



--- NEW FILE constantine-mosaico-metadata.desktop ---
[Desktop Entry]
Name=Constantine Mosaico
X-KDE-PluginInfo-Name=Constantine_Mosaico
X-KDE-PluginInfo-Author=Fedora Project
X-KDE-PluginInfo-Email=fedora-kde at lists.fedoraproject.org
X-KDE-PluginInfo-License=CC-BY-SA


--- NEW FILE constantine-underwater-mosaic-metadata.desktop ---
[Desktop Entry]
Name=Constantine Underwater Mosaic
X-KDE-PluginInfo-Name=Constantine_Underwater_Mosaic
X-KDE-PluginInfo-Author=Fedora Project
X-KDE-PluginInfo-Email=fedora-kde at lists.fedoraproject.org
X-KDE-PluginInfo-License=CC-BY-SA


Index: constantine-backgrounds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/constantine-backgrounds/devel/constantine-backgrounds.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- constantine-backgrounds.spec	4 Aug 2009 22:37:09 -0000	1.1
+++ constantine-backgrounds.spec	11 Aug 2009 20:52:46 -0000	1.2
@@ -1,16 +1,23 @@
 Name:           constantine-backgrounds
 Version:        11.90.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Constantine desktop backgrounds
 
 Group:          Applications/Multimedia
 License:        CC-BY-SA
 URL:            https://fedoraproject.org/wiki/F12_Artwork
 Source0:        https://fedorahosted.org/releases/f/e/fedora-design/%{name}-%{version}.tar.lzma
+# include these here for now, will get into contstantine-backgrounds
+# upstream asap.
+Source1:        constantine-mosaico-metadata.desktop
+Source2:        constantine-underwater-mosaic-metadata.desktop
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
+# for %%_kde4_* macros
+BuildRequires:	kde-filesystem
+
 %description
 This package contains desktop backgrounds for the Constantine theme.
 
@@ -21,6 +28,26 @@ Group:          Applications/Multimedia
 %description    extras
 This package contains aditional desktop backgrounds for the Constantine theme.
 
+%package        kde 
+Summary:        Constantine Wallpapers for KDE 
+Group:          Applications/Multimedia
+Obsoletes:      constantine-kde-theme <= 11.90.0
+Requires:       %{name} = %{version}-%{release} 
+Requires:       kde-filesystem
+
+%description    kde 
+This package contains KDE desktop wallpapers for the Constantine theme.
+
+
+## FIXME/TODO
+%package        extras-kde
+Summary:        Extra Constantine Wallpapers for KDE 
+Group:          Applications/Multimedia
+
+%description    extras-kde
+This package contains aditional KDE desktop wallpapers for the Constantine theme.
+
+
 
 %prep
 %setup -q
@@ -31,26 +58,93 @@ This package contains aditional desktop 
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 # prepare the dir structure
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/default
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/default/standard
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/default/wide
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/extras
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/extras/standard
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine/extras/wide
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/gnome-background-properties
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/backgrounds/constantine
 
 # copy the images and xml files
-cp -a $RPM_BUILD_DIR/%{name}-%{version}/default \
-        $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine
-cp -a $RPM_BUILD_DIR/%{name}-%{version}/extras \
-        $RPM_BUILD_ROOT/%{_datadir}/backgrounds/constantine
+cp -a default \
+        $RPM_BUILD_ROOT%{_datadir}/backgrounds/constantine/
+cp -a extras \
+        $RPM_BUILD_ROOT%{_datadir}/backgrounds/constantine/
         
 # copy metadata xml files
-cp -a $RPM_BUILD_DIR/%{name}-%{version}/desktop-backgrounds-constantine.xml \
-        $RPM_BUILD_ROOT/%{_datadir}/gnome-background-properties
-cp -a $RPM_BUILD_DIR/%{name}-%{version}/desktop-backgrounds-constantine-extras.xml \
-        $RPM_BUILD_ROOT/%{_datadir}/gnome-background-properties
+install -p -m644 -D desktop-backgrounds-constantine.xml \
+        $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/desktop-backgrounds-constantine.xml
+install -p -m644 -D desktop-backgrounds-constantine-extras.xml \
+        $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/desktop-backgrounds-constantine-extras.xml
+
+## KDE bits
+# constantine-mosaico
+mkdir -p $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Mosaico/contents/images
+install -p -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Mosaico/metadata.desktop
+(cd $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Mosaico/contents/images
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 640x480.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 800x480.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 800x600.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1024x600.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1024x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1152x720.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1152x864.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1200x900.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1280x720.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1280x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1280x800.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1280x960.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1280x1024.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1366x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1440x900.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1440x1080.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1600x1200.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1600x1280.png
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1680x1050.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1920x1080.png
+ln -s ../../../../backgrounds/constantine/default/wide/mosaico.png 1920x1200.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 1920x1440.png
+ln -s ../../../../backgrounds/constantine/default/standard/mosaico.png 2048x1536.png
+)
+
+# constantine-underwater-mosaic
+mkdir -p $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Underwater_Mosaic/contents/images
+install -p -D -m644 %{SOURCE2} \
+  $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Underwater_Mosaic/metadata.desktop
+(cd $RPM_BUILD_ROOT%{_kde4_datadir}/wallpapers/Constantine_Underwater_Mosaic/contents/images
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 640x480.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 800x480.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 800x600.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1024x600.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1024x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1152x720.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1152x864.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1200x900.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1280x720.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1280x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1280x800.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1280x960.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1280x1024.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1366x768.png
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1440x900.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1440x1080.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1600x1200.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1600x1280.png
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1680x1050.png
+# That one's not really 8:5, but it's the closest...
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1920x1080.png
+ln -s ../../../../backgrounds/constantine/default/wide/underwater-mosaic.png 1920x1200.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 1920x1440.png
+ln -s ../../../../backgrounds/constantine/default/standard/underwater-mosaic.png 2048x1536.png
+)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,8 +164,19 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/backgrounds/constantine/extras
 %{_datadir}/gnome-background-properties/desktop-backgrounds-constantine-extras.xml
 
+%files kde
+%defattr(-,root,root,-)
+%{_kde4_datadir}/wallpapers/Constantine_Mosaico/
+%{_kde4_datadir}/wallpapers/Constantine_Underwater_Mosaic/
+
+#files extras-kde
+#defattr(-,root,root,-)
+
 
 %changelog
+* Tue Aug 11 2009 Rex Dieter <rdieter at fedoraproject.org> - 11.90.1-2
+- -kde subpkg, CamelCase themes (with feeling)
+
 * Wed Aug 05 2009 Martin Sourada <mso at fedoraproject.org> - 11.90.1-1
 - Move Constantin Statue from extras to default per frequent requests
 




More information about the fedora-extras-commits mailing list