Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f48ce21b9c3405f31afda4e861ef5a57 > files > 2

etrophy-0.5.1-9.mga9.src.rpm

%define option  0
%define svn     0
%define rel     9
%if %option
%define orel 0.%option.%{rel}
%define namevers %name-%version-%option
%else
%define orel %{rel}
%define namevers %name-%version
%endif
%if %svn
%define release %mkrel -c %svn %orel
%else
%define release %mkrel %orel
%endif

%define major      0
%define libname    %mklibname %{name} %major
%define libnamedev %mklibname %{name} -d

Summary:        Library that manages scores, trophies and unlockables
Name:           etrophy
Version:        0.5.1
Release:        %{release}
License:        LGPLv2+
Group:          Graphical desktop/Enlightenment
# creating archive is quite simple:
# svn export http://svn.enlightenment.org/svn/e/branches/%%name-1.1 %%name
# tar cJf %%name-%%svn.tar.xz %%name
%if %svn
Source:         %name-%svn.tar.xz
%else
Source:         http://download.enlightenment.org/releases/%namevers.tar.bz2
%endif
URL:            http://trac.enlightenment.org/e/wiki/Eina

BuildRequires:  efl
BuildRequires:  pkgconfig(efl)
BuildRequires:  pkgconfig
BuildRequires:  doxygen
BuildRequires:  python3

%description
Etrophy is a library that manages scores, trophies and unlockables. 
It will store them and provide views to display them. It could be 
used by games based on EFL and any other application where such a 
thing could make sense.

%package -n %libname
Summary:        Libraries for the %{name} package
Group:          System/Libraries

%description -n %libname
Libraries for %{name}.

%package -n %libnamedev
Summary:        Headers and development libraries from %{name}
Group:          Development/Other
Requires:       %libname = %{version}-%{release}
Provides:       lib%{name}-devel = %{version}-%{release}
Provides:       %name-devel = %{version}-%{release}

%description -n %libnamedev
%{name} development headers and libraries.

%prep
%if %svn
%setup -qn %name
%else
%setup -qn %namevers
%endif

%build
%if %svn
LC_ALL=C NOCONFIGURE=1 ./autogen.sh
%endif
%configure --disable-static
%make_build

%install
%make_install

find %buildroot -name '*.la' -delete

%files
%doc AUTHORS README
%dir %{_datadir}/%name
%{_datadir}/%name/%name.edj

%files -n %libname
%{_libdir}/*.so.%{major}{,.*}

%files -n %libnamedev
%{_libdir}/pkgconfig/*
%{_libdir}/*.so
%{_includedir}/*


%changelog
* Sun Apr 03 2022 umeabot <umeabot> 0.5.1-9.mga9
+ Revision: 1842324
- Mageia 9 Mass Rebuild

* Tue Feb 02 2021 daviddavid <daviddavid> 0.5.1-8.mga8
+ Revision: 1674420
- build dependency on python2 is not needed, let's change it for python3

* Thu Feb 13 2020 umeabot <umeabot> 0.5.1-7.mga8
+ Revision: 1512099
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x
- replace deprecated %%makeinstall_std

* Sun Sep 23 2018 umeabot <umeabot> 0.5.1-6.mga7
+ Revision: 1297631
- Mageia 7 Mass Rebuild

* Tue Nov 29 2016 eatdirt <eatdirt> 0.5.1-5.mga6
+ Revision: 1070972
- Rebuild for new efl

* Sun Mar 06 2016 blino <blino> 0.5.1-4.mga6
+ Revision: 986291
- use rel macro to be mass-rebuild-friendly
+ umeabot <umeabot>
- Mageia 6 Mass Rebuild

* Fri Jan 29 2016 umeabot <umeabot> 0.5.1-2.mga6
+ Revision: 928813
- Mageia 6 Mass Rebuild
- Second Mageia 5 Mass Rebuild

* Mon Oct 06 2014 umeabot <umeabot> 0.5.1-2.mga5
+ Revision: 737039
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.5.1-1.mga4
+ Revision: 502397
- Mageia 4 Mass Rebuild
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 23 2012 trem <trem> 0.5.1-1.mga3
+ Revision: 334317
- imported package etrophy