Initial import (#1361883)
This commit is contained in:
parent
0ed71c3ebd
commit
5013f1cf12
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libmypaint-1.3.0.tar.xz
|
94
libmypaint.spec
Normal file
94
libmypaint.spec
Normal file
@ -0,0 +1,94 @@
|
||||
Name: libmypaint
|
||||
Version: 1.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Library for making brush strokes
|
||||
|
||||
# Compute some version related macros.
|
||||
# Ugly, need to get quoting percent signs straight.
|
||||
%global major %(ver=%{version}; echo ${ver%%%%.*})
|
||||
%global minor %(ver=%{version}; ver=${ver#%major.}; echo ${ver%%%%.*})
|
||||
%global micro %(ver=%{version}; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
|
||||
|
||||
License: ISC
|
||||
URL: https://github.com/mypaint/libmypaint
|
||||
Source0: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz
|
||||
|
||||
BuildRequires: babl-devel
|
||||
BuildRequires: breathe
|
||||
BuildRequires: gcc
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gegl03-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: json-c-devel
|
||||
%if 0%{?fedora} >= 24
|
||||
BuildRequires: python2-sphinx
|
||||
%else
|
||||
BuildRequires: python-sphinx
|
||||
%endif
|
||||
|
||||
Conflicts: mypaint < 1.3.0
|
||||
|
||||
%description
|
||||
This is a self-contained library containing the MyPaint brush engine.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libmypaint
|
||||
Requires: %{name}%{?isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
This package contains files needed for development with libmypaint.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --enable-docs --enable-introspection=yes --enable-gegl
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_libdir}/*.so.*
|
||||
%dir %{_libdir}/girepository-1.0
|
||||
%{_libdir}/girepository-1.0/MyPaint-%{major}.%{minor}.typelib
|
||||
%{_libdir}/girepository-1.0/MyPaintGegl-%{major}.%{minor}.typelib
|
||||
|
||||
%files devel
|
||||
%doc doc/build/*
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/%{name}-gegl
|
||||
%{_libdir}/pkgconfig/libmypaint.pc
|
||||
%{_libdir}/pkgconfig/libmypaint-gegl.pc
|
||||
%dir %{_datadir}/gir-1.0
|
||||
%{_datadir}/gir-1.0/MyPaint-%{major}.%{minor}.gir
|
||||
%{_datadir}/gir-1.0/MyPaintGegl-%{major}.%{minor}.gir
|
||||
|
||||
%changelog
|
||||
* Fri Jan 27 2017 Nils Philippsen <nils@tiptoe.de> - 1.3.0-1
|
||||
- version 1.3.0 final
|
||||
- conflict with mypaint < 1.3.0
|
||||
- mention pkgconfig, introspection files explicitly
|
||||
|
||||
* Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.2.beta.1
|
||||
- fix locale names 'ar_AR' -> 'ar'
|
||||
- fix build dependencies
|
||||
- fix summary and description texts
|
||||
- use current build and install macros
|
||||
- remove all .la files beneath %%_libdir
|
||||
- ship development documentation
|
||||
|
||||
* Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.1.beta.1
|
||||
- initial release of 1.3.0-beta.1
|
Loading…
Reference in New Issue
Block a user