summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLink Dupont <link@sub-pop.net>2016-11-10 22:30:41 -0800
committerLink Dupont <link@sub-pop.net>2016-11-11 20:28:27 -0800
commit814125d0d34d5245f8e972d2e412298130afa7d0 (patch)
tree7e2605c54d747f6fc3e1d88363dd5f5d4d2c3934
downloadbudgie-desktop-814125d0d34d5245f8e972d2e412298130afa7d0.zip
budgie-desktop-814125d0d34d5245f8e972d2e412298130afa7d0.tar.gz
budgie-desktop-814125d0d34d5245f8e972d2e412298130afa7d0.tar.xz
Initial package
-rw-r--r--.gitignore1
-rw-r--r--budgie-desktop-10.2.8-dynamic-pkgconfig-paths.patch17
-rw-r--r--budgie-desktop-10.2.8-fix-desktop-specifications.patch60
-rw-r--r--budgie-desktop.spec135
-rw-r--r--sources1
5 files changed, 214 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6fa4cb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/budgie-desktop-10.2.8.tar.xz
diff --git a/budgie-desktop-10.2.8-dynamic-pkgconfig-paths.patch b/budgie-desktop-10.2.8-dynamic-pkgconfig-paths.patch
new file mode 100644
index 0000000..c17f8e9
--- /dev/null
+++ b/budgie-desktop-10.2.8-dynamic-pkgconfig-paths.patch
@@ -0,0 +1,17 @@
+diff -up ./plugin/budgie-1.0.pc.in.orig ./plugin/budgie-1.0.pc.in
+--- ./plugin/budgie-1.0.pc.in.orig 2016-10-18 19:36:11.000000000 -0700
++++ ./plugin/budgie-1.0.pc.in 2016-11-11 20:05:09.155401938 -0800
+@@ -1,8 +1,8 @@
+-prefix=/usr
+-exec_prefix=/usr
+-libdir=${exec_prefix}/lib
+-includedir=${prefix}/include
+-datarootdir=${prefix}/share
++prefix=@prefix@
++exec_prefix=@prefix@
++libdir=@libdir@
++includedir=@includedir@
++datarootdir=@datarootdir@
+
+ Name: Budgie
+ Description: Budgie Plugin Library
diff --git a/budgie-desktop-10.2.8-fix-desktop-specifications.patch b/budgie-desktop-10.2.8-fix-desktop-specifications.patch
new file mode 100644
index 0000000..44b1e2d
--- /dev/null
+++ b/budgie-desktop-10.2.8-fix-desktop-specifications.patch
@@ -0,0 +1,60 @@
+diff -up ./daemon/budgie-daemon.desktop.in.in.orig ./daemon/budgie-daemon.desktop.in.in
+--- ./daemon/budgie-daemon.desktop.in.in.orig 2016-11-10 22:49:54.979777650 -0800
++++ ./daemon/budgie-daemon.desktop.in.in 2016-11-10 22:50:11.739684750 -0800
+@@ -10,4 +10,4 @@ StartupNotify=true
+ X-GNOME-AutoRestart=true
+ X-GNOME-Autostart-Notify=true
+ X-GNOME-Autostart-Phase=Desktop
+-OnlyShowIn=Budgie
++OnlyShowIn=X-Budgie
+diff -up ./panel/budgie-panel.desktop.in.in.orig ./panel/budgie-panel.desktop.in.in
+--- ./panel/budgie-panel.desktop.in.in.orig 2016-11-10 22:48:52.712122799 -0800
++++ ./panel/budgie-panel.desktop.in.in 2016-11-10 22:49:02.474068689 -0800
+@@ -11,4 +11,4 @@ X-GNOME-AutoRestart=false
+ X-GNOME-Autostart-Notify=true
+ X-GNOME-Autostart-Phase=Panel
+ X-GNOME-Provides=panel
+-OnlyShowIn=Budgie;
++OnlyShowIn=X-Budgie;
+diff -up ./polkit/budgie-polkit.desktop.in.in.orig ./polkit/budgie-polkit.desktop.in.in
+--- ./polkit/budgie-polkit.desktop.in.in.orig 2016-11-10 22:48:14.807332905 -0800
++++ ./polkit/budgie-polkit.desktop.in.in 2016-11-10 22:48:33.621228620 -0800
+@@ -10,4 +10,4 @@ StartupNotify=true
+ X-GNOME-AutoRestart=true
+ X-GNOME-Autostart-Notify=true
+ X-GNOME-Autostart-Phase=Desktop
+-OnlyShowIn=Budgie
++OnlyShowIn=X-Budgie
+diff -up ./session/budgie-desktop-nm-applet.desktop.in.orig ./session/budgie-desktop-nm-applet.desktop.in
+--- ./session/budgie-desktop-nm-applet.desktop.in.orig 2016-11-10 22:50:51.334465276 -0800
++++ ./session/budgie-desktop-nm-applet.desktop.in 2016-11-10 22:51:01.136410944 -0800
+@@ -7,7 +7,7 @@ TryExec=nm-applet
+ Terminal=false
+ Type=Application
+ NoDisplay=true
+-OnlyShowIn=Budgie;
++OnlyShowIn=X-Budgie;
+ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=NetworkManager
+ X-GNOME-Bugzilla-Component=nm-applet
+diff -up ./session/budgie-desktop-screensaver.desktop.in.orig ./session/budgie-desktop-screensaver.desktop.in
+--- ./session/budgie-desktop-screensaver.desktop.in.orig 2016-11-10 22:50:32.455569922 -0800
++++ ./session/budgie-desktop-screensaver.desktop.in 2016-11-10 22:50:42.724513001 -0800
+@@ -5,7 +5,7 @@ Comment=Launch screensaver and locker pr
+ Icon=preferences-desktop-screensaver
+ Exec=gnome-screensaver
+ TryExec=gnome-screensaver
+-OnlyShowIn=Budgie;
++OnlyShowIn=X-Budgie;
+ NoDisplay=true
+ X-GNOME-Autostart-Phase=Application
+ X-GNOME-Autostart-Notify=true
+diff -up ./wm/budgie-wm.desktop.in.orig ./wm/budgie-wm.desktop.in
+--- ./wm/budgie-wm.desktop.in.orig 2016-11-10 22:51:29.999250957 -0800
++++ ./wm/budgie-wm.desktop.in 2016-11-10 22:51:38.406204358 -0800
+@@ -9,4 +9,4 @@ X-GnomeWMSettingsLibrary=metacity
+ X-GNOME-Autostart-Phase=WindowManager
+ X-GNOME-Provides=windowmanager
+ X-GNOME-Autostart-Notify=true
+-OnlyShowIn=Budgie;
++OnlyShowIn=X-Budgie;
diff --git a/budgie-desktop.spec b/budgie-desktop.spec
new file mode 100644
index 0000000..13d1de4
--- /dev/null
+++ b/budgie-desktop.spec
@@ -0,0 +1,135 @@
+
+Name: budgie-desktop
+Version: 10.2.8
+Release: 1%{?dist}
+Summary: Modern desktop with a focus on simplicity and elegance
+
+License: GPLv2
+URL: https://solus-project.com/budgie/
+Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
+Patch0: budgie-desktop-10.2.8-fix-desktop-specifications.patch
+Patch1: budgie-desktop-10.2.8-dynamic-pkgconfig-paths.patch
+
+BuildRequires: pkgconfig(gobject-2.0) >= 2.44.0
+BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
+BuildRequires: pkgconfig(gio-unix-2.0) >= 2.44.0
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0
+BuildRequires: pkgconfig(libpulse) >= 2.0
+BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0
+BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.44.0
+BuildRequires: pkgconfig(uuid)
+BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.8.0
+BuildRequires: pkgconfig(libmutter) >= 3.16.0
+BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.16.0
+BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.16.0
+BuildRequires: pkgconfig(ibus-1.0) >= 1.5.13
+BuildRequires: pkgconfig(libgnome-menu-3.0) >= 3.10.1
+BuildRequires: pkgconfig(polkit-gobject-1) >= 0.105
+BuildRequires: pkgconfig(polkit-agent-1) >= 0.105
+BuildRequires: pkgconfig(libwnck-3.0) >= 3.14.0
+BuildRequires: pkgconfig(accountsservice) >= 0.6.40
+BuildRequires: pkgconfig(upower-glib) >= 0.99.0
+BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.16.0
+BuildRequires: intltool >= 0.50.0
+BuildRequires: vala >= 0.28
+BuildRequires: gtk-doc
+BuildRequires: chrpath
+BuildRequires: sed
+BuildRequires: desktop-file-utils
+
+
+%description
+Budgie is a modern desktop environment that focuses on simplicity and elegance.
+Written from scratch with integration in mind, the Budgie desktop tightly
+integrates with the GNOME stack, employing underlying technologies to offer an
+alternative desktop experience.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package docs
+Summary: Documentation for %{name}
+BuildArch: noarch
+
+%description docs
+%{summary}.
+
+
+%prep
+%autosetup -p0
+
+%build
+%configure --disable-static
+%make_build
+
+
+%install
+%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%find_lang %{name}
+/usr/bin/desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/*.desktop
+/usr/bin/desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+/usr/bin/chrpath --delete %{buildroot}%{_bindir}/budgie-{panel,daemon,polkit-dialog,run-dialog}
+/usr/bin/chrpath --delete %{buildroot}%{_libdir}/libraven.so.0.0.0
+/usr/bin/chrpath --delete %{buildroot}%{_libdir}/%{name}/plugins/*.so
+
+
+%post
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/sbin/ldconfig
+
+%postun
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+/sbin/ldconfig
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%license LICENSE
+%doc README.md
+%{_sysconfdir}/xdg/autostart/*.desktop
+%{_bindir}/budgie-*
+%{_libdir}/%{name}/plugins/*.{plugin,so}
+%{_libdir}/girepository-1.0/Budgie-1.0.typelib
+%{_libdir}/%{name}/Gvc-1.0.typelib
+%{_libdir}/*.so.*
+%{_datadir}/applications/*.desktop
+%{_datadir}/glib-2.0/schemas/com.solus-project.*
+%{_datadir}/gnome-session/sessions/%{name}.session
+%{_datadir}/icons/*
+%{_datadir}/xsessions/%{name}.desktop
+
+%files docs
+%license LICENSE
+%doc README.md
+%{_datadir}/gtk-doc/*
+
+%files devel
+%license LICENSE
+%doc README.md
+%{_includedir}/*.h
+%{_includedir}/%{name}/*.h
+%{_libdir}/*.{so,la}
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/gir-1.0/Budgie-1.0.gir
+%{_datadir}/vala/vapi/budgie-1.0.*
+
+
+%changelog
+* Thu Nov 10 2016 Link Dupont <linkdupont@fedoraproject.org> - 10.2.8-1
+- Initial release
diff --git a/sources b/sources
new file mode 100644
index 0000000..3669076
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3647dc8103a119a4881eb567fc8c087b budgie-desktop-10.2.8.tar.xz