rpms/libgtkhotkey/F-12 libgtkhotkey.spec, NONE, 1.1 libgtkhotkey_doc_prefix.patch, NONE, 1.1
Mads Villadsen
maxx at fedoraproject.org
Wed Sep 30 20:56:44 UTC 2009
- Previous message (by thread): rpms/TurboGears2/F-11 TurboGears2.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/TurboGears2/EL-5 TurboGears2.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: maxx
Update of /cvs/pkgs/rpms/libgtkhotkey/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13445
Added Files:
libgtkhotkey.spec libgtkhotkey_doc_prefix.patch
Log Message:
Initial import of libgtkhotkey
--- NEW FILE libgtkhotkey.spec ---
Name: libgtkhotkey
Version: 0.2.1
Release: 3%{?dist}
Summary: Platform independent hotkey handling for Gtk+ applications
Group: System Environment/Libraries
License: LGPLv3
URL: https://launchpad.net/gtkhotkey
Source0: http://launchpad.net/gtkhotkey/0.2/%{version}/+download/gtkhotkey-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Use datadir instead of prefix to install documentation
# patch mailed to author on 2009-09-22
Patch0: libgtkhotkey_doc_prefix.patch
BuildRequires: gtk2-devel, intltool, pkgconfig
%description
Platform independent hotkey handling for Gtk+ applications
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n gtkhotkey-%{version}
%patch0 -p1
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# Remove the docs installed by the package itself. Docs will be handled by the rpm %doc directive
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/gtkhotkey
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/gtkhotkey
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Sun Sep 27 2009 Mads Villadsen <maxx at krakoa.dk> - 0.2.1-3
- Let rpm handle doc installation to get properly versioned doc dir
* Sat Sep 26 2009 Mads Villadsen <maxx at krakoa.dk> - 0.2.1-2
- Add intltool and pkgconfig to BuildRequires
* Tue Sep 22 2009 Mads Villadsen <maxx at krakoa.dk> - 0.2.1-1
- Initial packaging
libgtkhotkey_doc_prefix.patch:
Makefile.am | 2 +-
Makefile.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE libgtkhotkey_doc_prefix.patch ---
diff -u -r gtkhotkey-0.2.1/Makefile.am gtkhotkey-0.2.1.new/Makefile.am
--- gtkhotkey-0.2.1/Makefile.am 2009-09-03 22:52:49.000000000 +0200
+++ gtkhotkey-0.2.1.new/Makefile.am 2009-09-22 20:15:01.883750783 +0200
@@ -11,7 +11,7 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtkhotkey-1.0.pc
-gtkhotkeydocdir = ${prefix}/doc/gtkhotkey
+gtkhotkeydocdir = ${datadir}/doc/gtkhotkey
gtkhotkeydoc_DATA = \
README \
COPYING \
diff -u -r gtkhotkey-0.2.1/Makefile.in gtkhotkey-0.2.1.new/Makefile.in
--- gtkhotkey-0.2.1/Makefile.in 2009-09-03 22:53:33.000000000 +0200
+++ gtkhotkey-0.2.1.new/Makefile.in 2009-09-22 20:15:44.598750932 +0200
@@ -246,7 +246,7 @@
SUBDIRS = src po test doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtkhotkey-1.0.pc
-gtkhotkeydocdir = ${prefix}/doc/gtkhotkey
+gtkhotkeydocdir = ${datadir}/doc/gtkhotkey
gtkhotkeydoc_DATA = \
README \
COPYING \
- Previous message (by thread): rpms/TurboGears2/F-11 TurboGears2.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/TurboGears2/EL-5 TurboGears2.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list