source: projects/specs/trunk/g/gupnp-igd/gupnp-igd-vl.spec @ 12388

Revision 12388, 3.1 KB checked in by tomop, 4 years ago (diff)

updated 8 packages

avahi-0.8-1

farstream-0.2.9-1

gssdp-1.2.2-1

gupnp-igd-0.2.5-1

gupnp-1.2.2-1

libnice-0.1.16-1

openssl-1.1.1g-1

xmltoman-0.4-22

Line 
1Name:           gupnp-igd
2Version:        0.2.5
3Release:        1%{?_dist_release}
4Summary:        Library to handle UPnP IGD port mapping       
5Group:          System Environment/Libraries
6Vendor:         Project Vine
7Distribution:   Vine Linux
8
9License:        LGPLv2+
10URL:            https://wiki.gnome.org/Projects/GUPnP
11%global         shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
12Source0:        https://download.gnome.org/sources/gupnp/%{shortver}/%{name}-%{version}.tar.xz
13# https://gitlab.gnome.org/GNOME/gupnp-igd/-/merge_requests/1
14Patch0:         switch-to-gupnp-1-2-api.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  glib2-devel
18BuildRequires:  gobject-introspection-devel
19BuildRequires:  gupnp-devel
20# for patch0
21BuildRequires:  autoconf automake libtool
22
23%description
24%{name} is a library to handle UPnP IGD port mapping.
25
26
27%package        devel
28Summary:        Development files for %{name}
29Group:          Development/Libraries
30Requires:       %{name} = %{version}-%{release}
31Requires:       pkgconfig
32
33%description    devel
34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37
38%prep
39%autosetup -p1
40
41# for patch0
42autoreconf -fiv
43
44
45%build
46%configure --disable-static --disable-python --enable-introspection=yes
47# quite rpmlint error about unused-direct-shlib-dependency
48sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
49LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags}
50
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
55find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
56
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61
62%post -p /sbin/ldconfig
63
64%postun -p /sbin/ldconfig
65
66
67%files
68%defattr(-,root,root,-)
69%license COPYING
70%doc README
71%{_libdir}/*.so.*
72%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
73
74%files devel
75%defattr(-,root,root,-)
76%{_includedir}/*
77%{_libdir}/*.so
78%{_libdir}/pkgconfig/%{name}-1.0*.pc
79%{_datadir}/gtk-doc/html/%{name}/
80%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
81
82
83%changelog
84* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.5-1
85- new upstream release.
86
87* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.3-5
88- rebuilt with rpm-4.8.1 for pkg-config
89
90* Sat Nov  7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.3-4
91- initial build for Vine Linux
92
93* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
94- Rebuild for new gupnp
95
96* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
98
99* Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
100- Update to 0.1.3.
101
102* Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
103- Update to 0.1.2.
104
105* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
106- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
107
108* Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
109- Quite rpmlint error about unused-direct-shlib-dependency.
110
111* Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
112- Initial Fedora spec.
113
Note: See TracBrowser for help on using the repository browser.