Repository :
http://git.fedorahosted.org/cgit/notion.git
On branch : master
---------------------------------------------------------------
commit 52f16c867c33db28de4fd851f5e83ac277c7448b
Author: Jeff Backus <jeff.backus(a)gmail.com>
Date: Tue Nov 26 12:26:42 2013 -0500
* Updated FSF address patch to also patch libextl/LICENSE.
* Changed lib* subpackages to lib*-devel, since they have header files. This was to
quiet a complaint from rpmlint.
* Added descriptions to lib* packages.
* Fixed a permissions issue with libmainloop/rx.mk
* Added lib*.a files.
---------------------------------------------------------------
notion-3.2013030200.p01-fsf_addr.patch | 22 +++++++++++
notion.spec | 66 +++++++++++++++++++------------
2 files changed, 62 insertions(+), 26 deletions(-)
diff --git a/notion-3.2013030200.p01-fsf_addr.patch
b/notion-3.2013030200.p01-fsf_addr.patch
index e341048..1d61d20 100644
--- a/notion-3.2013030200.p01-fsf_addr.patch
+++ b/notion-3.2013030200.p01-fsf_addr.patch
@@ -22,3 +22,25 @@ diff -rupN notion-3-2013030200/libtu/rb.h
notion-3-2013030200_patched/libtu/rb.h
*/
/* Revision 1.2. Jim Plank */
+
+diff -rupN notion-3-2013030200/libextl/LICENSE
notion-3-2013030200_patched/libextl/LICENSE
+--- notion-3-2013030200/libextl/LICENSE 2013-03-02 16:04:10.000000000 -0500
++++ notion-3-2013030200_patched/libextl/LICENSE 2013-11-26 12:23:12.165723236 -0500
+@@ -3,7 +3,7 @@
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+@@ -490,7 +490,7 @@ notice is found.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+ Also add information on how to contact you by electronic and paper mail.
+
diff --git a/notion.spec b/notion.spec
index bf0c25d..72aff3b 100644
--- a/notion.spec
+++ b/notion.spec
@@ -77,39 +77,46 @@ BuildArch: noarch
This package contains the documentation for extending and customizing
Notion.
-%package -n libextl
-Summary: TODO
+%package -n libextl-devel
+Summary: Small library for very easily extending programs with Lua
+License: LGPLv2+
BuildArch: noarch
-%description -n libextl
-TODO
-This package contains the development files necessary for extending and
-customizing Notion.
-
-%package -n libmainloop
-Summary: TODO
+%description -n libextl-devel
+Libextl supports exporting functions that operate on basic data types (int,
+bool, double, [const] char*) and references to Lua tables and functions
+(ExtlTab, ExtlFn) simply by prefixing the function definition with the
+keywords EXTL_EXPORT, EXTL_EXPORT_AS or EXTL_EXPORT_MEMBER. More complex
+data must, however, either be proxied libtu objects (or objects of some
+other object system with the appropriate macros redefined), or Lua tables.
+The binding glue is, however, generated as painlessly as for functions that
+operate on basic data types with all pointers to a type with a name that
+begins with an uppercase letter considered as such objects. Libextl also
+provides functions to manipulate Lua tables through references to these, and
+ways to call and load Lua code.
+
+%package -n libmainloop-devel
+Summary: Support library for the Notion window manager
BuildArch: noarch
-%description -n libmainloop
-TODO
-This package contains the development files necessary for extending and
+%description -n libmainloop-devel
+This package contains a support library necessary for extending and
customizing Notion.
-%package -n libtu
-Summary: TODO
+%package -n libtu-devel
+Summary: Support library for the Notion window manager
BuildArch: noarch
-%description -n libtu
-TODO
-This package contains the development files necessary for extending and
+%description -n libtu-devel
+This package contains a support library necessary for extending and
customizing Notion.
%package devel
Summary: Development files for the Notion window manager
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: libextl = %{version}-%{release}
-Requires: libmainloop = %{version}-%{release}
-Requires: libtu = %{version}-%{release}
+Requires: libextl-devel = %{version}-%{release}
+Requires: libmainloop-devel = %{version}-%{release}
+Requires: libtu-devel = %{version}-%{release}
%description devel
This package contains the development files necessary for extending and
@@ -161,15 +168,18 @@ desktop-file-validate
%{buildroot}/%{_datadir}/xsessions/%{name}.desktop
mkdir -p $RPM_BUILD_ROOT%{_includedir}/libextl
install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libextl/*.h
$RPM_BUILD_ROOT%{_includedir}/libextl/
install -Dm0755 $RPM_BUILD_DIR/%{buildsubdir}/libextl/libextl-mkexports
$RPM_BUILD_ROOT%{_includedir}/libextl/
+install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libextl/libextl.a
$RPM_BUILD_ROOT%{_libdir}/
# libmainloop subpackage
mkdir -p $RPM_BUILD_ROOT%{_includedir}/libmainloop
install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libmainloop/*.h
$RPM_BUILD_ROOT%{_includedir}/libmainloop/
-install -Dm0755 $RPM_BUILD_DIR/%{buildsubdir}/libmainloop/rx.mk
$RPM_BUILD_ROOT%{_includedir}/libmainloop/
+install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libmainloop/rx.mk
$RPM_BUILD_ROOT%{_includedir}/libmainloop/
+install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libmainloop/libmainloop.a
$RPM_BUILD_ROOT%{_libdir}/
# libtu subpackage
mkdir -p $RPM_BUILD_ROOT%{_includedir}/libtu
install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libtu/*.h
$RPM_BUILD_ROOT%{_includedir}/libtu/
+install -Dm0644 $RPM_BUILD_DIR/%{buildsubdir}/libextl/libtu.a $RPM_BUILD_ROOT%{_libdir}/
# Dev subpackage
for i in de ioncore mod_dock mod_menu mod_query mod_sm mod_sp mod_statusbar mod_tiling
mod_xinerama mod_xkbevents mod_xrandr utils/ion-statusd; do
@@ -212,8 +222,9 @@ make install DOCDIR=$RPM_BUILD_DIR/%{buildsubdir}/_docs_staging
TOPDIR=..
%{_bindir}/*
%{_libdir}/%{name}
%{_mandir}/man1/*
+%lang(fi) %{_datadir}/%{name}/welcome.fi.txt
+%lang(cs) %{_datadir}/%{name}/welcome.cs.txt
%{_datadir}/%{name}
-
%{_datadir}/xsessions/%{name}.desktop
%files contrib
@@ -223,17 +234,20 @@ make install DOCDIR=$RPM_BUILD_DIR/%{buildsubdir}/_docs_staging
TOPDIR=..
%files doc
%doc _docs_staging/*
-%files -n libextl
-%doc README LICENSE
+%files -n libextl-devel
+%doc libextl/README libextl/LICENSE
%{_includedir}/libextl
+%{_libdir}/libextl.a
-%files -n libmainloop
+%files -n libmainloop-devel
%doc README LICENSE
%{_includedir}/libmainloop
+%{_libdir}/libmainloop.a
-%files -n libtu
+%files -n libtu-devel
%doc README LICENSE
%{_includedir}/libtu
+%{_libdir}/libtu.a
%files devel
%doc README LICENSE