Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
minidlna
minidlna.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minidlna.spec of Package minidlna
%define realname minidlna %define srcext tar.gz # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: %{realname} Version: 1.3.3 Release: wiz%{?extraver:0.}1%{?dist} License: GPL-2.0 and BSD-3-Clause Group: Productivity/Networking/File-Sharing URL: http://sourceforge.net/projects/minidlna/ Summary: UPnP-A/V and DLNA service # Build-time parameters BuildRequires: autoconf automake libtool gettext BuildRequires: libavcodec-devel libavformat-devel libavutil-devel BuildRequires: libjpeg-devel sqlite%{?suse_version:3}-devel libexif-devel libid3tag-devel BuildRequires: libogg-devel libvorbis-devel flac-devel BuildRequires: %{?suse_version:lib}avahi-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-root Source0: http://sourceforge.net/projects/minidlna/files/%{realname}/%{version}/%{realname}-%{version}%{?extraver}.%{srcext} Source12: minidlna.service Source21: minidlna.SuSEfirewall2 %description The MiniDLNA daemon is an UPnP-A/V and DLNA service which serves multimedia content to compatible clients on the network. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{version}%{?extraver} if [ ! -x configure ]; then if [ -x autogen.sh ]; then ./autogen.sh else autoreconf --force --install fi fi %{__sed} -ri 's|/var/run/minidlna/minidlna.pid|/var/run/minidlna.pid|' upnpglobalvars.c # Fix `multiple definition of `sqlite3Prng'` %{__sed} -ri 's|^(struct sqlite3PrngType.*)$|static \1|' tivo_utils.h %build %configure \ --enable-tivo \ --disable-static \ --enable-lto \ CFLAGS="%{optflags} %{?gcc_lto}" \ CXXFLAGS="%{optflags} %{?gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro %{?gcc_lto}" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %{__install} -D -m644 minidlna.conf %{buildroot}%{_sysconfdir}/minidlna.conf %{__install} -D -m644 minidlna.conf.5 %{buildroot}%{_mandir}/man5/minidlna.conf.5 %{__install} -D -m644 minidlnad.8 %{buildroot}%{_mandir}/man8/minidlnad.8 %{__install} -D -m644 %{S:12} %{buildroot}%{_unitdir}/minidlna.service %if 0%{?suse_version} %{__install} -D -m644 %{S:21} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/minidlna %endif %find_lang %{name} %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING LICENCE.miniupnpd NEWS README %{_sbindir}/minidlnad %config(noreplace) %{_sysconfdir}/minidlna.conf %if 0%{?suse_version} %dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services %dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/minidlna %endif %{_unitdir}/minidlna.service %doc %{_mandir}/man5/minidlna.conf.5* %doc %{_mandir}/man8/minidlnad.8* %if "%{expand:%_vendor}" == "suse" %pre %{service_add_pre %{name}.service} %post %{service_add_post %{name}.service} %preun %{service_del_preun %{name}.service} %postun %{service_del_postun %{name}.service} %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor