rpms/libgtkhotkey/devel libgtkhotkey.spec, NONE, 1.1 libgtkhotkey_doc_prefix.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mads Villadsen maxx at fedoraproject.org
Wed Sep 30 20:47:38 UTC 2009


Author: maxx

Update of /cvs/pkgs/rpms/libgtkhotkey/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11905

Modified Files:
	.cvsignore sources 
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			\


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libgtkhotkey/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Sep 2009 20:04:14 -0000	1.1
+++ .cvsignore	30 Sep 2009 20:47:38 -0000	1.2
@@ -0,0 +1 @@
+gtkhotkey-0.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libgtkhotkey/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Sep 2009 20:04:14 -0000	1.1
+++ sources	30 Sep 2009 20:47:38 -0000	1.2
@@ -0,0 +1 @@
+bfdc73e68e9adbe0d506d31a25862914  gtkhotkey-0.2.1.tar.gz




More information about the fedora-extras-commits mailing list