packages: lxappearance-obconf/lxappearance-obconf.spec (NEW) - new
glen
glen at pld-linux.org
Mon Aug 15 10:06:56 CEST 2011
Author: glen Date: Mon Aug 15 08:06:56 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/lxappearance-obconf:
lxappearance-obconf.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/lxappearance-obconf/lxappearance-obconf.spec
diff -u /dev/null packages/lxappearance-obconf/lxappearance-obconf.spec:1.1
--- /dev/null Mon Aug 15 10:06:56 2011
+++ packages/lxappearance-obconf/lxappearance-obconf.spec Mon Aug 15 10:06:51 2011
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with gtk3 # build GTK+3 disables GTK+2
+%bcond_without gtk2 # build with GTK+2
+
+%if %{with gtk3}
+%undefine with_gtk2
+%endif
+
+Summary: LXAppearance ObConf plugin
+Name: lxappearance-obconf
+Version: 0.0.1
+Release: 1
+License: GPL v2
+Group: X11/Applications
+Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
+# Source0-md5: 7c6381bc1ff60e23ef7f31d5e70a1803
+URL: http://wiki.lxde.org/en/LXAppearance
+BuildRequires: gettext-devel
+%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
+%{?with_gtk3:BuildRequires: gtk+3-devel}
+BuildRequires: intltool
+BuildRequires: lxappearance-devel
+BuildRequires: openbox-devel
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LXAppearance integrated ObConf to provide a better user experience.
+
+ObConf is a program used to configure OpenBox window manager.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-static \
+ %{?with_gtk3:--enable-gtk3}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lxappearance/plugins/obconf.la
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG README
+%attr(755,root,root) %{_libdir}/lxappearance/plugins/obconf.so
+%dir %{_datadir}/lxappearance/obconf
+%{_datadir}/lxappearance/obconf/obconf.glade
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/08/15 08:06:51 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list