67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
|
Name: libtimezonemap
|
||
|
Version: 0.4.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Time zone map widget for Gtk+
|
||
|
|
||
|
Group: System Environment/Libraries
|
||
|
License: GPLv3
|
||
|
URL: https://launchpad.net/timezonemap
|
||
|
Source0: http://archive.ubuntu.com/ubuntu/pool/main/libt/libtimezonemap/%{name}_%{version}.tar.gz
|
||
|
Patch0: libtimezonemap-fsf-address.patch
|
||
|
|
||
|
BuildRequires: glib2-devel >= 2.26
|
||
|
BuildRequires: gtk3-devel >= 3.1.4
|
||
|
BuildRequires: json-glib-devel
|
||
|
BuildRequires: gobject-introspection-devel
|
||
|
BuildRequires: gnome-common
|
||
|
|
||
|
%description
|
||
|
libtimezonemap is a time zone map widget for Gtk+. The widget displays a world
|
||
|
map with a highlighted region representing the selected time zone, and the
|
||
|
location can be changed by clicking on the map.
|
||
|
|
||
|
This library is a fork of the of the code from gnome-control-center's datetime
|
||
|
panel, which was itself a fork of Ubiquity's timezone map.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
libtimezonemap is a time zone map widget for Gtk+. This package contains header
|
||
|
files used for building applications that use %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p0
|
||
|
|
||
|
%build
|
||
|
./autogen.sh
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=%{buildroot}
|
||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%doc COPYING README TODO
|
||
|
%{_libdir}/libtimezonemap.so.*
|
||
|
%{_libdir}/girepository-1.0/TimezoneMap-1.0.typelib
|
||
|
%{_datadir}/%{name}
|
||
|
|
||
|
%files devel
|
||
|
%{_libdir}/libtimezonemap.so
|
||
|
%{_libdir}/pkgconfig/timezonemap.pc
|
||
|
%{_includedir}/timezonemap
|
||
|
%{_datadir}/gir-1.0/TimezoneMap-1.0.gir
|
||
|
|
||
|
%changelog
|
||
|
* Thu Nov 14 2013 David Shea <dshea@redhat.com> - 0.4.1-1
|
||
|
- Initial version
|