74 lines
1.6 KiB
RPMSpec
74 lines
1.6 KiB
RPMSpec
|
|
name: libsexy
|
||
|
|
Version: 0.1.11
|
||
|
|
Release: 33
|
||
|
|
Summary: a collection of GTK+ widgets
|
||
|
|
License: LGPLv2+
|
||
|
|
URL: https://www.openhub.net/p/libsexy
|
||
|
|
Source0: http://releases.chipx86.com/%{name}/%{name}/%{name}-%{version}.tar.bz2
|
||
|
|
|
||
|
|
# these patches come from fedora
|
||
|
|
Patch0: libsexy-0.1.11-url-label.patch
|
||
|
|
Patch1: libsexy-icon-name.patch
|
||
|
|
Patch2: gtk2-single-include.patch
|
||
|
|
|
||
|
|
BuildRequires: gcc gdb libxml2-devel pango-devel gtk2-devel
|
||
|
|
Requires: enchant
|
||
|
|
|
||
|
|
%description
|
||
|
|
Libsexy is a collection of GTK+ widgets that extend the functionality of such
|
||
|
|
standard widgets as GtkEntry and GtkLabel by subclassing them and working
|
||
|
|
around the limitations of the widgets.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Development files for %{name}
|
||
|
|
Requires: %{name} = %{version}-%{release} pkgconfig gtk2-devel libxml2-devel
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
This package contains libraries and header files for
|
||
|
|
developing applications that use %{name}.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%configure
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%delete_la
|
||
|
|
|
||
|
|
%check
|
||
|
|
make check
|
||
|
|
|
||
|
|
%ldconfig_scriptlets
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc AUTHORS COPYING
|
||
|
|
%{_libdir}/%{name}.so.*
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%{_includedir}/%{name}
|
||
|
|
%{_libdir}/%{name}.so
|
||
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
||
|
|
%{_libdir}/%{name}.a
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc NEWS
|
||
|
|
%{_datadir}/gtk-doc/html/%{name}
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.11-33
|
||
|
|
- Type:enhancement
|
||
|
|
- ID:NA
|
||
|
|
- SUG:NA
|
||
|
|
- DESC:add requires
|
||
|
|
|
||
|
|
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.11-32
|
||
|
|
- Package init
|