Skip to content

Commit

Permalink
Merge pull request #3 from sailfishos/jb55991
Browse files Browse the repository at this point in the history
Add license to packaging
  • Loading branch information
mlehtima committed Mar 20, 2024
2 parents 00ae67e + a989cbb commit 4f32a42
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions rpm/sdl2_gfx.spec
Expand Up @@ -5,7 +5,6 @@ Release: 1
Source: %{name}-%{version}.tar.gz
URL: http://sourceforge.net/projects/sdl2gfx/
License: zlib
Group: Applications/Multimedia
BuildRequires: pkgconfig(sdl2)

%description
Expand All @@ -14,15 +13,14 @@ polygon, etc.) for SDL2.

%package devel
Summary: Simple DirectMedia Layer - Graphics Primitives (Development)
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
Library containing 20+ graphics primitives (line, box, circle,
polygon, etc.) for SDL2.

%prep
%setup -q -n %{name}-%{version}/%{name}
%autosetup -n %{name}-%{version}/%{name}

%build
# Fix a build error in OBS (see http://stackoverflow.com/q/10085554)
Expand All @@ -38,14 +36,13 @@ autoreconf -fvi
%install
%make_install

%post
/sbin/ldconfig
%post -p /sbin/ldconfig

%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(644,root,root)
%license COPYING
%doc AUTHORS INSTALL NEWS README
%{_libdir}/lib*.so.*

Expand Down

0 comments on commit 4f32a42

Please sign in to comment.