rpms/libdesktop-agnostic/devel libdesktop-agnostic.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Leigh Scott
leigh123linux at fedoraproject.org
Sat Apr 24 05:10:56 UTC 2010
Author: leigh123linux
Update of /cvs/pkgs/rpms/libdesktop-agnostic/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12226
Modified Files:
.cvsignore sources
Added Files:
libdesktop-agnostic.spec
Log Message:
inital release
--- NEW FILE libdesktop-agnostic.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
Name: libdesktop-agnostic
Version: 0.3.90
Release: 6%{?dist}
Summary: Provides an extensible configuration API
Group: System Environment/Libraries
License: GPLv2+ and LGPLv2+
URL: https://launchpad.net/libdesktop-agnostic
Source0: http://launchpad.net/libdesktop-agnostic/0.4/%{version}/+download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: waf
BuildRequires: gir-repository-devel
BuildRequires: pygtk2-devel
BuildRequires: python-devel
BuildRequires: gobject-introspection-devel
BuildRequires: GConf2-devel
BuildRequires: vala
BuildRequires: gtk+-devel
BuildRequires: gnome-desktop-devel
BuildRequires: glade3-libgladeui-devel
#Requires:
%description
This library provides an extensible configuration API.
A unified virtual file system API, and a desktop item editor.
%package bin
Summary: Helper applications for %{name}
Group: Applications/System
Requires: %{name} = %{version}-%{release}
%description bin
This package contains helper applications for libdesktop-agnostic, such as a
schema converter.
%package -n python-desktop-agnostic
Summary: Python bindings for %{name}
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
%description -n python-desktop-agnostic
This package contains the Python bindings for the core library.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
PYTHONDIR=%{python_sitearch} ./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
--enable-debug \
--config-backends=gconf \
--vfs-backends=gio \
--desktop-entry-backends=glib \
--with-glade
./waf -v build
%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT ./waf install
# install man files
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
install -D -p -m 0644 debian/lda*1 $RPM_BUILD_ROOT%{_mandir}/man1
# fix permissions so debuginfo is stripped from .so files
find $RPM_BUILD_ROOT%{_libdir} -name *.so -exec chmod 755 {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL-2 debian/changelog
%config(noreplace) %{_sysconfdir}/xdg/libdesktop-agnostic/desktop-agnostic.ini
%{_libdir}/*.so.*
%dir %{_libdir}/desktop-agnostic
%dir %{_libdir}/desktop-agnostic/modules
%{_libdir}/desktop-agnostic/modules/libda-*.so
%{_libdir}/girepository-1.0/DesktopAgnostic*-1.0.typelib
%files bin
%defattr(-,root,root,-)
%{_bindir}/lda-desktop-entry-editor
%{_bindir}/lda-schema-to-gconf
%{_mandir}/man1/lda*1.gz
%files -n python-desktop-agnostic
%defattr(-,root,root,-)
%dir %{python_sitearch}/desktopagnostic
%dir %{python_sitearch}/desktopagnostic/__init__.p*
%{python_sitearch}/desktopagnostic/*.so
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_datadir}/pygtk/2.0/defs/desktopagnostic*defs
%{_datadir}/vala/vapi/desktop-agnostic*
%{_datadir}/glade3/catalogs/desktop-agnostic.xml
%{_datadir}/gir-1.0/DesktopAgnostic*-1.0.gir
%{_libdir}/pkgconfig/desktop-agnostic.pc
%{_libdir}/*.so
%changelog
* Mon Apr 19 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-6
- merge the remaining sub-package libs into the main package
* Thu Apr 15 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-5
- merge gir sub-package into main package
- fix license tag
* Thu Apr 15 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-4
- make recommended review changes
* Thu Apr 15 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-3
- add requires pkgconfig to devel package
- drop unwanted sub-packages
* Mon Apr 12 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-2
- move vala package and python defs to devel
* Mon Apr 12 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.90-1
- update to 0.3.90
* Tue Mar 30 2010 leigh scott <leigh123linux at googlemail.com> - 0.3.9-bzr383.01
- inital build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libdesktop-agnostic/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 24 Apr 2010 05:01:59 -0000 1.1
+++ .cvsignore 24 Apr 2010 05:10:56 -0000 1.2
@@ -0,0 +1 @@
+libdesktop-agnostic-0.3.90.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libdesktop-agnostic/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 24 Apr 2010 05:02:00 -0000 1.1
+++ sources 24 Apr 2010 05:10:56 -0000 1.2
@@ -0,0 +1 @@
+67141440b7fa77e2d704e7368c067212 libdesktop-agnostic-0.3.90.tar.gz
More information about the scm-commits
mailing list