]> git.pld-linux.org Git - packages/libgnome-games-support.git/blob - libgnome-games-support.spec
- updated to 1.4.3
[packages/libgnome-games-support.git] / libgnome-games-support.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4
5 Summary:        Support library for GNOME games
6 Summary(pl.UTF-8):      Biblioteka wspierająca dla gier GNOME
7 Name:           libgnome-games-support
8 Version:        1.4.3
9 Release:        1
10 License:        LGPL v3+
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgnome-games-support/1.4/%{name}-%{version}.tar.xz
13 # Source0-md5:  a18acdf1a5398507a12fc6f408b5c541
14 URL:            https://github.com/GNOME/libgnome-games-support
15 BuildRequires:  autoconf >= 2.69
16 BuildRequires:  automake >= 1:1.11
17 BuildRequires:  gettext-tools >= 0.19.8
18 BuildRequires:  glib2-devel >= 1:2.40.0
19 BuildRequires:  gtk+3-devel >= 3.20.0
20 BuildRequires:  libgee-devel >= 0.8
21 BuildRequires:  libtool >= 2:2.2
22 BuildRequires:  pkgconfig
23 BuildRequires:  vala >= 2:0.40.0
24 Requires:       glib2 >= 1:2.40.0
25 Requires:       gtk+3 >= 3.20.0
26 Requires:       libgee >= 0.8
27 Provides:       libgames-support = %{version}-%{release}
28 Obsoletes:      libgames-support < 1.2.0-1
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 libgnome-games-support is a small library intended for internal use by
33 GNOME Games, but it may be used by others. The API will only break
34 with the major version number. The ABI is unstable.
35
36 %description -l pl.UTF-8
37 libgnome-games-support to mała biblioteka przeznaczona do użytku
38 wewnętrznego gier ze środowiska GNOME, ale może być wykorzystywana
39 także przez innych. API może się zmieniać tylko wraz z głównym numerem
40 wersji; ABI nie jest stabilne.
41
42 %package devel
43 Summary:        Header files for libgnome-games-support library
44 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgnome-games-support
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       glib2-devel >= 1:2.40.0
48 Requires:       gtk+3-devel >= 3.20.0
49 Requires:       libgee-devel >= 0.8
50 Provides:       libgames-support-devel = %{version}-%{release}
51 Obsoletes:      libgames-support-devel < 1.2.0-1
52
53 %description devel
54 Header files for libgnome-games-support library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki libgnome-games-support.
58
59 %package static
60 Summary:        Static libgnome-games-support library
61 Summary(pl.UTF-8):      Statyczna biblioteka libgnome-games-support
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64 Provides:       libgames-support-static = %{version}-%{release}
65 Obsoletes:      libgames-support-static < 1.2.0-1
66
67 %description static
68 Static libgnome-games-support library.
69
70 %description static -l pl.UTF-8
71 Statyczna biblioteka libgnome-games-support.
72
73 %package -n vala-libgnome-games-support
74 Summary:        Vala API for libgnome-games-support library
75 Summary(pl.UTF-8):      API języka Vala do bibliotek libgnome-games-support
76 Group:          Development/Libraries
77 Requires:       %{name}-devel = %{version}-%{release}
78 Provides:       vala-libgames-support = %{version}-%{release}
79 Obsoletes:      vala-libgames-support < 1.2.0-1
80 %if "%{_rpmversion}" >= "5"
81 BuildArch:      noarch
82 %endif
83
84 %description -n vala-libgnome-games-support
85 Vala API for libgnome-games-support library.
86
87 %description -n vala-libgnome-games-support -l pl.UTF-8
88 API języka Vala do bibliotek libgnome-games-support.
89
90 %prep
91 %setup -q
92
93 %build
94 %{__libtoolize}
95 %{__aclocal} -I m4
96 %{__autoconf}
97 %{__automake}
98 %configure \
99         --disable-silent-rules \
100         %{?with_static_libs:--enable-static}
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
110
111 %find_lang %{name}
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc NEWS README
122 %attr(755,root,root) %{_libdir}/libgnome-games-support-1.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libgnome-games-support-1.so.3
124
125 %files devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/libgnome-games-support-1.so
128 %{_includedir}/gnome-games-support-1
129 %{_pkgconfigdir}/libgnome-games-support-1.pc
130
131 %if %{with static_libs}
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libgnome-games-support-1.a
135 %endif
136
137 %files -n vala-libgnome-games-support
138 %defattr(644,root,root,755)
139 %{_datadir}/vala/vapi/libgnome-games-support-1.vapi
This page took 0.068063 seconds and 4 git commands to generate.