69 lines
1.5 KiB
RPMSpec
69 lines
1.5 KiB
RPMSpec
Name: unique
|
|
Version: 1.1.6
|
|
Release: 22
|
|
Summary: library for writing single instance applications
|
|
License: LGPLv2+
|
|
URL: http://www.gnome.org/~ebassi/source/
|
|
Source0: http://download.gnome.org/sources/libunique/1.1/libunique-%{version}.tar.bz2
|
|
|
|
Patch0: fix-unused-but-set-variable.patch
|
|
Patch1: fix-disable-deprecated.patch
|
|
Patch2: libunique-1.1.6-format-security.patch
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
BuildRequires: dbus-glib-devel glib2-devel gtk2-devel gnome-doc-utils gtk-doc
|
|
Requires: atk gdk-pixbuf2 gtk2 pango
|
|
|
|
%description
|
|
This package contains a library for writing single instance applications.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: dbus-glib-devel gtk2-devel
|
|
|
|
%description devel
|
|
Headers and libraries for Unique.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n libunique-%{?version} -p1
|
|
|
|
gtkdocize
|
|
autoreconf -fiv
|
|
|
|
%build
|
|
%configure --enable-gtk-doc --disable-static --enable-introspection=no --enable-maintainer-flags=no
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%pre
|
|
|
|
%preun
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog README
|
|
%license COPYING
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/unique-1.0/
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/lib*.so
|
|
|
|
%files help
|
|
%doc %{_datadir}/gtk-doc
|
|
|
|
%changelog
|
|
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-22
|
|
- Package init
|