source: projects/specs/trunk/lib/libg/libgudev/libgudev-vl.spec @ 12445

Revision 12445, 4.0 KB checked in by tomop, 4 years ago (diff)

updated 7 packages

ifuse-1.1.4-1

libgudev-233-1

libimobiledevice-1.3.0-1

libplist-2.2.0-1

libusbmuxd-2.0.2-1

upower-0.99.11-1

usbmuxd-1.1.1-1

Line 
1%define build_compat32  %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        UDev GObject bindings
4Summary(ja):    UDev の GObject バインディング
5Name:           libgudev
6Version:        233
7Release:        1%{?_dist_release}
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        LGPLv2.1
12URL:            https://gitlab.gnome.org/GNOME/libgudev
13Source0:        https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16
17BuildRequires:  eudev-libudev-devel
18BuildRequires:  glib2-devel >= 2.22.0
19BuildRequires:  gobject-introspection-devel
20BuildRequires:  gtk-doc
21
22Obsoletes:  eudev-libgudev1 < 3.1.5
23Provides:   eudev-libgudev1 = 3.1.5
24Obsoletes:  libgudev1 < 230
25Provides:   libgudev1 = %{version}-%{release}
26
27%description
28This package contains the libraries for adding libudev support to applications
29that use glib.
30
31%description -l ja
32このパッケージには Glib を使用するアプリケーションに libudev サポートを
33追加するためのライブラリが含まれております。
34
35
36%package        devel
37Summary:        Development files for %{name}
38Summary(ja):    %{name} の開発環境
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Obsoletes:      eudev-libgudev1-devel < 3.1.5
42Provides:       eudev-libgudev1-devel = 3.1.5
43Obsoletes:      libgudev1-devel < 230
44Provides:       libgudev1-devel = %{version}-%{release}
45
46%description    devel
47The %{name}-devel package contains libraries and header files
48for developing applications that use %{name}.
49
50
51# compat32
52%package -n compat32-%{name}
53Summary:        UDev GObject bindings
54Summary(ja):    UDev の GObject バインディング
55Group:          System Environment/Libraries
56Requires:       %{name} = %{version}-%{release}
57Obsoletes:      compat32-eudev-libgudev1 < 3.1.5
58Provides:       compat32-eudev-libgudev1 = 3.1.5
59Obsoletes:      compat32-libgudev1 < 230
60Provides:       compat32-libgudev1 = %{version}-%{release}
61
62%description -n  compat32-%{name}
63This package contains the libraries for adding libudev support to applications
64that use glib.
65
66%description -n  compat32-%{name} -l ja
67このパッケージには Glib を使用するアプリケーションに libudev サポートを
68追加するためのライブラリが含まれております。
69
70
71%package -n compat32-%{name}-devel
72Summary:        Development files for %{name}
73Summary(ja):    %{name} の開発環境
74Group:          Development/Libraries
75Requires:       compat32-%{name} = %{version}-%{release}
76Obsoletes:      compat32-eudev-libgudev1-devel < 3.1.5
77Provides:       compat32-eudev-libgudev1-devel = 3.1.5
78Obsoletes:      compat32-libgudev1-devel < 230
79Provides:       compat32-libgudev1-devel = %{version}-%{release}
80
81%description -n compat32-%{name}-devel
82The %{name}-devel package contains libraries and header files
83for developing applications that use %{name}.
84
85
86%prep
87%setup -q
88
89
90%build
91%configure \
92        --disable-static \
93        --disable-umockdev
94
95make %{?_smp_mflags}
96
97
98%install
99make install DESTDIR=$RPM_BUILD_ROOT
100find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
101
102
103%post -p /sbin/ldconfig
104%postun -p /sbin/ldconfig
105
106%if %{build_compat32}
107%post -n compat32-%{name} -p /sbin/ldconfig
108%postun -n compat32-%{name} -p /sbin/ldconfig
109%endif
110
111
112%files
113%defattr(-,root,root,-)
114%license COPYING
115%doc README NEWS
116%{_libdir}/libgudev-1.0.so.*
117%{_libdir}/girepository-1.0/GUdev-1.0.typelib
118
119%files devel
120%defattr(-,root,root,-)
121%{_libdir}/libgudev-1.0.so
122%{_includedir}/gudev-1.0/gudev/*.h
123%{_datadir}/gir-1.0/GUdev-1.0.gir
124%{_libdir}/pkgconfig/gudev-1.0*
125
126%if %{build_compat32}
127%files -n compat32-%{name}
128%defattr(-,root,root,-)
129%{_libdir}/libgudev-1.0.so.*
130
131%files -n compat32-%{name}-devel
132%defattr(-,root,root,-)
133%{_libdir}/libgudev-1.0.so
134%endif
135
136
137%changelog
138* Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 233-1
139- new upstream release.
140
141* Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 232-1
142- new upstream release.
143
144* Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 230-1
145- initial build
146
Note: See TracBrowser for help on using the repository browser.